Well that didn't work, the scons build files needed a lot of updated
to work on OS X. I have done that and OgreNewt builds properly. Now
I just need to be able to wrap it. There is something up with the
includes or something, because this is happening:
INFO gccxml cmd: /opt/ram/python-ogre/development/root/usr/bin/gccxml
-I"/opt/ram/python-ogre/development/python-ogre" -I"/opt/ram/python-
ogre/development/root/usr/include/boost-1_34_1" -I"/opt/ram/python-
ogre/development/root/usr/include" -I"/opt/ram/python-ogre/development/
ogrenew/OgreMain/include" -I"/opt/ram/python-ogre/development/root/usr/
include/OgreNewt" -I"/Library/Frameworks/Python.framework/Versions/2.5/
include/python2.5" -I"/Developer/SDKs/MacOSX10.4u.sdk/Developer/
Headers/CFMCarbon" -D"ogrenewt_NONCLIENT_BUILD" -
D"OGRE_NONCLIENT_BUILD" -D"OIS_NONCLIENT_BUILD" -D"OIS_STATIC_BUILD"
"/opt/ram/python-ogre/development/python-ogre/code_generators/ogrenewt/
python_ogrenewt.h" -fxml="/opt/ram/python-ogre/development/python-ogre/
code_generators/cache/ogrenewt_1.0_cache.xml"
Traceback (most recent call last):
File "generate_code.py", line 281, in <module>
generate_ogrenewt()
File "generate_code.py", line 213, in generate_ogrenewt
, indexing_suite_version=2 )
File "/opt/ram/python-ogre/development/python-ogre/root/usr/lib/
python2.5/site-packages/pyplusplus/module_builder/builder.py", line
90, in __init__
File "/opt/ram/python-ogre/development/python-ogre/root/usr/lib/
python2.5/site-packages/pyplusplus/module_builder/builder.py", line
144, in __parse_declarations
File "/opt/ram/python-ogre/development/python-ogre/root/usr/lib/
python2.5/site-packages/pygccxml/parser/project_reader.py", line 225,
in read_files
File "/opt/ram/python-ogre/development/python-ogre/root/usr/lib/
python2.5/site-packages/pygccxml/parser/project_reader.py", line 262,
in __parse_file_by_file
File "/opt/ram/python-ogre/development/python-ogre/root/usr/lib/
python2.5/site-packages/pygccxml/parser/source_reader.py", line 170,
in create_xml_file
pygccxml.parser.source_reader.gccxml_runtime_error_t: Error occured
while running GCC-XML: In file included from /Developer/SDKs/
MacOSX10.4u.sdk/Developer/Headers/CFMCarbon/CoreFoundation/
CoreFoundation.h:38,
from /opt/ram/python-ogre/development/ogrenew/
OgreMain/include/OgreStdHeaders.h:91,
from /opt/ram/python-ogre/development/ogrenew/
OgreMain/include/OgreMemoryManager.h:46,
from /opt/ram/python-ogre/development/ogrenew/
OgreMain/include/OgrePrerequisites.h:87,
from /opt/ram/python-ogre/development/ogrenew/
OgreMain/include/Ogre.h:32,
from /opt/ram/python-ogre/development/root/usr/
include/OgreNewt/OgreNewt_World.h:13,
from /opt/ram/python-ogre/development/root/usr/
include/OgreNewt/OgreNewt.h:23,
from /opt/ram/python-ogre/development/python-ogre/
code_generators/ogrenewt/python_ogrenewt.h:5:
/Developer/SDKs/MacOSX10.4u.sdk/Developer/Headers/CFMCarbon/
CoreFoundation/CFBase.h:32:79: error: CoreServices/../Frameworks/
CarbonCore.framework/Headers/MacTypes.h: No such file or directory
Any ideas?
-Joe