__PRETTY_FUNCTION__ trouble :)

Did you forget where that last screw should go? We might just be able to help.

__PRETTY_FUNCTION__ trouble :)

Postby Ockonal » 27 Jan 2010, 12:32

Hi guys, I'm trying to compile these stuff under win :) The problem is here:
Code: Select all
#define SAFE_ANY_CAST(T, a) safeAnyCast<T>(a, #T, __FILE__, __PRETTY_FUNCTION__, __LINE__)

src/safe_any.hpp

And compiler can't find __PRETTY_FUNCTION__ name :)
What can I do.
Arch linux 32bit/Win7, nVidia GeForce 220GT 1gb, ram 4gb, AMD Athlon XP 5400+
User avatar
Ockonal
Transient Appearance
Transient Appearance
 
Posts: 57
Joined: 27 Jan 2010, 12:27
Location: Ukraine

Re: __PRETTY_FUNCTION__ trouble :)

Postby Svenstaro » 27 Jan 2010, 16:23

Uh, what compiler and Windows version? Which source file? Which build system? Which source repo?

Really, provide some info here :)
OS: Windows 7 64bit / Arch Linux x86_64; CPU: Intel Core Quad 3.2 Ghz; RAM: 8GB; Graphics card: Nvidia 8800 GTX 768MB
Portalized Steam Community Group
User avatar
Svenstaro
Developer
Developer
 
Posts: 820
Joined: 28 Apr 2008, 22:34
Location: Germany

Re: __PRETTY_FUNCTION__ trouble :)

Postby Ockonal » 27 Jan 2010, 16:26

Oh, sorry :)
pseudoform build: Pseudoform "Leela" 0.2.1.1225
Windows 7, Code::Blocks (latest) with compiler ms vs 2008
Win release build
Arch linux 32bit/Win7, nVidia GeForce 220GT 1gb, ram 4gb, AMD Athlon XP 5400+
User avatar
Ockonal
Transient Appearance
Transient Appearance
 
Posts: 57
Joined: 27 Jan 2010, 12:27
Location: Ukraine

Re: __PRETTY_FUNCTION__ trouble :)

Postby Svenstaro » 28 Jan 2010, 17:29

That version was not yet set up to compile with MSVC. You will need to use mingw gcc 3.4 or you could get it from the git repo.
OS: Windows 7 64bit / Arch Linux x86_64; CPU: Intel Core Quad 3.2 Ghz; RAM: 8GB; Graphics card: Nvidia 8800 GTX 768MB
Portalized Steam Community Group
User avatar
Svenstaro
Developer
Developer
 
Posts: 820
Joined: 28 Apr 2008, 22:34
Location: Germany

Re: __PRETTY_FUNCTION__ trouble :)

Postby Ockonal » 28 Jan 2010, 19:43

Oh, understand. But what yours git address?
Arch linux 32bit/Win7, nVidia GeForce 220GT 1gb, ram 4gb, AMD Athlon XP 5400+
User avatar
Ockonal
Transient Appearance
Transient Appearance
 
Posts: 57
Joined: 27 Jan 2010, 12:27
Location: Ukraine

Re: __PRETTY_FUNCTION__ trouble :)

Postby shua » 29 Jan 2010, 05:19

I don't think you have any pre-compiled binaries in your git repo so he'd have to compile anyway, at http://www.github.com/svenstaro/pseudoform.
>+++++++++[<+++++++++>-]<++.>>++++++++++[<++++++++++>-]<++++.>>
Desktop OS: Linux Mint 8 "Helena" 64bit; CPU: AMD Athlon II; RAM: 4Gb; Graphics: NVidia GeForce 9500 GT 1Gb
Mobile(/ish) OS: archlinux 2009_8; CPU: intel pentium 4; RAM: 512Mb; Graphics: integrated ATI Radeon IGP 340M (Mobility U2)
Virtualbox: archlinux 2009_8, Windows 7 64bit Access to: Windows XP, sometimes vista, and maybe osx

+++++++++++[<+++++++++++>-]<----.>>++++++++++[<++++++++++>-]<---.
User avatar
shua
Intermediary Appearance
Intermediary Appearance
 
Posts: 130
Joined: 07 Aug 2009, 16:19
Location: America

Re: __PRETTY_FUNCTION__ trouble :)

Postby Ockonal » 29 Jan 2010, 13:47

Ok, thank you. But I can't download source from that repo. I'm using TortoiseSVN and when I input 'http://github.com/svenstaro/pseudoform' as a repo url, it shows an error during downloading:
Command: Checkout from http://github.com/svenstaro/pseudoform, revision HEAD, Fully recursive, Externals included
Error: OPTIONS of 'http://github.com/svenstaro/pseudoform': 200 OK (http://github.com)
Finish!
Arch linux 32bit/Win7, nVidia GeForce 220GT 1gb, ram 4gb, AMD Athlon XP 5400+
User avatar
Ockonal
Transient Appearance
Transient Appearance
 
Posts: 57
Joined: 27 Jan 2010, 12:27
Location: Ukraine

Re: __PRETTY_FUNCTION__ trouble :)

