Latest CVS compilation problem

barnabe42

25-09-2005 17:56:36

@tuan kuranes :

I'm trying to compile the plsm2 source for ogre 1.0.4 SDK.
And I got some linking trouble :

Linking...
Creating library ..\bin\Debug/Plugin_PagingLandScapeSceneManager2.lib and object ..\bin\Debug/Plugin_PagingLandScapeSceneManager2.exp
OgrePagingLandScapeData2DManager.obj : error LNK2019: unresolved external symbol "public: __thiscall Ogre::PagingLandScapeData2D_HeightFieldBlendNeighbor::PagingLandScapeData2D_HeightFieldBlendNeighbor(void)" (??0PagingLandScapeData2D_HeightFieldBlendNeighbor@Ogre@@QAE@XZ) referenced in function "public: __thiscall Ogre::PagingLandScapeData2DManager::PagingLandScapeData2DManager(void)" (??0PagingLandScapeData2DManager@Ogre@@QAE@XZ)
OgrePagingLandScapeTextureManager.obj : error LNK2019: unresolved external symbol "public: __thiscall Ogre::PagingLandScapeTexture_InstantBaseTextureShadowed::PagingLandScapeTexture_InstantBaseTextureShadowed(void)" (??0PagingLandScapeTexture_InstantBaseTextureShadowed@Ogre@@QAE@XZ) referenced in function "public: __thiscall Ogre::PagingLandScapeTextureManager::PagingLandScapeTextureManager(void)" (??0PagingLandScapeTextureManager@Ogre@@QAE@XZ)
OgrePagingLandScapeTextureManager.obj : error LNK2019: unresolved external symbol "public: __thiscall Ogre::PagingLandScapeTexture_SplattingShader::PagingLandScapeTexture_SplattingShader(void)" (??0PagingLandScapeTexture_SplattingShader@Ogre@@QAE@XZ) referenced in function "public: __thiscall Ogre::PagingLandScapeTextureManager::PagingLandScapeTextureManager(void)" (??0PagingLandScapeTextureManager@Ogre@@QAE@XZ)
OgrePagingLandScapeOctreeCamera.obj : error LNK2019: unresolved external symbol "public: void __thiscall Ogre::PagingLandScapeOctreeSceneManager::registerCamera(class Ogre::PagingLandScapeOctreeCamera *)" (?registerCamera@PagingLandScapeOctreeSceneManager@Ogre@@QAEXPAVPagingLandScapeOctreeCamera@2@@Z) referenced in function "public: void __thiscall Ogre::PagingLandScapeOctreeCamera::setNextOcclusionMode(void)" (?setNextOcclusionMode@PagingLandScapeOctreeCamera@Ogre@@QAEXXZ)
OgrePagingLandScapeOctreeNode.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall Ogre::OcclusionElement::~OcclusionElement(void)" (??1OcclusionElement@Ogre@@UAE@XZ) referenced in function "public: virtual __thiscall Ogre::PagingLandScapeOctreeNode::~PagingLandScapeOctreeNode(void)" (??1PagingLandScapeOctreeNode@Ogre@@UAE@XZ)
OgrePagingLandScapeOctreeNode.obj : error LNK2019: unresolved external symbol "public: __thiscall Ogre::OcclusionElement::OcclusionElement(void)" (??0OcclusionElement@Ogre@@QAE@XZ) referenced in function "public: __thiscall Ogre::PagingLandScapeOctreeNode::PagingLandScapeOctreeNode(class Ogre::SceneManager *)" (??0PagingLandScapeOctreeNode@Ogre@@QAE@PAVSceneManager@1@@Z)
OgrePagingLandScapeOctreeNode.obj : error LNK2019: unresolved external symbol "public: void __thiscall Ogre::PagingLandScapeOctreeSceneManager::registeredNodeInCamera(class Ogre::OcclusionElement *)" (?registeredNodeInCamera@PagingLandScapeOctreeSceneManager@Ogre@@QAEXPAVOcclusionElement@2@@Z) referenced in function "protected: virtual void __thiscall Ogre::PagingLandScapeOctreeNode::_updateBounds(void)" (?_updateBounds@PagingLandScapeOctreeNode@Ogre@@MAEXXZ)
OgrePagingLandScapeOctreeNode.obj : error LNK2019: unresolved external symbol "public: void __thiscall Ogre::OcclusionBoundingBox::setupBoundingBox(class Ogre::AxisAlignedBox const &)" (?setupBoundingBox@OcclusionBoundingBox@Ogre@@QAEXABVAxisAlignedBox@2@@Z) referenced in function "protected: virtual void __thiscall Ogre::PagingLandScapeOctreeNode::_updateBounds(void)" (?_updateBounds@PagingLandScapeOctreeNode@Ogre@@MAEXXZ)
OgrePagingLandScapeOctreeNode.obj : error LNK2019: unresolved external symbol "public: void __thiscall Ogre::PagingLandScapeOctreeSceneManager::addVisible(class Ogre::MovableObject *)" (?addVisible@PagingLandScapeOctreeSceneManager@Ogre@@QAEXPAVMovableObject@2@@Z) referenced in function "public: virtual void __thiscall Ogre::PagingLandScapeOctreeNode::_addAlreadyNotifiedToRenderQueue(class Ogre::Camera *,class Ogre::RenderQueue * const,bool)" (?_addAlreadyNotifiedToRenderQueue@PagingLandScapeOctreeNode@Ogre@@UAEXPAVCamera@2@QAVRenderQueue@2@_N@Z)
OgrePagingLandScapeOctreeNode.obj : error LNK2019: unresolved external symbol "public: void __thiscall Ogre::PagingLandScapeOctreeSceneManager::directRenderSingleQueue(class Ogre::RenderQueue *)" (?directRenderSingleQueue@PagingLandScapeOctreeSceneManager@Ogre@@QAEXPAVRenderQueue@2@@Z) referenced in function "public: void __thiscall Ogre::PagingLandScapeOctreeNode::renderNodeObjects(class Ogre::Camera *,bool)" (?renderNodeObjects@PagingLandScapeOctreeNode@Ogre@@QAEXPAVCamera@2@_N@Z)
OgrePagingLandScapeOctreeNode.obj : error LNK2019: unresolved external symbol "public: __thiscall Ogre::OcclusionBoundingBox::OcclusionBoundingBox(void)" (??0OcclusionBoundingBox@Ogre@@QAE@XZ) referenced in function "public: virtual class Ogre::OcclusionBoundingBox * __thiscall Ogre::PagingLandScapeOctreeNode::getOcclusionBoundingBox(void)" (?getOcclusionBoundingBox@PagingLandScapeOctreeNode@Ogre@@UAEPAVOcclusionBoundingBox@2@XZ)
OgrePagingLandScapeOctreeNode.obj : error LNK2019: unresolved external symbol "public: void __thiscall Ogre::PagingLandScapeOctreeSceneManager::unregisteredNodeInCamera(class Ogre::OcclusionElement *)" (?unregisteredNodeInCamera@PagingLandScapeOctreeSceneManager@Ogre@@QAEXPAVOcclusionElement@2@@Z) referenced in function "protected: void __thiscall Ogre::PagingLandScapeOctreeNode::_removeNodeAndChildren(void)" (?_removeNodeAndChildren@PagingLandScapeOctreeNode@Ogre@@IAEXXZ)
OgrePagingLandScapeOctreeNode.obj : error LNK2019: unresolved external symbol "public: void __thiscall Ogre::DebugRectangle2D::setCorners(float,float,float,float)" (?setCorners@DebugRectangle2D@Ogre@@QAEXMMMM@Z) referenced in function "public: void __thiscall Ogre::PagingLandScapeOctreeNode::setDebugCorners(class Ogre::PagingLandScapeOctreeSceneManager *)" (?setDebugCorners@PagingLandScapeOctreeNode@Ogre@@QAEXPAVPagingLandScapeOctreeSceneManager@2@@Z)
OgrePagingLandScapeOctreeNode.obj : error LNK2019: unresolved external symbol "public: class Ogre::DebugRectangle2D * __thiscall Ogre::OcclusionElement::getRectangle2d(class Ogre::SceneManager *)" (?getRectangle2d@OcclusionElement@Ogre@@QAEPAVDebugRectangle2D@2@PAVSceneManager@2@@Z) referenced in function "public: void __thiscall Ogre::PagingLandScapeOctreeNode::setDebugCorners(class Ogre::PagingLandScapeOctreeSceneManager *)" (?setDebugCorners@PagingLandScapeOctreeNode@Ogre@@QAEXPAVPagingLandScapeOctreeSceneManager@2@@Z)
..\bin\Debug/Plugin_PagingLandScapeSceneManager2.dll : fatal error LNK1120: 14 unresolved externals


Any idea which library should I add.

Thanks

tuan kuranes

26-09-2005 06:38:27

seems you are compiling latest CVS using vc6 against Ogre SDK ?


You need to add a lot of files to vc6 projects (demo and plugin).
Look for files in includes and sources and add them to the projects.

Tell me how it goes and if you succeed, send me modified source so that I can make an updated sdk compatible package.


CHC algo committed needs the latest Dagon because of a bug in hwqueries in SDK but you can just not use it (which is the default)

barnabe42

26-09-2005 08:21:25

I' m currently using VC7.1 , with Ogre 1.0.4 and I am trying to compile the http://tuan.kuranes.free.fr/paginglandscape.zip source.

I will try to add the missing files to the project.

tuan kuranes

26-09-2005 08:26:54

that's strange. vcproj in CVS are updated to latest source files...
you should check again for new vcproj in cvs, maybe was a cvs sync problem

barnabe42

26-09-2005 08:50:55

I erase everything.
Compile ogre and plsm2 again and everything went fine ....

Sorry wasting your time.