SuperMegaMau
30-11-2006 19:33:48
hi,
I was trying to build the last CVS version of PagingLandscape and I got this error message:
I'm using Ogre 1.2.4 and GCC 4.1.1
I was trying to build the last CVS version of PagingLandscape and I got this error message:
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../PlugIns/PagingLandScape2/include -DEXT_HASH -I/usr/include/OGRE -g -O2 -MT OgrePagingLandScapeAxisAlignedBoxSceneQuery.lo -MD -MP -MF .deps/OgrePagingLandScapeAxisAlignedBoxSceneQuery.Tpo -c OgrePagingLandScapeAxisAlignedBoxSceneQuery.cpp -fPIC -DPIC -o .libs/OgrePagingLandScapeAxisAlignedBoxSceneQuery.o
OgrePagingLandScapeAxisAlignedBoxSceneQuery.cpp: In member function 'bool<unnamed>::LodTracker::GetWorldVertex(int, int, Ogre::Vector3&)':
OgrePagingLandScapeAxisAlignedBoxSceneQuery.cpp:272: error: invalid use of undefined type 'const struct Ogre::PagingLandScapePage'
../../../PlugIns/PagingLandScape2/include/OgrePagingLandScapePrerequisites.h:124: error: forward declaration of 'const struct Ogre::PagingLandScapePage'
OgrePagingLandScapeAxisAlignedBoxSceneQuery.cpp:277: error: invalid use of undefined type 'const struct Ogre::PagingLandScapeData2D'
../../../PlugIns/PagingLandScape2/include/OgrePagingLandScapePrerequisites.h:179: error: forward declaration of 'const struct Ogre::PagingLandScapeData2D'
OgrePagingLandScapeAxisAlignedBoxSceneQuery.cpp:278: error: invalid use of undefined type 'const struct Ogre::PagingLandScapePage'
../../../PlugIns/PagingLandScape2/include/OgrePagingLandScapePrerequisites.h:124: error: forward declaration of 'const struct Ogre::PagingLandScapePage'
OgrePagingLandScapeAxisAlignedBoxSceneQuery.cpp: In member function 'void<unnamed>::LodTracker::SetPage(const Ogre::PagingLandScapePage*)':
OgrePagingLandScapeAxisAlignedBoxSceneQuery.cpp:289: error: invalid use of undefined type 'const struct Ogre::PagingLandScapePage'
../../../PlugIns/PagingLandScape2/include/OgrePagingLandScapePrerequisites.h:124: error: forward declaration of 'const struct Ogre::PagingLandScapePage'
OgrePagingLandScapeAxisAlignedBoxSceneQuery.cpp:291: error: invalid use of undefined type 'const struct Ogre::PagingLandScapePage'
../../../PlugIns/PagingLandScape2/include/OgrePagingLandScapePrerequisites.h:124: error: forward declaration of 'const struct Ogre::PagingLandScapePage'
OgrePagingLandScapeAxisAlignedBoxSceneQuery.cpp: In member function 'void<unnamed>::LodTracker::SetPage(int, int)':
OgrePagingLandScapeAxisAlignedBoxSceneQuery.cpp:299: error: invalid use of undefined type 'struct Ogre::PagingLandScapePageManager'
../../../PlugIns/PagingLandScape2/include/OgrePagingLandScapePrerequisites.h:126: error: forward declaration of 'struct Ogre::PagingLandScapePageManager'
OgrePagingLandScapeAxisAlignedBoxSceneQuery.cpp:300: error: invalid use of undefined type 'const struct Ogre::PagingLandScapePage'
../../../PlugIns/PagingLandScape2/include/OgrePagingLandScapePrerequisites.h:124: error: forward declaration of 'const struct Ogre::PagingLandScapePage'
OgrePagingLandScapeAxisAlignedBoxSceneQuery.cpp: In member function 'void<unnamed>::LodTracker::UpdateTile(int, int)':
OgrePagingLandScapeAxisAlignedBoxSceneQuery.cpp:311: error: invalid use of undefined type 'const struct Ogre::PagingLandScapePage'
../../../PlugIns/PagingLandScape2/include/OgrePagingLandScapePrerequisites.h:124: error: forward declaration of 'const struct Ogre::PagingLandScapePage'
OgrePagingLandScapeAxisAlignedBoxSceneQuery.cpp:315: error: invalid use of undefined type 'struct Ogre::PagingLandScapeTile'
../../../PlugIns/PagingLandScape2/include/OgrePagingLandScapePrerequisites.h:155: error: forward declaration of 'struct Ogre::PagingLandScapeTile'
OgrePagingLandScapeAxisAlignedBoxSceneQuery.cpp:315: error: invalid use of undefined type 'struct Ogre::PagingLandScapeTile'
../../../PlugIns/PagingLandScape2/include/OgrePagingLandScapePrerequisites.h:155: error: forward declaration of 'struct Ogre::PagingLandScapeTile'
OgrePagingLandScapeAxisAlignedBoxSceneQuery.cpp:316: error: invalid use of undefined type 'struct Ogre::PagingLandScapeTile'
../../../PlugIns/PagingLandScape2/include/OgrePagingLandScapePrerequisites.h:155: error: forward declaration of 'struct Ogre::PagingLandScapeTile'
OgrePagingLandScapeAxisAlignedBoxSceneQuery.cpp: In member function 'virtual void Ogre::PagingLandScapeAxisAlignedBoxSceneQuery::execute(Ogre::SceneQueryListener*)':
OgrePagingLandScapeAxisAlignedBoxSceneQuery.cpp:617: warning: passing 'const Ogre::Real' for argument 2 to '<unnamed>::LodTracker::LodTracker(Ogre::Vector3, int, int, Ogre::uint, Ogre::uint, Ogre::uint, Ogre::PagingLandScapePageManager*, Ogre::PagingLandScapeData2DManager*)'
OgrePagingLandScapeAxisAlignedBoxSceneQuery.cpp:617: warning: passing 'const Ogre::Real' for argument 3 to '<unnamed>::LodTracker::LodTracker(Ogre::Vector3, int, int, Ogre::uint, Ogre::uint, Ogre::uint, Ogre::PagingLandScapePageManager*, Ogre::PagingLandScapeData2DManager*)'
make[4]: *** [OgrePagingLandScapeAxisAlignedBoxSceneQuery.lo] Error 1
I'm using Ogre 1.2.4 and GCC 4.1.1