Page 2 of 3

Re: Ptr<> System question

Posted: 28 Feb 2013, 09:15
by TheSHEEEP
Afaik, binaries compiled with MSVC from VS 2008 and 2012 are incompatible with each other.
So that would explain something, yes.

And don't even try linking your MinGW program with MSVC compiled binaries. Won't work. At least it never, ever worked for me.

Re: Ptr<> System question

Posted: 28 Feb 2013, 10:58
by Erio
i'm not using those from 2012 but 2010.. but it looks like it the same ;)

Well i've been able to compile it with MSVC, my problem there was OGRE And Qt (SJLJ and DWARF problems there XD, i've to recompile them.)

http://www.noesisengine.com/community_f ... um.php?f=3

There was the post, there is a modification to do in the file Type.h if i remember correctly as explained jsantos there ;)

for msvc.. I think that i won't be able to do anything as the error are post-compiling, out of control for me ^^'

I don't know if they could recompile Noesis using 2010 if it's been compiled as i though with 2008? (i don't see any other solution right now)

Re: Ptr<> System question

Posted: 28 Feb 2013, 15:22
by jsantos
Hi,

NoesisSDK is compiled with visual studio 2005 (yes, we should upgrade) but being distributed as a DLL it should compatible with the rest of versions (even MinGW I would say). We distribute the proper CRT runtime with our binaries.

We know that these binaries are working fine in 2008, 2010 and 2012 (or at least, we havent found any problem yet).

The problem with the Type.h file was fixed in the last version, that shouldn't be an issue anymore.

Then, I would say that the problem must be another thing. One question, did you compile our GL sample with your compiler?

Re: Ptr<> System question

Posted: 01 Mar 2013, 11:49
by Erio
it might not be using the correct CRT then, i dunno, i'll try some things to see what does work, what doesn't and tell you

Actually i tried to compile the Spinning cube, but can't do it... It made appears some problem coming from "NsCore/CompilerSettings.h". But i'll check that, i think the problem is on my side anyway.

I let you know if i find more about it someday (and i'm sorry, as i'm in school, i have less time to work on this, and have to work on school stuffs.. (which are boring Java right now))

Re: Ptr<> System question

Posted: 10 Mar 2013, 17:58
by Erio
Hey !

I guess that i'm still running into some trouble..

Well. I did as you suggested and tried to compile the examples as the spinning cube... to be honnest, i'm running out of ideas right now to get it to work...

here is a link to a picture of the compiling session.. there are some errors i don't understand into compilersettings.h and some other files.. *sight*

If it works on other people computers, i really don't understand what am i doing wrong that it doesn't work?

http://imageshack.us/f/46/spinningcubeerrors.png/

I'm completely out of ideas right now. . .

Re: Ptr<> System question

Posted: 11 Mar 2013, 10:51
by jsantos
What GCC version are you using?

Re: Ptr<> System question

Posted: 11 Mar 2013, 11:16
by Erio
I'm using MinGW 4.7.2, with their latest catalogs

Re: Ptr<> System question

Posted: 11 Mar 2013, 11:33
by jsantos
what version of GCC is that? (gcc -v to test)

Re: Ptr<> System question

Posted: 11 Mar 2013, 14:24
by TheSHEEEP
"MinGW x.x.x" usually means "MinGW with GCC x.x.x". It's just a shorter form to write it :)

And yes, the latest GCC version coming with MinGW is indeed 4.7.2.

Re: Ptr<> System question

Posted: 11 Mar 2013, 14:29
by jsantos
The latest version of GCC we tested is 4.6.3. May be, something broke in 4.7.x

could you provide logs with the error? (in english please)