[SOLVED]Mapsplitter error

Lshink

20-04-2006 05:30:26

I've just downloaded Ogre 1.2.0RC2 source and have tried to get PLSM2 source to run on it using VC++ 2003 (7.1).

After moving all of the appropriate files, I got stuck on this error when I tried to run mapsplitter:

00:09:24: Creating resource group General
00:09:24: Creating resource group Internal
00:09:24: Creating resource group Autodetect
00:09:24: Registering ResourceManager for type Material
00:09:24: Registering ResourceManager for type Mesh
00:09:24: Registering ResourceManager for type Skeleton
00:09:24: MovableObjectFactory for type 'ParticleSystem' registered.
00:09:24: Loading library OgrePlatform.dll
00:09:24: OverlayElementFactory for type Panel registered.
00:09:24: OverlayElementFactory for type BorderPanel registered.
00:09:24: OverlayElementFactory for type TextArea registered.
00:09:24: Registering ResourceManager for type Font
00:09:24: ArchiveFactory for archive type FileSystem registered.
00:09:24: ArchiveFactory for archive type Zip registered.
00:09:24: DevIL version: Developer's Image Library (DevIL) 1.6.7 Oct 28 2005
00:09:24: DevIL image formats: bmp dib cut dcx dds gif hdr ico cur jpg jpe jpeg lif mdl mng jng pcx pic pix png pbm pgm pnm ppm psd pdd psp pxr sgi bw rgb rgba tga vda icb vst tif tiff wal xpm raw
00:09:24: Registering ResourceManager for type HighLevelGpuProgram
00:09:24: Registering ResourceManager for type Compositor
00:09:24: MovableObjectFactory for type 'Entity' registered.
00:09:24: MovableObjectFactory for type 'Light' registered.
00:09:24: MovableObjectFactory for type 'BillboardSet' registered.
00:09:24: MovableObjectFactory for type 'ManualObject' registered.
00:09:24: MovableObjectFactory for type 'BillboardChain' registered.
00:09:24: MovableObjectFactory for type 'RibbonTrail' registered.
00:09:24: Loading library .\RenderSystem_Direct3D9
00:09:24: D3D9 : Direct3D9 Rendering Subsystem created.
00:09:24: D3D9: Driver Detection Starts
00:09:24: D3D9: Driver Detection Ends
00:09:24: Loading library .\RenderSystem_GL
00:09:24: OpenGL Rendering Subsystem created.
00:09:24: Loading library .\Plugin_ParticleFX
00:09:24: Particle Emitter Type 'Point' registered
00:09:24: Particle Emitter Type 'Box' registered
00:09:24: Particle Emitter Type 'Ellipsoid' registered
00:09:24: Particle Emitter Type 'Cylinder' registered
00:09:24: Particle Emitter Type 'Ring' registered
00:09:24: Particle Emitter Type 'HollowEllipsoid' registered
00:09:24: Particle Affector Type 'LinearForce' registered
00:09:24: Particle Affector Type 'ColourFader' registered
00:09:24: Particle Affector Type 'ColourFader2' registered
00:09:24: Particle Affector Type 'ColourImage' registered
00:09:24: Particle Affector Type 'ColourInterpolator' registered
00:09:24: Particle Affector Type 'Scaler' registered
00:09:24: Particle Affector Type 'Rotator' registered
00:09:24: Particle Affector Type 'DirectionRandomiser' registered
00:09:24: Particle Affector Type 'DeflectorPlane' registered
00:09:24: Loading library .\Plugin_CgProgramManager
00:09:24: Loading library .\Plugin_PagingLandScapeSceneManager2
00:09:24: *-*-* OGRE Initialising
00:09:24: *-*-* Version 1.2.0 (Dagon)
00:09:24: Creating resource group Bootstrap
00:09:24: Added resource location '../../media/packs/OgreCore.zip' of type 'Zip' to resource group 'Bootstrap'
00:09:24: Added resource location '../../media' of type 'FileSystem' to resource group 'General'
00:09:24: Added resource location '../../media/fonts' of type 'FileSystem' to resource group 'General'
00:09:24: Added resource location '../../media/materials/programs' of type 'FileSystem' to resource group 'General'
00:09:24: Added resource location '../../media/materials/scripts' of type 'FileSystem' to resource group 'General'
00:09:24: Added resource location '../../media/materials/textures' of type 'FileSystem' to resource group 'General'
00:09:24: Added resource location '../../media/models' of type 'FileSystem' to resource group 'General'
00:09:24: Added resource location '../../media/overlays' of type 'FileSystem' to resource group 'General'
00:09:24: Added resource location '../../media/particle' of type 'FileSystem' to resource group 'General'
00:09:24: Added resource location '../../media/gui' of type 'FileSystem' to resource group 'General'
00:09:24: Creating resource group PLSM2
00:09:24: Added resource location '../../Media/paginglandscape2' of type 'FileSystem' to resource group 'PLSM2'
00:09:24: Added resource location '../../Media/paginglandscape2/gui' of type 'FileSystem' to resource group 'PLSM2'
00:09:24: Added resource location '../../Media/paginglandscape2/fonts' of type 'FileSystem' to resource group 'PLSM2'
00:09:24: Added resource location '../../Media/paginglandscape2/models' of type 'FileSystem' to resource group 'PLSM2'
00:09:24: Added resource location '../../Media/paginglandscape2/overlays' of type 'FileSystem' to resource group 'PLSM2'
00:09:24: Added resource location '../../Media/paginglandscape2/materials' of type 'FileSystem' to resource group 'PLSM2'
00:09:24: Added resource location '../../Media/paginglandscape2/materials/scripts' of type 'FileSystem' to resource group 'PLSM2'
00:09:24: Added resource location '../../Media/paginglandscape2/materials/textures' of type 'FileSystem' to resource group 'PLSM2'
00:09:24: Added resource location '../../Media/paginglandscape2/materials/programs' of type 'FileSystem' to resource group 'PLSM2'
00:09:24: Added resource location '../../Media/paginglandscape2/datasrcs' of type 'FileSystem' to resource group 'PLSM2'
00:09:24: Added resource location '../../Media/paginglandscape2/terrains' of type 'FileSystem' to resource group 'PLSM2'
00:09:24: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 7
Function: PagingLandScapeOptions::load
Description: You need to define a GroupName where to find the map definition file .
File: \Documents and Settings\Lshink\Desktop\Ogre1.2.0RC2\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOptions.cpp
Line: 264
Stack unwinding: <<beginning of stack>>


