STEP 5: -g OIS CeGUI failing [SOLVED] windows binary+wine

rdrey

14-04-2009 11:41:59

Hi eyeryone!

Can you give me a quick estimate of how much of my internet cap I will use when I follow the linux source route? Unfortunately internet is not uncapped in South Africa or at my university...

Second question: I have compiled standard c++ ogre from source before (new to Python), which installation steps can I skip / how does the wrapping process with Py++ work AND how do I specify my existing Ogre1.6 to be wrapped?

Thanks, greets from today's surprisingly warm Cape Town

Rainer

EDIT: Decided to finish the downloads, stuck on step5.

EDIT2: Running python ogre from within wine on my ubuntu machine now. Binary release works like a bomb!

rdrey

20-04-2009 16:50:43

Hi all

decided to proceed with LinuxBuildV2, stuck on step 5. Ogre wrapped and compiled successfully, but ois and cegui are failing: This is the output from the -g -c ois cegui command:

04-20 17:54 PythonOgre.BuildModule INFO Building Source code for ois
04-20 17:54 PythonOgre.BuildModule DEBUG Spawning 'python generate_code.py' in '/home/rdrey/workspace/pyogre/python-ogre/code_generators/ois'
04-20 17:54 PythonOgre.BuildModule WARNING Task Failed
04-20 17:54 PythonOgre.BuildModule DEBUG
04-20 17:54 PythonOgre.BuildModule DEBUG INFO Parsing xml file "/home/rdrey/workspace/pyogre/python-ogre/code_generators/cache/ois_1.0_cache.xml" ...
INFO GCCXML version - 0.9( 1.127 )
Traceback (most recent call last):
File "generate_code.py", line 326, in <module>
generate_code()
File "generate_code.py", line 243, in generate_code
, cflags=environment.ois.cflags
File "/home/rdrey/workspace/pyogre/root/usr/lib/python2.5/site-packages/pyplusplus/module_builder/boost_python_builder.py", line 88, in __init__
, indexing_suite_version)
File "/home/rdrey/workspace/pyogre/root/usr/lib/python2.5/site-packages/pyplusplus/module_builder/boost_python_builder.py", line 130, in __parse_declarations
decls = reader.read_files( files, compilation_mode )
File "/home/rdrey/workspace/pyogre/root/usr/lib/python2.5/site-packages/pygccxml/parser/project_reader.py", line 225, in read_files
return self.__parse_file_by_file(files)
File "/home/rdrey/workspace/pyogre/root/usr/lib/python2.5/site-packages/pygccxml/parser/project_reader.py", line 264, in __parse_file_by_file
decls = reader.read_xml_file( prj_file.cached_source_file )
File "/home/rdrey/workspace/pyogre/root/usr/lib/python2.5/site-packages/pygccxml/parser/source_reader.py", line 245, in read_xml_file
declarations, files = self.__parse_gccxml_created_file( ffname )
File "/home/rdrey/workspace/pyogre/root/usr/lib/python2.5/site-packages/pygccxml/parser/source_reader.py", line 294, in __parse_gccxml_created_file
scanner_.read()
File "/home/rdrey/workspace/pyogre/root/usr/lib/python2.5/site-packages/pygccxml/parser/etree_scanner.py", line 43, in read
for event, elem in context:
File "<string>", line 68, in __iter__
SyntaxError: unclosed token: line 5421, column 2

04-20 17:54 PythonOgre.BuildModule INFO Building Source code for cegui
04-20 17:54 PythonOgre.BuildModule DEBUG Spawning 'python generate_code.py' in '/home/rdrey/workspace/pyogre/python-ogre/code_generators/cegui'
04-20 17:54 PythonOgre.BuildModule WARNING Task Failed
04-20 17:54 PythonOgre.BuildModule DEBUG
04-20 17:54 PythonOgre.BuildModule DEBUG INFO Parsing xml file "/home/rdrey/workspace/pyogre/python-ogre/code_generators/cache/cegui_0.6.2b_cache.xml" ...
Traceback (most recent call last):
File "generate_code.py", line 348, in <module>
generate_code()
File "generate_code.py", line 281, in generate_code
, cflags=environment.ogre.cflags
File "/home/rdrey/workspace/pyogre/root/usr/lib/python2.5/site-packages/pyplusplus/module_builder/boost_python_builder.py", line 88, in __init__
, indexing_suite_version)
File "/home/rdrey/workspace/pyogre/root/usr/lib/python2.5/site-packages/pyplusplus/module_builder/boost_python_builder.py", line 130, in __parse_declarations
decls = reader.read_files( files, compilation_mode )
File "/home/rdrey/workspace/pyogre/root/usr/lib/python2.5/site-packages/pygccxml/parser/project_reader.py", line 225, in read_files
return self.__parse_file_by_file(files)
File "/home/rdrey/workspace/pyogre/root/usr/lib/python2.5/site-packages/pygccxml/parser/project_reader.py", line 264, in __parse_file_by_file
decls = reader.read_xml_file( prj_file.cached_source_file )
File "/home/rdrey/workspace/pyogre/root/usr/lib/python2.5/site-packages/pygccxml/parser/source_reader.py", line 245, in read_xml_file
declarations, files = self.__parse_gccxml_created_file( ffname )
File "/home/rdrey/workspace/pyogre/root/usr/lib/python2.5/site-packages/pygccxml/parser/source_reader.py", line 294, in __parse_gccxml_created_file
scanner_.read()
File "/home/rdrey/workspace/pyogre/root/usr/lib/python2.5/site-packages/pygccxml/parser/etree_scanner.py", line 43, in read
for event, elem in context:
File "<string>", line 68, in __iter__
SyntaxError: no element found: line 1, column 0


Any help would be appreciated, I feel like I'm close to the finish line!

The C++ samples are running beautifully, by the way. Just the wrapp-job for ois and cegui is failing. Can I test pyOgre without using ois and cegui somehow? Could one of the demos work already?

Thanks,
Rainer