[Help] Compiling, VC++8, Using CVS January 28

ricardo_arango

28-01-2006 19:29:33

I downloaded the CVS (January 28,2006) version of both Ogre, and the Addons, copied \PlugIns, \Samples and \Tools from ogreaddons\paginglandscape to \ogrenew, and plsm2_vc8.sln.

Tried to compile, and got the following errors:

OgrePagingLandScapeTextureManager.cpp
..\src\OgrePagingLandScapeTextureManager.cpp(309) : error C2027: use of undefined type 'Ogre::MaterialManager'
c:\ogre\ogrenew\ogremain\include\OgrePrerequisites.h(256) : see declaration of 'Ogre::MaterialManager'
..\src\OgrePagingLandScapeTextureManager.cpp(309) : error C2039: 'getByName' : is not a member of 'Ogre::PagingLandScapeTextureManager'
c:\OGRE\ogrenew\PlugIns\PagingLandScape2\include\OgrePagingLandScapeTextureManager.h(27) : see declaration of 'Ogre::PagingLandScapeTextureManager'
..\src\OgrePagingLandScapeTextureManager.cpp(312) : error C2027: use of undefined type 'Ogre::MaterialManager'
c:\ogre\ogrenew\ogremain\include\OgrePrerequisites.h(256) : see declaration of 'Ogre::MaterialManager'
..\src\OgrePagingLandScapeTextureManager.cpp(313) : error C2039: 'getByName' : is not a member of 'Ogre::PagingLandScapeTextureManager'
c:\OGRE\ogrenew\PlugIns\PagingLandScape2\include\OgrePagingLandScapeTextureManager.h(27) : see declaration of 'Ogre::PagingLandScapeTextureManager'

I fixed those errors with this -> #include "OgreMaterialManager.h"

But then I also get this one

OgrePagingLandScapeOctreeSceneManager.cpp
..\src\OgrePagingLandScapeOctreeSceneManager.cpp(991) : error C3861: 'setPass': identifier not found

And No idea what to do about that one..

Please Help...

Sarev0k

28-01-2006 20:33:34

I just recently checked out the PLSM from CVS last night and I the error

..\src\OgrePagingLandScapeOctreeSceneManager.cpp(991) : error C3861: 'setPass': identifier not found

Any idea of what might be the problem?

Sarev0k

28-01-2006 22:20:46

ok solved the problem, change setPass to _setPass and that should get things working for ya. From the looks of it, it looked like like the function name was changed in the OGRE source recently and Tuan didn't have a chance to migrate those changes to the PLSM yet.

Hope this helps

ricardo_arango

28-01-2006 22:56:27

You're right...

Weird that I searched for setPass in all of the files using the search tool in windows and it didn't find it, so i tought they had just erased it or something!

Sarev0k

28-01-2006 23:46:49

That windows search tool is crap, I can never get it to find any text inside of files, I find that the search tool in Visual Studio is MUCH better :)

tuan kuranes

29-01-2006 12:55:30

Tuan didn't have a chance to migrate those changes to the PLSM yet
Exaclty. now fixed in CVS