Irrlicht 1.1 and linker error

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
Tonyx
Posts: 14
Joined: Fri Mar 11, 2005 5:13 pm

Irrlicht 1.1 and linker error

Post by Tonyx »

Hi all,

i'm using codeblocks with GNU gcc compiler on windows xp.
When i try to build and application irrlicht related it return me this error:

Linking console executable: C:\Progetti\3\console.exe
.objs\main.o:main.cpp:(.text+0x89): undefined reference to `_imp___ZN3irr12createDeviceENS_5video13E_DRIVER_TYPEERKNS_4core11dimension2dIiEEjbbbPNS_14IEventReceiverEPKc'

Is a my mistake? Please help me!

Bye
Tonyx.
kornerr
Posts: 245
Joined: Thu Jul 06, 2006 9:57 am
Location: Russia, Siberia, Kemerovo
Contact:

Post by kornerr »

Make sure you link against Irrlicht library:
http://kornerr.alfamoon.com/pictures/ir ... cc_cb.html
Also, make sure you've set correct paths to Linker and Compiler tabs in Directories tab (smth like C:\MinGW\lib and C:\MinGW\include\irrlicht).

PS: This is somewhere in Build->Compiler settings menu
Open Source all the way, baby ;)
OSRPG
Post Reply