Hello World tutorial problem (a really strange problem)

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
Devlar
Posts: 6
Joined: Fri Jan 27, 2006 1:18 am

Hello World tutorial problem (a really strange problem)

Post by Devlar »

Hi
I've been trying to do the "Hello World" tutorial. I have done everything step-by-step, just like it's written in the tutorial. I've link all the needed files, I've put the irrlicht.dll in the right place. I compiled it and tried to execute but
an error popped up (first time i've seen this kind of error :/)

[Linker error] undefined reference to `_imp___ZN3irr12createDeviceENS_5video13E_DRIVER_TYPEERKNS_4core11dimension2dIiEEjbbbPNS_14IEventReceiverEPKc'

I'm using Dev-C++ 4.9.9.2 (i've tried to compile it on other versions and the error was still there :/). I DID link the files just like it's written so i really don't think that a not linked file is the problem :/. If anybody knows how to solve this please help me. (By the way, i compiled 4 other examples and everytime I get the same error :/)
MikeR
Posts: 767
Joined: Sun Dec 26, 2004 4:03 pm
Location: Northern California USA
Contact:

Post by MikeR »

Are you using the correct dll?
There is a different one for dev-cpp. It's in the win-gcc folder. Also, make sure you are linking to the correct lib file.
If it exists in the real world, it can be created in 3d

Sys specs:
AMD 3700+ 64 processor
1.0 gb ram
e-Geforce 6600 graphics 256 mb onboard ram
Devlar
Posts: 6
Joined: Fri Jan 27, 2006 1:18 am

Post by Devlar »

OMG it worked :/. Thank you very much for the help. It seems I have by mistake mixed two .dll with their folders. The one for Dev-C++ was in Visual's folder, and the one for Visual was in Dev's folder. Still, I dunno how that happened.. :/
MikeR
Posts: 767
Joined: Sun Dec 26, 2004 4:03 pm
Location: Northern California USA
Contact:

Post by MikeR »

lol. It's a common problem. Glad you got it working.
If it exists in the real world, it can be created in 3d

Sys specs:
AMD 3700+ 64 processor
1.0 gb ram
e-Geforce 6600 graphics 256 mb onboard ram
Post Reply