Drewu
02-02-2008 21:45:44
Hey all
Just got done building from source and also building the package and have had some success running the demos in ~/development/python-ogre/demos/ogre but only after modifying the plugins.cfg file to be like the one in step 4 of the build guide. Why or how this works I do not know, so correct me if I'm wrong but that's what worked
.
I noticed something in the instructions that wasn't quite right. For instance the end of step 4 leaves you in ~/development/ogrenew/Samples/Common/bin, while the beginning of step 5 expects you to be in ~/development... now this could be some kind of idiot test (that I passed!) but I don't think it makes for a smooth build process
.
Overall though the build process seemed very thought out, kudos to Andy
Now the problem is that when I run some of the demos they fail, like so:
I also built all the mentioned modules, hoping maybe one of them might fix it. They seemed to build ok, with maybe the exception of ode, but that didn't seem to fix the problem. I also tried running the demos in ~/development/python-ogre/demos/ogreode and came up with a similar error:
This happened even after I adjusted the plugin.cfg in that directory to look like the other one:
Just got done building from source and also building the package and have had some success running the demos in ~/development/python-ogre/demos/ogre but only after modifying the plugins.cfg file to be like the one in step 4 of the build guide. Why or how this works I do not know, so correct me if I'm wrong but that's what worked

I noticed something in the instructions that wasn't quite right. For instance the end of step 4 leaves you in ~/development/ogrenew/Samples/Common/bin, while the beginning of step 5 expects you to be in ~/development... now this could be some kind of idiot test (that I passed!) but I don't think it makes for a smooth build process

Overall though the build process seemed very thought out, kudos to Andy

Now the problem is that when I run some of the demos they fail, like so:
abuser-desktop% pwd
/home/abuser/development/python-ogre/demos/ogre
abuser-desktop% python Demo_Compositor.py
Traceback (most recent call last):
File "Demo_Compositor.py", line 17, in <module>
import ogre.gui.CEGUI as CEGUI
File "/home/abuser/development/root/usr/lib/python2.5/site-packages/ogre/gui/CEGUI/__init__.py", line 9, in <module>
from _cegui_ import *
ImportError: No module named _cegui_
I also built all the mentioned modules, hoping maybe one of them might fix it. They seemed to build ok, with maybe the exception of ode, but that didn't seem to fix the problem. I also tried running the demos in ~/development/python-ogre/demos/ogreode and came up with a similar error:
abuser-desktop% pwd
/home/abuser/development/python-ogre/demos/ogreode
abuser-desktop% python SimpleScenes_BoxStack.py
Traceback (most recent call last):
File "SimpleScenes_BoxStack.py", line 10, in <module>
from SimpleScenes import *##.py
File "/home/abuser/development/python-ogre/demos/ogreode/SimpleScenes.py", line 6, in <module>
import ogre.renderer.OGRE as ogre
ImportError: No module named ogre.renderer.OGRE
This happened even after I adjusted the plugin.cfg in that directory to look like the other one:
# Defines plugins to load
# Define plugin folder
# CHANGE THIS TO YOUR PATH
PluginFolder=/home/abuser/development/root/usr/lib/OGRE
# Define D3D rendering implementation plugin
Plugin=RenderSystem_GL.so
Plugin=Plugin_ParticleFX.so
Plugin=Plugin_BSPSceneManager.so
Plugin=Plugin_OctreeSceneManager.so
Plugin=Plugin_CgProgramManager.so