Irrlicht under WinXP with Code::Blocks and MinGW

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Daerst
Posts: 12
Joined: Tue May 01, 2007 2:31 pm
Location: Braunschweig, Germany
Contact:

Irrlicht under WinXP with Code::Blocks and MinGW

Post by Daerst »

Hi there,

I'm absoulutely new to Irrlicht and wanted to give it a try right now because the demos were great :P

I downloaded the Irrlicht SDK 1.3 and extracted it. I looked for a C++ compiler and found Code::Blocks as IDE with MinGW.

When I try to compile the Demos I get no errors, but while linking the stuff I get:

Code: Select all

D:\Programme\irrlicht-1.3\examples\01.HelloWorld\main.o:main.cpp:(.text+0x89): undefined reference to `_imp___ZN3irr12createDeviceENS_5video13E_DRIVER_TYPEERKNS_4core11dimension2dIiEEjbbbPNS_14IEventReceiverEPKc'
What's wrong here? Should I use another compiler?

Thank you,
Daerst
roxaz
Posts: 575
Joined: Tue Jan 23, 2007 8:35 pm
Location: LT

Post by roxaz »

make sure the lib is added to the project
Daerst
Posts: 12
Joined: Tue May 01, 2007 2:31 pm
Location: Braunschweig, Germany
Contact:

Post by Daerst »

Ok, I included the directories but not the explicit library... Works now, thank you! :)
Post Reply