Error building PLSM2

Jeff_Gos

13-10-2005 20:08:41

I downloaded the latest source of PLSM2 as well as the Latest CVS of Ogre

I also (although this is proably overkill) installed the Ogre SDK for VC++ 2003 (7.1)

I get this error when building PLSM2:

------ Build started: Project: Plugin_PagingLandScapeSceneManager2, Configuration: Release Win32 ------

Compiling...
OgrePagingLandScapeOctreeIntersectionSceneQuery.cpp
\Gaming Software\Ogre\CVS DOWNLOADS\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOctreeIntersectionSceneQuery.cpp(63) : error C2039: 'EntityIterator' : is not a member of 'Ogre::SceneManager'
..\..\..\OgreMain\include\OgreSceneManager.h(77) : see declaration of 'Ogre::SceneManager'
\Gaming Software\Ogre\CVS DOWNLOADS\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOctreeIntersectionSceneQuery.cpp(63) : error C2065: 'EntityIterator' : undeclared identifier
\Gaming Software\Ogre\CVS DOWNLOADS\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOctreeIntersectionSceneQuery.cpp(63) : error C2146: syntax error : missing ';' before identifier 'ite'
\Gaming Software\Ogre\CVS DOWNLOADS\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOctreeIntersectionSceneQuery.cpp(63) : error C2065: 'ite' : undeclared identifier
\Gaming Software\Ogre\CVS DOWNLOADS\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOctreeIntersectionSceneQuery.cpp(63) : error C2039: 'getEntityIterator' : is not a member of 'Ogre::SceneManager'
..\..\..\OgreMain\include\OgreSceneManager.h(77) : see declaration of 'Ogre::SceneManager'
\Gaming Software\Ogre\CVS DOWNLOADS\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOctreeIntersectionSceneQuery.cpp(64) : error C2228: left of '.hasMoreElements' must have class/struct/union type
type is ''unknown-type''
\Gaming Software\Ogre\CVS DOWNLOADS\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOctreeIntersectionSceneQuery.cpp(64) : error C3861: 'ite': identifier not found, even with argument-dependent lookup
\Gaming Software\Ogre\CVS DOWNLOADS\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOctreeIntersectionSceneQuery.cpp(64) : fatal error C1903: unable to recover from previous error(s); stopping compilation
OgrePagingLandScapeRenderable.cpp
\Gaming Software\Ogre\CVS DOWNLOADS\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeRenderable.cpp(86) : error C2039: 'WORLD_GEOMETRY_QUERY_MASK' : is not a member of 'Ogre::SceneManager'
f:\Gaming Software\Ogre\CVS DOWNLOADS\ogrenew\OgreMain\include\OgreSceneManager.h(77) : see declaration of 'Ogre::SceneManager'
\Gaming Software\Ogre\CVS DOWNLOADS\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeRenderable.cpp(86) : error C2065: 'WORLD_GEOMETRY_QUERY_MASK' : undeclared identifier
OgrePagingLandScapePageRenderable.cpp
\Gaming Software\Ogre\CVS DOWNLOADS\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapePageRenderable.cpp(229) : error C2039: 'WORLD_GEOMETRY_QUERY_MASK' : is not a member of 'Ogre::SceneManager'
f:\Gaming Software\Ogre\CVS DOWNLOADS\ogrenew\OgreMain\include\OgreSceneManager.h(77) : see declaration of 'Ogre::SceneManager'
\Gaming Software\Ogre\CVS DOWNLOADS\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapePageRenderable.cpp(229) : error C2065: 'WORLD_GEOMETRY_QUERY_MASK' : undeclared identifier
OgrePagingLandScapePage.cpp
..\include\OgrePagingLandScapeSceneManager.h(233) : error C2143: syntax error : missing ';' before '&'
..\include\OgrePagingLandScapeSceneManager.h(233) : error C2501: 'Ogre::PagingLandScapeSceneManager::EntityList' : missing storage-class or type specifiers
..\include\OgrePagingLandScapeSceneManager.h(234) : error C2501: 'Ogre::PagingLandScapeSceneManager::getEntities' : missing storage-class or type specifiers
..\include\OgrePagingLandScapeSceneManager.h(236) : warning C4183: 'getEntities': missing return type; assumed to be a member function returning 'int'
OgrePagingLandScapeSceneManagerDll.cpp
..\include\OgrePagingLandScapeSceneManager.h(233) : error C2143: syntax error : missing ';' before '&'
..\include\OgrePagingLandScapeSceneManager.h(233) : error C2501: 'Ogre::PagingLandScapeSceneManager::EntityList' : missing storage-class or type specifiers
..\include\OgrePagingLandScapeSceneManager.h(234) : error C2501: 'Ogre::PagingLandScapeSceneManager::getEntities' : missing storage-class or type specifiers
..\include\OgrePagingLandScapeSceneManager.h(236) : warning C4183: 'getEntities': missing return type; assumed to be a member function returning 'int'
OgrePagingLandScapeSceneManager.cpp
..\include\OgrePagingLandScapeSceneManager.h(233) : error C2143: syntax error : missing ';' before '&'
..\include\OgrePagingLandScapeSceneManager.h(233) : error C2501: 'Ogre::PagingLandScapeSceneManager::EntityList' : missing storage-class or type specifiers
..\include\OgrePagingLandScapeSceneManager.h(234) : error C2501: 'Ogre::PagingLandScapeSceneManager::getEntities' : missing storage-class or type specifiers
..\include\OgrePagingLandScapeSceneManager.h(236) : warning C4183: 'getEntities': missing return type; assumed to be a member function returning 'int'
\Gaming Software\Ogre\CVS DOWNLOADS\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeSceneManager.cpp(1200) : error C2039: 'removeCamera' : is not a member of 'Ogre::SceneManager'
..\..\..\OgreMain\include\OgreSceneManager.h(77) : see declaration of 'Ogre::SceneManager'
\Gaming Software\Ogre\CVS DOWNLOADS\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeSceneManager.cpp(1216) : error C2039: 'removeCamera' : is not a member of 'Ogre::SceneManager'
..\..\..\OgreMain\include\OgreSceneManager.h(77) : see declaration of 'Ogre::SceneManager'
\Gaming Software\Ogre\CVS DOWNLOADS\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeSceneManager.cpp(1222) : error C2039: 'removeAllCameras' : is not a member of 'Ogre::SceneManager'
..\..\..\OgreMain\include\OgreSceneManager.h(77) : see declaration of 'Ogre::SceneManager'
OgrePagingLandScapeRaySceneQuery.cpp
..\include\OgrePagingLandScapeSceneManager.h(233) : error C2143: syntax error : missing ';' before '&'
..\include\OgrePagingLandScapeSceneManager.h(233) : error C2501: 'Ogre::PagingLandScapeSceneManager::EntityList' : missing storage-class or type specifiers
..\include\OgrePagingLandScapeSceneManager.h(234) : error C2501: 'Ogre::PagingLandScapeSceneManager::getEntities' : missing storage-class or type specifiers
..\include\OgrePagingLandScapeSceneManager.h(236) : warning C4183: 'getEntities': missing return type; assumed to be a member function returning 'int'
OgrePagingLandScapeOptions.cpp
..\include\OgrePagingLandScapeSceneManager.h(233) : error C2143: syntax error : missing ';' before '&'
..\include\OgrePagingLandScapeSceneManager.h(233) : error C2501: 'Ogre::PagingLandScapeSceneManager::EntityList' : missing storage-class or type specifiers
..\include\OgrePagingLandScapeSceneManager.h(234) : error C2501: 'Ogre::PagingLandScapeSceneManager::getEntities' : missing storage-class or type specifiers
..\include\OgrePagingLandScapeSceneManager.h(236) : warning C4183: 'getEntities': missing return type; assumed to be a member function returning 'int'
OgrePagingLandScapeCamera.cpp
..\include\OgrePagingLandScapeSceneManager.h(233) : error C2143: syntax error : missing ';' before '&'
..\include\OgrePagingLandScapeSceneManager.h(233) : error C2501: 'Ogre::PagingLandScapeSceneManager::EntityList' : missing storage-class or type specifiers
..\include\OgrePagingLandScapeSceneManager.h(234) : error C2501: 'Ogre::PagingLandScapeSceneManager::getEntities' : missing storage-class or type specifiers
..\include\OgrePagingLandScapeSceneManager.h(236) : warning C4183: 'getEntities': missing return type; assumed to be a member function returning 'int'

Build log was saved at "file://f:\Gaming Software\Ogre\Cvs downloads\ogrenew\PlugIns\PagingLandScape2\obj\Release\BuildLog.htm"
Plugin_PagingLandScapeSceneManager2 - 33 error(s), 6 warning(s)


---------------------- Done ----------------------

Build: 0 succeeded, 1 failed, 0 skipped

tuan kuranes

13-10-2005 20:29:42

plsm2 CVS need Ogre CVS HEAD. (dagon ogre version => ogre 1.1)
it doesn't compile against ogre CVS azatoth. (1.06) unless you use PLSM2 SDK compatible source.

Jeff_Gos

13-10-2005 20:49:52

This is all very confusing :?

I have installed the latest VC++ Ogre SDK
It gives all prebuilt *.lib's and dlls

Now I have the latest binaries and source of PLSM2
I want to use PLSM2 in my own app.

I don't really want o rebuild any Ogre or PLSM2 stuff
I just want to use it in my own app

What do I do?
Do I need to install DirectX SDK?

tuan kuranes

13-10-2005 21:02:53

if you're using vc7.1, just download the binary int the following thread, it includes OGRE + PLSM2 in binary form.

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