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.
BeginnerQuestion
Post
by BeginnerQuestion » Mon May 17, 2004 3:15 pm
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 » Tue May 18, 2004 1:23 am
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.
Guest
Post
by Guest » Tue May 18, 2004 7:40 pm
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 » Tue May 18, 2004 8:59 pm
The files are already linked in the Linker Options with the tutorial's Dev-C++ project file. Follow this tutorial again:
Dev-C++ Tutorial