Linker errors (CVS & Code::Blocks/MingW)

TdZ

24-03-2008 19:09:25

Hi!

I've tried to compile the latest CVS version of PLSM2 against the CVS version of Ogre.

However, I after modifying some paths and linker settings, I reduced my linker errors to this:


..\obj\Release\src\OgreOcclusionBoundingBox.o:OgreOcclusionBoundingBox.cpp:(.text$_ZNK4Ogre10Renderable13getClipPlanesEv[Ogre::Renderable::getClipPlanes() const]+0x4): undefined reference to `Ogre::Renderable::msDummyPlaneList'
..\obj\Release\src\OgreOcclusionBoundingBox.o:OgreOcclusionBoundingBox.cpp:(.text$_ZNK4Ogre10Renderable12getTechniqueEv[Ogre::Renderable::getTechnique() const]+0x2c): undefined reference to `Ogre::Material::getBestTechnique(unsigned short)'
..\obj\Release\src\OgrePagingLandScapeSceneManager.o:OgrePagingLandScapeSceneManager.cpp:(.text+0x1f74): undefined reference to `Ogre::PagingLandScapeAxisAlignedBoxSceneQuery::PagingLandScapeAxisAlignedBoxSceneQuery(Ogre::SceneManager*)'
..\obj\Release\src\OgrePagingLandScapeSceneManager.o:OgrePagingLandScapeSceneManager.cpp:(.text$_ZN4Ogre31PagingLandScapeMeshDecalFactoryC1Ev[Ogre::PagingLandScapeMeshDecalFactory::PagingLandScapeMeshDecalFactory()]+0x16): undefined reference to `vtable for Ogre::PagingLandScapeMeshDecalFactory'


Is there anything I forgot? I'm currently linking agains OgreMain and plugin_OctreeSceneManager using the C::B workspace file provided by the CVS sources.

Thanks in advance for any suggestions!