linker errors in tutorials [Dev-C++]

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
BeginnerQuestion

linker errors in tutorials [Dev-C++]

Post by BeginnerQuestion »

hi,

i'm new to the irrlicht-engine and to Dev-CPP and i always get linker errors when trying to compile the tutorials. the error-msg is:


[Linker error] undefined reference to `_imp___ZN3irr12createDeviceENS_5video11EDriverTypeERKNS_4core11dimension2dIiEEjbbPNS_14IEventReceiverEPKw'

does anybody know this problem?
DarkWhoppy
Posts: 386
Joined: Thu Sep 25, 2003 12:43 pm
Contact:

Post by DarkWhoppy »

You might be trying to compile without one of the lib files linked in the Linker opitions. If that doesn't work then post a bit of your code... (I use Dev-C++) Then again it looks like there's something wrong with an event receiver... hard to tell with no visual code.
Programmer of the Irrlicht Scene Editor:
Homepage - Forum Thread
Version 2 on its way!!
Guest

Post by Guest »

hm.. its exactly the code from tutorial 1.

step by step what im doing:

1. file > open project or file > ..irrlicht6.0/examples/helloworld/main.cpp
2. F9 :)

result: linker error

when i open the the 'example.dev' and press F9 it works fine.

why that?
DarkWhoppy
Posts: 386
Joined: Thu Sep 25, 2003 12:43 pm
Contact:

Post by DarkWhoppy »

The files are already linked in the Linker Options with the tutorial's Dev-C++ project file. Follow this tutorial again: Dev-C++ Tutorial
Programmer of the Irrlicht Scene Editor:
Homepage - Forum Thread
Version 2 on its way!!
Post Reply