Irrlicht and Visual C++ Express 2005
Posted: Mon Jun 27, 2005 10:53 pm
I am trying to compile a simple Irrlicht program with VC++ Express 2005 and am having some difficulties. I am receiving an unresolved external on the call to createDevice.
Here's the error:
error LNK2019: unresolved external symbol __imp_?createDevice@irr@@YAPAVIrrlichtDevice@1@W4E_DRIVER_TYPE@video@1@ABV?$dimension2d@H@core@1@I_N22PAVIEventReceiver@1@PB_W@Z referenced in function _main
Here's the code:
IrrlichtDevice *device = createDevice(EDT_OPENGL, dimension2d<s32>(640, 480), 16, false);
I am using the library located in the Win32-VisualStudio directory of the Irrlicht 0.10.0 distribution. It is searching the library for the symbol, because when I change the name of the library file it complains that the file cannot be found. I have been able to compile working programs with both Dev-C++ and with C#.net express 2005 (using the irrlicht.net.lib).
Any ideas as to what the problem could be?
Here's the error:
error LNK2019: unresolved external symbol __imp_?createDevice@irr@@YAPAVIrrlichtDevice@1@W4E_DRIVER_TYPE@video@1@ABV?$dimension2d@H@core@1@I_N22PAVIEventReceiver@1@PB_W@Z referenced in function _main
Here's the code:
IrrlichtDevice *device = createDevice(EDT_OPENGL, dimension2d<s32>(640, 480), 16, false);
I am using the library located in the Win32-VisualStudio directory of the Irrlicht 0.10.0 distribution. It is searching the library for the symbol, because when I change the name of the library file it complains that the file cannot be found. I have been able to compile working programs with both Dev-C++ and with C#.net express 2005 (using the irrlicht.net.lib).
Any ideas as to what the problem could be?