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?
Can't find Irrlicht.lib [Solved]
-
- Posts: 7
- Joined: Sun Dec 05, 2010 8:34 am
Can't find Irrlicht.lib [Solved]
Last edited by onEnterFrame on Mon Dec 06, 2010 5:14 am, edited 1 time in total.
-
- Posts: 7
- Joined: Sun Dec 05, 2010 8:34 am
-
- Posts: 7
- Joined: Sun Dec 05, 2010 8:34 am
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.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.