Compile problems

burak

19-01-2006 11:41:35

Hi all,

I've downloaded plsm2 from cvs at 19.01.2006 and i got the following compile errors. I've decided to post it here before diving in the code.
I have Directx 9.0c , MS Visual C++ 7.1 and Win XP

Thanks for any help.


c:\ogrenew\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOcclusionQuerySet.cpp(49): error C2039: 'destroyHardwareOcclusionQuery' : is not a member of 'Ogre::RenderSystem'
c:\ogrenew\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOctreeIntersectionSceneQuery.cpp(66): error C2039: 'MovableObjectFactoryIterator' : is not a member of 'Ogre::Root'
c:\ogrenew\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOctreeIntersectionSceneQuery.cpp(66): error C2065: 'MovableObjectFactoryIterator' : undeclared identifier
c:\ogrenew\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOctreeIntersectionSceneQuery.cpp(66): error C2146: syntax error : missing ';' before identifier 'factIt'
c:\ogrenew\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOctreeIntersectionSceneQuery.cpp(66): error C2065: 'factIt' : undeclared identifier
c:\ogrenew\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOctreeIntersectionSceneQuery.cpp(67): error C2039: 'getMovableObjectFactoryIterator' : is not a member of 'Ogre::Root'
..\..\..\..\..\OgreMain\include\OgreRoot.h(61) : see declaration of 'Ogre::Root'
c:\ogrenew\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOctreeIntersectionSceneQuery.cpp(68): error C2228: left of '.hasMoreElements' must have class/struct/union type
c:\ogrenew\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOctreeIntersectionSceneQuery.cpp(68): error C3861: 'factIt': identifier not found, even with argument-dependent lookup
c:\ogrenew\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOctreeIntersectionSceneQuery.cpp(68): fatal error C1903: unable to recover from previous error(s); stopping compilation
c:\ogrenew\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOctreeSceneManager.cpp(424): error C2039: 'destroyCamera' : is not a member of 'Ogre::SceneManager'
c:\ogrenew\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOctreeSceneManager.cpp(990): error C2039: 'setCurrentPassIterationCount' : is not a member of 'Ogre::RenderSystem'
c:\ogrenew\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOctreeNode.cpp(163): error C2039: 'getDisplaySceneNodes' : is not a member of 'Ogre::SceneManager'
c:\ogrenew\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOctreeCamera.cpp(95): error C2039: 'getDestinationRenderSystem' : is not a member of 'Ogre::SceneManager'
c:\ogrenew\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOctreeCamera.cpp(95): error C2227: left of '->getCapabilities' must point to class/struct/union
c:\ogrenew\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOctreeCamera.cpp(95): error C2227: left of '->hasCapability' must point to class/struct/union
c:\ogrenew\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeRenderableManager.cpp(239): error C2259: 'Ogre::PagingLandScapeRenderable' : cannot instantiate abstract class
c:\ogrenew\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeRenderable.cpp(90): error C2039: 'WORLD_GEOMETRY_TYPE_MASK' : is not a member of 'Ogre::SceneManager'
c:\ogrenew\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeRenderable.cpp(90): error C2065: 'WORLD_GEOMETRY_TYPE_MASK' : undeclared identifier
c:\ogrenew\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeRenderable.cpp(201): error C2065: 'mName' : undeclared identifier
c:\ogrenew\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeRenderable.cpp(207): error C2065: 'mUpperDistance' : undeclared identifier
c:\ogrenew\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeRenderable.cpp(482): error C3861: 'mName': identifier not found, even with argument-dependent lookup
c:\ogrenew\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeRenderable.cpp(510): error C2065: 'mBeyondFarDistance' : undeclared identifier
c:\ogrenew\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeRenderable.cpp(510): error C3861: 'mUpperDistance': identifier not found, even with argument-dependent lookup
c:\ogrenew\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeRenderable.cpp(511): error C3861: 'mBeyondFarDistance': identifier not found, even with argument-dependent lookup
c:\ogrenew\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeRenderable.cpp(1081): error C2039: 'WORLD_GEOMETRY_TYPE_MASK' : is not a member of 'Ogre::SceneManager'
c:\ogrenew\OgreMain\include\OgreSceneManager.h(77) : see declaration of 'Ogre::SceneManager'
c:\ogrenew\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeRenderable.cpp(1081): error C3861: 'WORLD_GEOMETRY_TYPE_MASK': identifier not found, even with argument-dependent lookup
c:\ogrenew\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapePageRenderable.cpp(66): error C2664: 'Ogre::MovableObject::MovableObject(const Ogre::MovableObject &)' : cannot convert parameter 1 from 'const Ogre::String' to 'const Ogre::MovableObject &'
c:\ogrenew\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapePageRenderable.cpp(306): error C2039: 'WORLD_GEOMETRY_TYPE_MASK' : is not a member of 'Ogre::SceneManager'
c:\ogrenew\OgreMain\include\OgreSceneManager.h(77) : see declaration of 'Ogre::SceneManager'
c:\ogrenew\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapePageRenderable.cpp(306): error C2065: 'WORLD_GEOMETRY_TYPE_MASK' : undeclared identifier
c:\ogrenew\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapePage.cpp(153): error C2259: 'Ogre::PagingLandScapePageRenderable' : cannot instantiate abstract class
c:\ogrenew\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeData2DManager.cpp(701): error C2660: 'Ogre::Math::pointInTri2D' : function does not take 4 arguments
c:\ogrenew\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeData2DManager.cpp(713): error C2660: 'Ogre::Math::pointInTri2D' : function does not take 4 arguments
c:\ogrenew\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\src\OgrePagingLandScapeData2DManager.cpp(713): fatal error C1903: unable to recover from previous error(s); stopping compilation

