Falagard
02-03-2006 06:04:53
Tuan,
Just thought I'd give you a quick note on what it took to get PLM2 running out of CVS. All of this was from debug configuration btw, as well as bin\debug
There were 2 compile errors, one with MapSplitter tool - had to manually add OgrePagingLandScape2DDataManager.cpp, and one with PLM2 Demo - had to remove #if !defined _DEBUG from PagingLandscape.cpp, but you know about those and may be fixed already.
Some things aren't documented and immediately obvious.
I downloaded datasrcs and extracted to the media folder. I got latest Ogre and PLM2, copied Tools, Samples, Plugins into ogrenew folder. I didn't copy any files from the binary demo that is available from your site (perhaps this is part of the problem).
1. MapSplitter doesn't get post build copied to Samples\Common so that had to be done manually, as well as copying maptool.cfg from the ogrenew\Tools\MapSplitter directory.
When attempting to run the PLM2 demo after compiling, it gave me error about TsmTerrain (couldn't find something or other, since mapsplittter hadn't actually split that map only the puget sound map, it wasn't found). I manually edited the paginglandscape2.cfg to look like this:
Meaning I changed the default map to puget_sound and commented out the #terrain_scene_manager=tsmterrain line.
The next problem I had was that splatting_sand.png could not be found. Apparently it isn't included in CVS, as well as the other splatting_xxx.png so I renamed them .jpg which were included.
Now it ran.
Let me know if I missed any steps, but if I did I think we need to highlight them better in the wiki because I read and followed everything I could read and follow. It would be best if this thing ran with as little problems as possible. Of course it didn't take me long to find and fix but others may not be so lucky.
Clay
Just thought I'd give you a quick note on what it took to get PLM2 running out of CVS. All of this was from debug configuration btw, as well as bin\debug
There were 2 compile errors, one with MapSplitter tool - had to manually add OgrePagingLandScape2DDataManager.cpp, and one with PLM2 Demo - had to remove #if !defined _DEBUG from PagingLandscape.cpp, but you know about those and may be fixed already.
Some things aren't documented and immediately obvious.
I downloaded datasrcs and extracted to the media folder. I got latest Ogre and PLM2, copied Tools, Samples, Plugins into ogrenew folder. I didn't copy any files from the binary demo that is available from your site (perhaps this is part of the problem).
1. MapSplitter doesn't get post build copied to Samples\Common so that had to be done manually, as well as copying maptool.cfg from the ogrenew\Tools\MapSplitter directory.
When attempting to run the PLM2 demo after compiling, it gave me error about TsmTerrain (couldn't find something or other, since mapsplittter hadn't actually split that map only the puget sound map, it wasn't found). I manually edited the paginglandscape2.cfg to look like this:
DefaultMap=puget_sound
puget_sound=ps_height_1k
#grand_canyon=gcanyon_height_4k2k
#terragen_generated=terragen16bits
#European_Alpes=Alpes
#Terrain_Scene_Manager_Terrain=TsmTerrain
def=Default
# resource group name where to find map definition
GroupName=PLSM2
# Try forbidden textureformat combinations
TextureFormatDebug=no
Meaning I changed the default map to puget_sound and commented out the #terrain_scene_manager=tsmterrain line.
The next problem I had was that splatting_sand.png could not be found. Apparently it isn't included in CVS, as well as the other splatting_xxx.png so I renamed them .jpg which were included.
Now it ran.
Let me know if I missed any steps, but if I did I think we need to highlight them better in the wiki because I read and followed everything I could read and follow. It would be best if this thing ran with as little problems as possible. Of course it didn't take me long to find and fix but others may not be so lucky.
Clay