Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Enhanced Animations demo linker error

Author
Message
Xarshi
18
Years of Service
User Offline
Joined: 25th Dec 2005
Location: Ohio
Posted: 22nd Nov 2007 05:42
Yeah, so I got all excited about the gdk becoming free and all, cuz I love c++, yet I had to chose irrlicht or something cuz I'm cheap like that. But now I have enan, and the example programs won't compile because of linker errors. here is the output from the compiler:


So... any clue on how to fix this so these programs will compile?

Hello
Mike Johnson
TGC Developer
22
Years of Service
User Offline
Joined: 13th Sep 2002
Location: United Kingdom
Posted: 22nd Nov 2007 09:30
If you are in debug mode can you try setting the Runtime Library to multi threaded debug.

If you are in release mode can you try setting the Runtime Library to multi threaded.
Xarshi
18
Years of Service
User Offline
Joined: 25th Dec 2005
Location: Ohio
Posted: 22nd Nov 2007 16:20 Edited at: 22nd Nov 2007 16:26
hm... well, I guess its a problem with debug mode, because when I switched to release mode it compiled without any problem.

Edit - hah, never mind, now it just crashes.

Edit 2 - Oh, and they were set to multi-threaded before hand. hm... this is wierd. Does enhanced animations work with vc++ 2008? eh, probably does.

Hello
Ron Erickson
Moderator
21
Years of Service
User Offline
Joined: 6th Dec 2002
Location: Pittsburgh, PA, USA
Posted: 23rd Nov 2007 18:51
Sorry...
I missed this post!

I'll have a look at this later. EnAn was written and tested with C++ 2005. I haven't really used 2008 much yet myself, so I'm not sure of any compiler option hicups that might be there. I'll have a look!

Thanks!
Ron


a.k.a WOLF!
Ron Erickson
Moderator
21
Years of Service
User Offline
Joined: 6th Dec 2002
Location: Pittsburgh, PA, USA
Posted: 24th Nov 2007 01:47
OK... Here is what you can do to fix the problem.

Start a new project using the wizard for making a 3D game with GDK. Then, just replace the auto generated code with the code from one of the EnAn examples. All should work fine then.

It is a bit of a inconvenience, and I'll be sure to fix for the next update. The problem is that the projects were created with 2005 standard edition (not express). It automatically adds some other things into the resource files that are not available in the express editions. They are not needed though, so don't worry
Sorry! I didn't get 2008 express until it was released!


a.k.a WOLF!

Login to post a reply

Server time is: 2024-11-16 20:23:48
Your offset time is: 2024-11-16 20:23:48