Postby Phosfor » 29 Jan 2010, 20:35

"http://github.com/svenstaro/pseudoform" is the http-url.
When you open it in your browser you'll see another url in the middle:

"git://github.com/svenstaro/pseudoform.git"

try this one
OS: Windows Vista 32bit / Ubuntu 64bit;
CPU: Intel Core 2Duo: 2.66 Ghz;
RAM: 4GB;
Graphics card: Nvidia Geforce 8600GS 256MB
User avatar
Phosfor
Intermediary Appearance
Intermediary Appearance
 
Posts: 141
Joined: 16 Aug 2009, 12:57
Location: Germany

Re: __PRETTY_FUNCTION__ trouble :)

Postby Ockonal » 30 Jan 2010, 05:45

Thank you! Everything is fine now :)
Arch linux 32bit/Win7, nVidia GeForce 220GT 1gb, ram 4gb, AMD Athlon XP 5400+
User avatar
Ockonal
Transient Appearance
Transient Appearance
 
Posts: 57
Joined: 27 Jan 2010, 12:27
Location: Ukraine

Re: __PRETTY_FUNCTION__ trouble :)

Postby Svenstaro » 31 Jan 2010, 23:13

There is no success in TortoiseSVN. You would need TortoiseGit.
OS: Windows 7 64bit / Arch Linux x86_64; CPU: Intel Core Quad 3.2 Ghz; RAM: 8GB; Graphics card: Nvidia 8800 GTX 768MB
Portalized Steam Community Group
User avatar
Svenstaro
Developer
Developer
 
Posts: 820
Joined: 28 Apr 2008, 22:34
Location: Germany

Re: __PRETTY_FUNCTION__ trouble :)

Postby Ockonal » 02 Feb 2010, 16:16

Okay, I've successfully compiled this project using gcc under windows.
The problem is I can't found runable file. When I try to run project from Code::Blocks directly it asks me to compile again and again.
p.s. win-release mode.
It makes directory bin/win/
There are need dll, but exe file isn't there.

Here is log:
Checking for existence: C:\Users\Ockonal\Desktop\Pseudoform\svenstaro-pseudoform-b18d959\bin\win\release\portalized.exe
Executing: "C:\Users\Ockonal\Desktop\Pseudoform\svenstaro-pseudoform-b18d959\bin\win\release\portalized.exe" (in C:\Users\Ockonal\Desktop\Pseudoform\svenstaro-pseudoform-b18d959\bin\win\release)
Execution of '"C:\Users\Ockonal\Desktop\Pseudoform\svenstaro-pseudoform-b18d959\bin\win\release\portalized.exe" ' in 'C:\Users\Ockonal\Desktop\Pseudoform\svenstaro-pseudoform-b18d959\bin\win\release' failed.
Nothing to be done.

-------------
Ok, I tried to compile it with ms vc 2008 compiler. It works longer, but after all this I got an error:
LINK||fatal error LNK1181: cannot open input file 'obj\win\release\src\lua\bindings.o'|

And there are also lots of empty folders where I can't find any need *.o files.
What I did wrong?
Arch linux 32bit/Win7, nVidia GeForce 220GT 1gb, ram 4gb, AMD Athlon XP 5400+
User avatar
Ockonal
Transient Appearance
Transient Appearance
 
Posts: 57
Joined: 27 Jan 2010, 12:27
Location: Ukraine

Re: __PRETTY_FUNCTION__ trouble :)

Postby shua » 06 Feb 2010, 21:10

That might have to do with the portalized.cbp file, open it up in a text editor and take out any references to lua or luabind and see if that changes anything.
>+++++++++[<+++++++++>-]<++.>>++++++++++[<++++++++++>-]<++++.>>
Desktop OS: Linux Mint 8 "Helena" 64bit; CPU: AMD Athlon II; RAM: 4Gb; Graphics: NVidia GeForce 9500 GT 1Gb
Mobile(/ish) OS: archlinux 2009_8; CPU: intel pentium 4; RAM: 512Mb; Graphics: integrated ATI Radeon IGP 340M (Mobility U2)
Virtualbox: archlinux 2009_8, Windows 7 64bit Access to: Windows XP, sometimes vista, and maybe osx

+++++++++++[<+++++++++++>-]<----.>>++++++++++[<++++++++++>-]<---.
User avatar
shua
Intermediary Appearance
Intermediary Appearance
 
Posts: 130
Joined: 07 Aug 2009, 16:19
Location: America


Return to Help

Who is online

Users browsing this forum: No registered users and 2 guests

cron