I have a GroupName defined in my paginglandscape2.cfg (I havn't changed it at all). Yet I'm getting this error, any ideas?

Thanks in advance :)

LeTitoulet

20-04-2006 09:44:51

The same error for me !
There is a problem with all the configFile parsing in PLSM2 ...
For example, the key "GroupName" in paginglandscape2.cfg is read "upName" .... the seek in files seems to be corrupted .. :?:

Back to RC1 there is no problem.

Falagard

20-04-2006 13:37:29

The config file reading code in RC2 has changed, I read in Dagon RC2 notes. Perhaps that's the problem, I haven't yet tried RC2.

CaseyB

20-04-2006 16:10:24

I am having a problem with RC2 as well. I built my app and it ran fine under RC1, but with RC2 it crashes and the ogre.log file says-----------------------------------
Details:
-----------------------------------
Error #: 7
Function: PagingLandScapeOptions::load
Description: You need to define a GroupName where to find the map definition file .
File: ..\src\OgrePagingLandScapeOptions.cpp
Line: 273
Stack unwinding: <<beginning of stack>>

tuan kuranes

21-04-2006 21:33:20

source updated to be in synch with 1.2rc2.
Sorry for the delay.

Lshink

22-04-2006 23:52:38

Ok, the mapsplitter runs flawlessly now. However when I then try to run the demo, I get the same result:


-----------------------------------
Details:
-----------------------------------
Error #: 7
Function: PagingLandScapeOptions::load
Description: You need to define a GroupName where to find the map definition file .
File: \Documents and Settings\Lshink\Desktop\Ogre1.2.0RC2\ogrenew\PlugIns\PagingLandScape2\src\OgrePagingLandScapeOptions.cpp
Line: 264
Stack unwinding: <<beginning of stack>>


EDIT: Nevermind, I fixed it. My mistake :)