tuan kuranes

19-01-2006 11:45:03

CVS plsm2 need cvs ogree head (dagon)

burak

19-01-2006 12:38:37

hi again,

could someone give me the tortoise settings for getting (HEAD) dagon branch of ogre plz? :oops:
i followed up the sticky guide in help forum to get ogrenew and it is ok without any problems. I replaced ogrenew with ogreaddons as the module name and cvs downloaded the addons also without any problem. What can i do to get plsm2 compile well?

Thanks.

tuan kuranes

19-01-2006 12:46:06

read this

Or if you feel brave download plsm2 new source SDK here

burak

19-01-2006 16:59:05

i deleted out all the contents of the ogrenew folder and run below command in wincvs command line ;

cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ogre co -P -A ogrenew

-A option was clearly not necessary as i've cleared out the folder already but i'm not that brave ;). Wincvs 'checks out' and as i've figured I get the latest unstable 'HEAD' development branch and after downloading the dependencies hopefully plsm2 will compile. I've worked for integrating Newton with ogres Terrain Scene Manager. It works great except some very little penetrations. I've debugged the whole terrain with dynamically rendered lines and it seems that the problem is what Newton gets is not the bezier patches but the rectangles!. Anyway..dynamically deforming feature of plsm2 is great. I'd like to integrate it to Newton also. As it is a childs toy to pass the heightmap data to Newton i might work on the real problems and other features like deforming.
Thanks for the link.. it helped a lot. I think i aint read some manuals before rushing to post here and take ppl's time.

tuan kuranes

19-01-2006 17:06:57

be sure to read and/or complete the wiki page about plsm2 integration with newton

burak

20-01-2006 11:07:59

I've downloaded VC70 version of dependencies accidentally. I cleaned the previous build. Updated ogre by reseting any sticky tags ..deleted the contents of dependencies folder and extracted OgreDependencies_VC71_1.1.0 to ogrenew. Assuming i have the HEAD branch now i still get the following errors. :?:


OgreMain warning LNK4099: PDB 'vc70.pdb' was not found with '..\..\Dependencies\lib\Debug\zziplibd.lib' or at 'c:\ogrenew\OgreMain\lib\Debug\vc70.pdb'; linking object as if no debug info

....


OgreGUIRenderer error LNK2001: unresolved external symbol "public: virtual void __thiscall CEGUI::OgreCEGUIResourceProvider::unloadRawDataContainer(class CEGUI::RawDataContainer &)" (?unloadRawDataContainer@OgreCEGUIResourceProvider@CEGUI@@UAEXAAVRawDataContainer@2@@Z)
OgreGUIRenderer error LNK2019: unresolved external symbol "__declspec(dllimport) class CEGUI::String __cdecl CEGUI::operator+(class CEGUI::String,class CEGUI::String const &)" (__imp_??HCEGUI@@YA?AVString@0@V10@ABV10@@Z) referenced in function "public: virtual void __thiscall CEGUI::OgreCEGUIResourceProvider::loadRawDataContainer(class CEGUI::String const &,class CEGUI::RawDataContainer &,class CEGUI::String const &)" (?loadRawDataContainer@OgreCEGUIResourceProvider@CEGUI@@UAEXABVString@2@AAVRawDataContainer@2@0@Z)
OgreGUIRenderer error LNK2019: unresolved external

.....

tuan kuranes

20-01-2006 11:25:33

seems an ogre - cegui problem... cannot help much... did you take dagon dependencies ?

burak

20-01-2006 11:38:48

no. to be honest i' havent heard of dagon dependencies. how can i get it? (Wincvs)

tuan kuranes

20-01-2006 12:01:12

I saw that one day in ogre forum...
did you try looking into early dagon sdk pack ?

http://www.ogre3d.org/phpBB2/viewtopic. ... pendencies

burak

20-01-2006 13:05:53

Thank you very much for quick help. I will copy the CEGUI libraries from Ogre SDK Alpha 1.1 to my dependencies. Unresolved externals tell that CEGUI libraries are not up to date.
Lets see what happens.