User forums > Using Code::Blocks
Can't build Ogre demo...
(1/1)
esselfe:
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:
Are you using the Ogre template?
takeshimiya:
Have you followed this guide?
http://www.ogre3d.org/wiki/index.php/CodeBlocks_MingW_STLPort
It worked all fine for me. :)
Navigation
[0] Message Index
Go to full version