Problem running demo/installing

Night Elf

11-08-2006 20:46:33

Hi, I'm trying to run the precompiled demo, but I can't even get the MapSplitter to run. I always get errors about missing files...

I've also tried installing the source and building. But I still get errors when trying to run the MapSplitter:

16:14:19: Creating resource group PLSM2
16:14:19: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 8
Function: FileSystemArchive::changeDirectory
Description: Cannot open requested directory ../../../../../ogreaddons/paginglandscape/Samples/Media/paginglandscape2.
File: e:\projects\ogrecvs\branches\dagon_vc8_clean\ogrenew\ogremain\src\ogrefilesystem.cpp
Line: 141
Stack unwinding: <<beginning of stack>>
16:14:19: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 8
Function: FileSystemArchive::changeDirectory
Description: Cannot open requested directory ../../../paginglandscape/Samples/Media/paginglandscape2.
File: e:\projects\ogrecvs\branches\dagon_vc8_clean\ogrenew\ogremain\src\ogrefilesystem.cpp
Line: 141
Stack unwinding: <<beginning of stack>>
16:14:19: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 8
Function: ResourceGroupManager::openResource
Description: Cannot locate resource maptool.cfg in resource group General or any other group..
File: e:\projects\ogrecvs\branches\dagon_vc8_clean\ogrenew\ogremain\src\ogreresourcegroupmanager.cpp
Line: 583
Stack unwinding: <<beginning of stack>>


What am I doing wrong?

Mr. Awesome

12-08-2006 01:29:42

The mapsplitter works by searching two directory types. The first one is ../../../../../ogreaddons/paginglandscape and the second is ../../../paginglandscape. You need to make sure that the root of the PLSM2 is one of those directories, then everything should work fine.