VC++9.0 PLSM project compile issues

seljo

09-03-2009 19:56:48

I found the following errors while compiling the latest source from SVN in VS 2008 (VC++9.0). Manually correcting the file extensions enabled the project to compile. Though, on each error, I would have to clean and build from scratch, else I got an "unable to open file" error on the .pdb files for the project.

Compile errors for Plugin_PagingLandScapeSceneManager2 sln in VS2009

'..\src\OgrePagingLandScapeOctreePlaneBoundedVolumeListSceneQuery.cp'
'..\src\OgrePagingLandScapeTexture_InstantBaseTextureShadowed.cp'

--- missing 'p' in .cpp extension

corrected:
'..\src\OgrePagingLandScapeOctreePlaneBoundedVolumeListSceneQuery.cpp'
'..\src\OgrePagingLandScapeTexture_InstantBaseTextureShadowed.cpp'

..\include\
OgrePagingLandScapeTexture_InstantBaseTextureEdit
OgrePagingLandScapeData2D_HeightFieldBlendNeighbor
OgrePagingLandScapeOctreeAxisAlignedBoxSceneQuery
OgrePagingLandScapeOctreePlaneBoundedVolumeListSceneQuery

--- missing '.h' extensions

Corrected:

..\include\
OgrePagingLandScapeTexture_InstantBaseTextureEdit.h
OgrePagingLandScapeData2D_HeightFieldBlendNeighbor.h
OgrePagingLandScapeOctreeAxisAlignedBoxSceneQuery.h
OgrePagingLandScapeOctreePlaneBoundedVolumeListSceneQuery.h

Hopes this helps some one else get the project built faster than I did.

Nktug

24-08-2009 13:23:37

I am successful compile PLSM + Ogre CVS 1.2.1 with VC++ 9.0 without changing any file source except for "GOOFPagingLandscapeEditorPlugin" specified in the wiki.

You have to use :

PLSM SVN revision 2181 if you are using Ogre CVS revision 1.2.1
CEGUI 0.4.0 version (the last one does not work)

Other :

To compile Boost 1.33.1 with VC++ 9.0 (not supported in this version).
Fallow this link :
http://www.elpauer.org/?p=246

Add Zlib and libnoise

Good luke