Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: esselfe on April 09, 2006, 11:36:20 pm

Title: Can't build Ogre demo...
Post by: esselfe on April 09, 2006, 11:36:20 pm
HI,

I just installed Code::block on XP, with OgreSDK. Now I have the error:

C:\Program Files\CodeBlocks\lib/libmingw32.a(main.o):main.c:(.text+0x106): undefined reference to `WinMain@16'
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 1 seconds)


Is there some link to configure??
Title: Re: Can't build Ogre demo...
Post by: sethjackson on April 09, 2006, 11:44:14 pm
Are you using the Ogre template?
Title: Re: Can't build Ogre demo...
Post by: takeshimiya on April 09, 2006, 11:47:21 pm
Have you followed this guide?
http://www.ogre3d.org/wiki/index.php/CodeBlocks_MingW_STLPort

It worked all fine for me. :)