gehn
17-01-2006 06:39:04
So I have the latest PLSM2 from CVS, and the latest OGRE libs from CVS installed on my system (Gentoo Linux, GCC 3.3.6). Trying to build PLSM2, I get the following error:
By the API docs, SceneManager has a _setDestinationRenderSystem method, and a protected mDestinationRenderSystem member, but not a getter for that member. Looking in OgrePagingLandScapeOctreeCamera.cpp, though, it looks like it just uses this to test for RSC_HWOCCLUSION and throw an exception if it's not supported. Easy enough to comment out..
Doing that, I get a bit further in the build.. but it errors out again in OgrePagingLandScapeOctreeIntersectionSceneQuery.cpp, with:
... which I have no idea how to deal with, as it's looking for MovableObjectIterator, which is neither in Root or MovableObject.
Any pointers for a newcomer?
OgrePagingLandScapeOctreeCamera.cpp: In member function `void
Ogre::PagingLandScapeOctreeCamera::changeOcclusionMode(Ogre::culling_modes)':
OgrePagingLandScapeOctreeCamera.cpp:95: error: `getDestinationRenderSystem'
undeclared (first use this function)
OgrePagingLandScapeOctreeCamera.cpp:95: error: (Each undeclared
identifier is reported only once for each function it appears in.)
By the API docs, SceneManager has a _setDestinationRenderSystem method, and a protected mDestinationRenderSystem member, but not a getter for that member. Looking in OgrePagingLandScapeOctreeCamera.cpp, though, it looks like it just uses this to test for RSC_HWOCCLUSION and throw an exception if it's not supported. Easy enough to comment out..
Doing that, I get a bit further in the build.. but it errors out again in OgrePagingLandScapeOctreeIntersectionSceneQuery.cpp, with:
OgrePagingLandScapeOctreeIntersectionSceneQuery.cpp: In member function `
virtual void
Ogre::PagingLandScapeOctreeIntersectionSceneQuery::execute(Ogre::IntersectionSceneQueryListener*)
':
OgrePagingLandScapeOctreeIntersectionSceneQuery.cpp:66: error: `
MovableObjectFactoryIterator' is not a member of type `Ogre::Root'
OgrePagingLandScapeOctreeIntersectionSceneQuery.cpp:66: error: syntax error
before `=' token
OgrePagingLandScapeOctreeIntersectionSceneQuery.cpp:68: error: `factIt'
undeclared (first use this function)
OgrePagingLandScapeOctreeIntersectionSceneQuery.cpp:68: error: (Each undeclared
identifier is reported only once for each function it appears in.)
OgrePagingLandScapeOctreeIntersectionSceneQuery.cpp:70: error: `
MovableObjectIterator' is not a member of type `Ogre::SceneManager'
OgrePagingLandScapeOctreeIntersectionSceneQuery.cpp:70: error: syntax error
before `=' token
OgrePagingLandScapeOctreeIntersectionSceneQuery.cpp:73: error: `it' undeclared
(first use this function)
OgrePagingLandScapeOctreeIntersectionSceneQuery.cpp:94: error: `getTypeFlags'
undeclared (first use this function)
OgrePagingLandScapeOctreeIntersectionSceneQuery.cpp:94: error: `mQueryTypeMask'
undeclared (first use this function)
... which I have no idea how to deal with, as it's looking for MovableObjectIterator, which is neither in Root or MovableObject.
Any pointers for a newcomer?