Frag91
22-03-2007 11:12:49
Well, i succes compile paginglandscapemanager2 by adding to
/PLSM2_ROOT/Samples/PagingLandScape2/src/Makefile the following lines:
CXXFLAGS = $(shell pkg-config --cflags $(LIBS)) $(DEFINES) -lOIS
LIBS = -lILU -lIL -lz -lm -ldl -lOIS
@webmaster:
In PLSM2 cvs, the configure script doesn't check the OIS libs, please fix this
Well, in Samples/Common/bin, i can run the ./MapSplitter without errors, but when i try to run
./PagingLandScape2
Everithing is ok until i get the ogre configure dialog where I CAN SELECT NO ONE RENDERING ENGINE!!
Obvisiously i get this error:
An exception has occured: OGRE EXCEPTION(1:InvalidStateException): Cannot initialise - no render system has been selected. in Root::initialise at OgreRoot.cpp (line 482)
*-*-* OGRE Shutdown
I have Ogre 1.4_RC2 and the samples work fine, but why PagingLandScape2 doesn't work?
nindim
22-03-2007 14:35:19
Have you got both the correct plugins and resources files in there? PLSM2 looks for resources_plsm2.cfg and Plugins_plsm2.cfg. Are your render systems defined in there? Also, I take it you have the correct dlls in the exes directory...? Thats all I can think of without more information, maybe you could post your log?
Frag91
22-03-2007 16:06:29
Well, now i can select the rendering engine (OpenGL) but when i try to run the app i get this error:
(gdb log)
Freetype returned null for character 129 in font BlueHighway
Info: Freetype returned null for character 130 in font BlueHighway
Info: Freetype returned null for character 131 in font BlueHighway
Info: Freetype returned null for character 132 in font BlueHighway
Info: Freetype returned null for character 133 in font BlueHighway
Info: Freetype returned null for character 134 in font BlueHighway
Info: Freetype returned null for character 135 in font BlueHighway
Info: Freetype returned null for character 136 in font BlueHighway
Info: Freetype returned null for character 137 in font BlueHighway
Info: Freetype returned null for character 138 in font BlueHighway
Info: Freetype returned null for character 139 in font BlueHighway
Info: Freetype returned null for character 140 in font BlueHighway
Info: Freetype returned null for character 141 in font BlueHighway
Info: Freetype returned null for character 142 in font BlueHighway
Info: Freetype returned null for character 143 in font BlueHighway
Info: Freetype returned null for character 144 in font BlueHighway
Info: Freetype returned null for character 145 in font BlueHighway
Info: Freetype returned null for character 146 in font BlueHighway
Info: Freetype returned null for character 147 in font BlueHighway
Info: Freetype returned null for character 148 in font BlueHighway
Info: Freetype returned null for character 149 in font BlueHighway
Info: Freetype returned null for character 150 in font BlueHighway
Info: Freetype returned null for character 151 in font BlueHighway
Info: Freetype returned null for character 152 in font BlueHighway
Info: Freetype returned null for character 153 in font BlueHighway
Info: Freetype returned null for character 154 in font BlueHighway
Info: Freetype returned null for character 155 in font BlueHighway
Info: Freetype returned null for character 156 in font BlueHighway
Info: Freetype returned null for character 157 in font BlueHighway
Info: Freetype returned null for character 158 in font BlueHighway
Info: Freetype returned null for character 159 in font BlueHighway
Info: Freetype returned null for character 160 in font BlueHighway
Texture: BlueHighwayTexture: Loading 1 faces(PF_BYTE_LA,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_BYTE_LA,512x512x1.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1232410944 (LWP 11115)]
0xb6a19be4 in FreeImage_SetTagValue () from /usr/lib/libfreeimage.so.3
Should i recompile freeImage?
If, in the PagingLandscape2Application.h
I change these lines:
virtual void loadResources(void)
{
// Initialise, parse scripts etc
// ResourceGroupManager::getSingleton().initialiseAllResourceGroups();
ResourceGroupManager::getSingleton().initialiseResourceGroup(ResourceGroupManager::BOOTSTRAP_RESOURCE_GROUP_NAME);
ResourceGroupManager::getSingleton().initialiseResourceGroup("General");
}
in
virtual void loadResources(void)
{
// Initialise, parse scripts etc
ResourceGroupManager::getSingleton().initialiseAllResourceGroups();
// ResourceGroupManager::getSingleton().initialiseResourceGroup(ResourceGroupManager::BOOTSTRAP_RESOURCE_GROUP_NAME);
// ResourceGroupManager::getSingleton().initialiseResourceGroup("General");
}
i get this error:
Parsing script PLSplattingShaderUnlitDecompress.material
Parsing script BaseTexture.material
Parsing script PagingLandScapeTemplate.material
Parsing script Splatting7.material
Parsing script MyTree.material
Parsing script PagingLandScape.overlay
Parsing script DebugOverlay.overlay
Parsing script PagingLandScape2.overlay
Finished parsing scripts for resource group PLSM2
Initialising resource group PLSM2
Texture: flare.png: Loading 1 faces(PF_R8G8B8,256x256x1) with 8 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
The program '<unknown>' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
(Details: serial 7 error_code 3 request_code 2 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
Program exited with code 01.
Plz help me
Frag91
23-03-2007 16:33:54
C'mon, no one compiled PLSM2 on ogre Eihort on linux?
James Jeffers
25-03-2007 22:24:00
I've been struggling with getting the PLSM2 to build under Linux. It doesn't appear to be any sort of continuous integration with respect to Linux. This makes me sad.