problem with compilation plsm

Leron

14-05-2008 18:47:10

Hi. I just need some help with that:
I took plsm from https://ogreaddons.svn.sourceforge.net/ ... landscape/
I got a lot of unresolved external errors while compilation :shock:. Here is 4 of them. Only map splitter compiled successfully. So, how to fix that?:

Creating library ..\bin\Debug/Plugin_PagingLandScapeSceneManager2.lib and object ..\bin\Debug/Plugin_PagingLandScapeSceneManager2.exp
OgrePagingLandScapeSceneManager.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall Ogre::OctreeSceneManager::~OctreeSceneManager(void)" (__imp_??1OctreeSceneManager@Ogre@@UAE@XZ) referenced in function __unwindfunclet$??0PagingLandScapeSceneManager@Ogre@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z$0

OgrePagingLandScapeSceneManager.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall Ogre::OctreeSceneManager::OctreeSceneManager(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_??0OctreeSceneManager@Ogre@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "public: __thiscall Ogre::PagingLandScapeSceneManager::PagingLandScapeSceneManager(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0PagingLandScapeSceneManager@Ogre@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)

OgrePagingLandScapeSceneManager.obj : error LNK2001: unresolved external symbol "public: virtual class Ogre::SceneNode * __thiscall Ogre::OctreeSceneManager::createSceneNode(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?createSceneNode@OctreeSceneManager@Ogre@@UAEPAVSceneNode@2@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)

OgrePagingLandScapeSceneManager.obj : error LNK2001: unresolved external symbol "public: virtual class Ogre::SceneNode * __thiscall Ogre::OctreeSceneManager::createSceneNode(void)" (?createSceneNode@OctreeSceneManager@Ogre@@UAEPAVSceneNode@2@XZ)
..\bin\Debug/Plugin_PagingLandScapeSceneManager2.dll : fatal error LNK1120: 17 unresolved externals

MOROHEUZ

15-05-2008 11:36:20

this are linkerproblems....

1. use the release modus...
2. linker from cvs has an error... (sdk is correct)

whatch here to:

http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=6345

Leron

15-05-2008 15:19:25

You right - sdk is correct. It seems that i tried to compile another solution file :oops: .
Thanks for help.

MOROHEUZ

16-05-2008 06:30:48

you can use CVS too, but you must edit it...
cryazy work... but is possible :-D