Author Topic: Can't build Ogre demo...  (Read 3835 times)

esselfe

  • Guest
Can't build Ogre demo...
« 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??

sethjackson

  • Guest
Re: Can't build Ogre demo...
« Reply #1 on: April 09, 2006, 11:44:14 pm »
Are you using the Ogre template?

takeshimiya

  • Guest
Re: Can't build Ogre demo...
« Reply #2 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. :)