mansu
14-12-2005 19:26:05
Hi,
I have tried installing Pyogre on debian(unstable) and it wasn't smooth. I had ogre 1.0.5 on my machine with libcegui 0.3.0. This setup ran all the demos and some of the programs i worked on from the tutorials.
These are the steps i did:
This code generated the swig bindings for ogre .It gave many warnings.
But it failed for cegui with an error saying that CEGUIUDim.h was not found. Then i installed CEGUI 0.4.1 from source in /usr/local and it failed to compile for Demo4. Since it was a test i ignored it and went ahead with the installation. The installation went ok as far as the libraries were concerned. I am ok with not having CCEGUI now.
But when i ran a demo in pyogre demos, i get a seg fault.
One change i see from the ogre is that the swig is compiled with g++4.0 and IMO ogre (on debian unstale) is still on 3.x. Can this be a reason?
I also do not have an NVidia card.So this is useless on my machine. Is there a way to disable this plugin?
I have tried installing Pyogre on debian(unstable) and it wasn't smooth. I had ogre 1.0.5 on my machine with libcegui 0.3.0. This setup ran all the demos and some of the programs i worked on from the tutorials.
These are the steps i did:
python setup.py install
This code generated the swig bindings for ogre .It gave many warnings.
But it failed for cegui with an error saying that CEGUIUDim.h was not found. Then i installed CEGUI 0.4.1 from source in /usr/local and it failed to compile for Demo4. Since it was a test i ignored it and went ahead with the installation. The installation went ok as far as the libraries were concerned. I am ok with not having CCEGUI now.
But when i ran a demo in pyogre demos, i get a seg fault.
suman@suman:~/downloads/DL/ogre/pyogre-1.0.6-0/demos$ python ogre/CelShadingDemo.py
Creating resource group General
Registering ResourceManager for type Material
Registering ResourceManager for type Mesh
Registering ResourceManager for type Skeleton
Loading library libOgrePlatform.so
OverlayElementFactory for type Panel registered.
OverlayElementFactory for type BorderPanel registered.
OverlayElementFactory for type TextArea registered.
Registering ResourceManager for type Font
ArchiveFactory for archive type FileSystem registered.
ArchiveFactory for archive type Zip registered.
DevIL version: Developer's Image Library (DevIL) 1.6.7 Jul 21 2005
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
Registering ResourceManager for type HighLevelGpuProgram
Loading library /usr/lib/OGRE/RenderSystem_GL.so
OpenGL Rendering Subsystem created.
Loading library /usr/lib/OGRE/Plugin_ParticleFX.so
Particle Emitter Type 'Point' registered
Particle Emitter Type 'Box' registered
Particle Emitter Type 'Ellipsoid' registered
Particle Emitter Type 'Cylinder' registered
Particle Emitter Type 'Ring' registered
Particle Emitter Type 'HollowEllipsoid' registered
Particle Affector Type 'LinearForce' registered
Particle Affector Type 'ColourFader' registered
Particle Affector Type 'ColourFader2' registered
Particle Affector Type 'ColourImage' registered
Particle Affector Type 'ColourInterpolator' registered
Particle Affector Type 'Scaler' registered
Particle Affector Type 'Rotator' registered
Loading library /usr/lib/OGRE/Plugin_BSPSceneManager.so
Registering ResourceManager for type BspLevel
Loading library /usr/lib/OGRE/Plugin_OctreeSceneManager.so
TerrainSceneManager: Registered a new PageSource for type Heightmap
Loading library /usr/lib/OGRE/Plugin_EXRCodec.so
EXRCodec initialised
Loading library /usr/lib/OGRE/Plugin_CgProgramManager.so
Segmentation fault
suman@suman:~/downloads/DL/ogre/pyogre-1.0.6-0/demos$ vi ogre/
One change i see from the ogre is that the swig is compiled with g++4.0 and IMO ogre (on debian unstale) is still on 3.x. Can this be a reason?
I also do not have an NVidia card.So this is useless on my machine. Is there a way to disable this plugin?