Caelum 0.5 and Ogre SVN

Vectrex

08-09-2009 16:59:24

Hi, Is anyone else unable to link 0.5 SVN (revision 454) with the latest Ogre SVN? (revision 9061)
I get these linker errors

Linking...
Creating library ../lib/debug/caelum_d.lib and object ../lib/debug/caelum_d.exp
CaelumPlugin.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall Ogre::Resource::Resource(class Ogre::Resource const &)" (__imp_??0Resource@Ogre@@QAE@ABV01@@Z) referenced in function "public: __thiscall Caelum::PropScriptResource::PropScriptResource(class Caelum::PropScriptResource const &)" (??0PropScriptResource@Caelum@@QAE@ABV01@@Z)
CaelumScriptTranslator.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Ogre::Resource::Resource(class Ogre::Resource const &)" (__imp_??0Resource@Ogre@@QAE@ABV01@@Z)
CaelumSystem.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Ogre::Resource::Resource(class Ogre::Resource const &)" (__imp_??0Resource@Ogre@@QAE@ABV01@@Z)
CaelumPlugin.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class Ogre::Resource & __thiscall Ogre::Resource::operator=(class Ogre::Resource const &)" (__imp_??4Resource@Ogre@@QAEAAV01@ABV01@@Z) referenced in function "public: class Caelum::PropScriptResource & __thiscall Caelum::PropScriptResource::operator=(class Caelum::PropScriptResource const &)" (??4PropScriptResource@Caelum@@QAEAAV01@ABV01@@Z)
CaelumScriptTranslator.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Ogre::Resource & __thiscall Ogre::Resource::operator=(class Ogre::Resource const &)" (__imp_??4Resource@Ogre@@QAEAAV01@ABV01@@Z)
CaelumSystem.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Ogre::Resource & __thiscall Ogre::Resource::operator=(class Ogre::Resource const &)" (__imp_??4Resource@Ogre@@QAEAAV01@ABV01@@Z)
CaelumPlugin.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall Ogre::ResourceManager::ResourceManager(class Ogre::ResourceManager const &)" (__imp_??0ResourceManager@Ogre@@QAE@ABV01@@Z) referenced in function "public: __thiscall Caelum::PropScriptResourceManager::PropScriptResourceManager(class Caelum::PropScriptResourceManager const &)" (??0PropScriptResourceManager@Caelum@@QAE@ABV01@@Z)
CaelumScriptTranslator.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Ogre::ResourceManager::ResourceManager(class Ogre::ResourceManager const &)" (__imp_??0ResourceManager@Ogre@@QAE@ABV01@@Z)
CaelumSystem.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Ogre::ResourceManager::ResourceManager(class Ogre::ResourceManager const &)" (__imp_??0ResourceManager@Ogre@@QAE@ABV01@@Z)
CaelumPlugin.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class Ogre::ResourceManager & __thiscall Ogre::ResourceManager::operator=(class Ogre::ResourceManager const &)" (__imp_??4ResourceManager@Ogre@@QAEAAV01@ABV01@@Z) referenced in function "public: class Caelum::PropScriptResourceManager & __thiscall Caelum::PropScriptResourceManager::operator=(class Caelum::PropScriptResourceManager const &)" (??4PropScriptResourceManager@Caelum@@QAEAAV01@ABV01@@Z)
CaelumScriptTranslator.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Ogre::ResourceManager & __thiscall Ogre::ResourceManager::operator=(class Ogre::ResourceManager const &)" (__imp_??4ResourceManager@Ogre@@QAEAAV01@ABV01@@Z)
CaelumSystem.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Ogre::ResourceManager & __thiscall Ogre::ResourceManager::operator=(class Ogre::ResourceManager const &)" (__imp_??4ResourceManager@Ogre@@QAEAAV01@ABV01@@Z)
../bin/debug/caelum_d.dll : fatal error LNK1120: 4 unresolved externals

Gohla

12-09-2009 11:40:20

Did you run the INSTALL project generated by CMAKE in your Ogre solution? It copies all the needed files to the sdk folder. This seemed to fix the linker errors for me last time so try it out and use the includes/libs from the sdk folder.