[SOLVED] LNK2001: Can't createWindow in MSVC++2008
Posted: Sat Jul 18, 2009 21:38
Hello,
I'm trying to convert an open source project from a build based on Code::Blocks to MSVC++ 9, and I'm running into a bit of trouble. No matter what I link, I get the following linker errors:
These are my settings:
Linker->General->Additional Library Directories
"$(InputDir)\lib"
"$(OGRE_HOME)\lib"
Linker->Input->Additional Dependencies:
OgreMain.lib
CEGUIBase.lib
OgreGUIRenderer.lib
OIS.lib
OpenAL32.lib
ogg.lib
vorbis.lib
vorbisfile.lib
vorbisenc.lib
glut.lib
glut32.lib
alut.lib
C/C++->Additional Include Directories:
include
include\CEGUI
include\al
include\boost
include\ogg
include\vorbis
$(OGRE_HOME)\include
$(OGRE_HOME)\samples\include
$(OGRE_HOME)\include\OIS
F:\Programs\DirectX\Include
Any help would be appreciated.
I'm trying to convert an open source project from a build based on Code::Blocks to MSVC++ 9, and I'm running into a bit of trouble. No matter what I link, I get the following linker errors:
Code: Select all
chara_menu.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class CEGUI::Window * __thiscall CEGUI::WindowManager::createWindow(class CEGUI::String const &,class CEGUI::String const &,class CEGUI::String const &)" (__imp_?createWindow@WindowManager@CEGUI@@QAEPAVWindow@2@ABVString@2@00@Z)
These are my settings:
Linker->General->Additional Library Directories
"$(InputDir)\lib"
"$(OGRE_HOME)\lib"
Linker->Input->Additional Dependencies:
OgreMain.lib
CEGUIBase.lib
OgreGUIRenderer.lib
OIS.lib
OpenAL32.lib
ogg.lib
vorbis.lib
vorbisfile.lib
vorbisenc.lib
glut.lib
glut32.lib
alut.lib
C/C++->Additional Include Directories:
include
include\CEGUI
include\al
include\boost
include\ogg
include\vorbis
$(OGRE_HOME)\include
$(OGRE_HOME)\samples\include
$(OGRE_HOME)\include\OIS
F:\Programs\DirectX\Include
Any help would be appreciated.