track07
26-10-2012 15:31:06
I had alot of problems installing pyogre but everything was resolved until now when i do not know what to do:
Everything was fine(no errors on installing with commands from wiki) until I went open Demo_Grass.py and I had an error.I read a post from this forum and I gave this command in terminal
and i had an BIG error in log.out.
This is log.out( I don't know what to do from here
)
and this is the error when i try
Everything was fine(no errors on installing with commands from wiki) until I went open Demo_Grass.py and I had an error.I read a post from this forum and I gave this command in terminal
sudo python python-ogre/BuildModule.py -g -c ogre
and i had an BIG error in log.out.
This is log.out( I don't know what to do from here

10-26 17:22 PythonOgre.BuildModule INFO Building Source code for ogre
10-26 17:22 PythonOgre.BuildModule DEBUG Spawning 'python generate_code.py' in '/home/track07/dev/python-ogre/code_generators/ogre'
10-26 17:22 PythonOgre.BuildModule WARNING Task Failed
10-26 17:22 PythonOgre.BuildModule DEBUG
10-26 17:22 PythonOgre.BuildModule DEBUG Traceback (most recent call last):
File "generate_code.py", line 1713, in <module>
generate_code()
File "generate_code.py", line 1448, in generate_code
, cflags=environment.ogre.cflags
File "/usr/local/lib/python2.6/dist-packages/pyplusplus/module_builder/boost_python_builder.py", line 95, in __init__
, indexing_suite_version)
File "/usr/local/lib/python2.6/dist-packages/pyplusplus/module_builder/boost_python_builder.py", line 138, in __parse_declarations
decls = reader.read_files( files, compilation_mode )
File "/usr/local/lib/python2.6/dist-packages/pygccxml/parser/project_reader.py", line 217, in read_files
return self.__parse_file_by_file(files)
File "/usr/local/lib/python2.6/dist-packages/pygccxml/parser/project_reader.py", line 238, in __parse_file_by_file
, self.__decl_factory )
File "/usr/local/lib/python2.6/dist-packages/pygccxml/parser/source_reader.py", line 88, in __init__
self.__config.raise_on_wrong_settings()
File "/usr/local/lib/python2.6/dist-packages/pygccxml/parser/config.py", line 173, in raise_on_wrong_settings
super( gccxml_configuration_t, self ).raise_on_wrong_settings()
File "/usr/local/lib/python2.6/dist-packages/pygccxml/parser/config.py", line 113, in raise_on_wrong_settings
, self.include_paths )
File "/usr/local/lib/python2.6/dist-packages/pygccxml/parser/config.py", line 112, in <lambda>
map( lambda idir: self.__ensure_dir_exists( idir, 'include directory' )
File "/usr/local/lib/python2.6/dist-packages/pygccxml/parser/config.py", line 104, in __ensure_dir_exists
raise RuntimeError( '%s("%s") does not exist!' % ( meaning, dir_path ) )
RuntimeError: include directory("/home/track07/dev/root/usr/include/boost") does not exist!
10-26 17:22 PythonOgre.BuildModule INFO Compiling Source code for ogre
10-26 17:22 PythonOgre.BuildModule DEBUG Spawning 'scons -j1
and this is the error when i try
python Demo_Grass.py
File "Demo_Grass.py", line 32, in <module>
import ogre.renderer.OGRE as ogre
File "/usr/local/lib/python2.6/dist-packages/ogre/renderer/OGRE/__init__.py", line 10, in <module>
from _ogre_ import *
ImportError: dynamic module does not define init function (init_ogre_)