Can't find Irrlicht.lib [Solved]

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
onEnterFrame
Posts: 7
Joined: Sun Dec 05, 2010 8:34 am

Can't find Irrlicht.lib [Solved]

Post by onEnterFrame »

So I was following the Hello World tutorial given on the main site and entered everything exactly as it was listed.

i continually get the following error:

error LNK2019: unresolved external symbol __imp__createDevice referenced in function _main


--

I am using Visual C++ 2010 express
i have gone into the property sheet and added the include directory to the include path, and the lib-visualstudio32 directory to the library path.

in fact ive tried adding the library path to the linker dependencies directly as well, and have tried adding every library folder included with irrlicht.

i have also tried #pragma comment( lib, "Irrlicht" ) with the .lib omitted because i saw other code look that way.

ive spent over an hour on this and im done trying. what am i missing?
Last edited by onEnterFrame on Mon Dec 06, 2010 5:14 am, edited 1 time in total.
onEnterFrame
Posts: 7
Joined: Sun Dec 05, 2010 8:34 am

Post by onEnterFrame »

with enough additions to the property sheet include paths i can get the thing to compile - only to complain about a missing Irrlicht.dll that i cant find anywhere...
janw
Posts: 13
Joined: Wed Aug 11, 2010 2:23 pm

Post by janw »

Hi,
the Irrlicht.dll is in demo examples.
Just go to:
irrlicht-1.7.2\bin\Win32-VisualStudio and copy it from there.
You have to paste Irrlicht.dll to the folder with your new project.

Hope it helps.
onEnterFrame
Posts: 7
Joined: Sun Dec 05, 2010 8:34 am

Post by onEnterFrame »

so you actually need to use the irrlicht.dll, independently of the irrlicht.lib?

whats the difference between the two?

im on a different computer atm but ill try that tomorrow. thanks.
kekar
Posts: 13
Joined: Mon Dec 06, 2010 12:07 pm

Post by kekar »

onEnterFrame wrote:so you actually need to use the irrlicht.dll, independently of the irrlicht.lib?

whats the difference between the two?

im on a different computer atm but ill try that tomorrow. thanks.
The .DLL is dynamically linked in runtime when the executable runs. The .lib is a library archive and may be used by the linker to include object symbols into the executable.
Post Reply