team23
21-05-2008 05:32:18
So I'm trying to wrap up newt for a Mac build of my current project and I'm in a bit over my head.
What I've done:
Attempted building normally using BuildModule.py for "newton ogrenewt". This fails due to a missing Ogre.pc file, my understanding is that Ogre doesn't support this type of building on a Mac, you have to use XCode.
So now I've build newton using an XCode project I found on the OgreNewt forums. I've built it and got my .a file but now I'm not sure what I need to do in order to wrap this up. When I attempt the wrapping step of BuildModule I get an error looking for a .../include/OgreNewt folder. What should be in this folder? I'm assuming I can manually fill it in using the XCode project and hopefully pick up where I left off. I've attempted to pull in all of the .h files from the OgreNewt project and rerun the wrapper building but I'm getting the below error now. I'm not sure where to go now, I should have CoreFoundation
Any help with this would be appreciated. I'm fairly new to building from source so I may be totally screwing this up. I've already tried dressing up like the guy on the Mac commercial, sadly that didn't help...
What I've done:
Attempted building normally using BuildModule.py for "newton ogrenewt". This fails due to a missing Ogre.pc file, my understanding is that Ogre doesn't support this type of building on a Mac, you have to use XCode.
So now I've build newton using an XCode project I found on the OgreNewt forums. I've built it and got my .a file but now I'm not sure what I need to do in order to wrap this up. When I attempt the wrapping step of BuildModule I get an error looking for a .../include/OgreNewt folder. What should be in this folder? I'm assuming I can manually fill it in using the XCode project and hopefully pick up where I left off. I've attempted to pull in all of the .h files from the OgreNewt project and rerun the wrapper building but I'm getting the below error now. I'm not sure where to go now, I should have CoreFoundation
Any help with this would be appreciated. I'm fairly new to building from source so I may be totally screwing this up. I've already tried dressing up like the guy on the Mac commercial, sadly that didn't help...
05-20 21:25 PythonOgre.BuildModule INFO Building Source code for ogrenewt
05-20 21:25 PythonOgre.BuildModule DEBUG Spawning 'python generate_code.py' in '/Users/teamtwentythree/development/python-ogre/code_generators/ogrenewt'
05-20 21:25 PythonOgre.BuildModule WARNING Task Failed
05-20 21:25 PythonOgre.BuildModule DEBUG
05-20 21:25 PythonOgre.BuildModule DEBUG INFO Creating xml file "/Users/teamtwentythree/development/python-ogre/code_generators/cache/ogrenewt_1.0_cache.xml" from source file "/Users/teamtwentythree/development/python-ogre/code_generators/ogrenewt/python_ogrenewt.h" ...
INFO gccxml cmd: /Users/teamtwentythree/development/root/usr/bin/gccxml -I"/Users/teamtwentythree/development/python-ogre" -I"/Users/teamtwentythree/development/root/usr/include/boost-1_34_1" -I"/Users/teamtwentythree/development/newtonSDK/sdk" -I"/Users/teamtwentythree/development/ogrenew/OgreMain/include" -I"/Users/teamtwentythree/development/root/usr/include/OgreNewt" -I"/Users/teamtwentythree/development/ogrenew/Dependencies/include" -I"/Developer/SDKs/MacOSX10.5.sdk/Developer/Headers/FlatCarbon" -D"ogrenewt_NONCLIENT_BUILD" -D"OGRE_NONCLIENT_BUILD" -D"OIS_NONCLIENT_BUILD" -D"OIS_STATIC_BUILD" "/Users/teamtwentythree/development/python-ogre/code_generators/ogrenewt/python_ogrenewt.h" -fxml="/Users/teamtwentythree/development/python-ogre/code_generators/cache/ogrenewt_1.0_cache.xml"
Traceback (most recent call last):
File "generate_code.py", line 286, in <module>
generate_ogrenewt()
File "generate_code.py", line 218, in generate_ogrenewt
, indexing_suite_version=2 )
File "/Users/teamtwentythree/development/root/usr/lib/python2.5/site-packages/pyplusplus/module_builder/builder.py", line 90, in __init__
, indexing_suite_version)
File "/Users/teamtwentythree/development/root/usr/lib/python2.5/site-packages/pyplusplus/module_builder/builder.py", line 144, in __parse_declarations
decls = reader.read_files( files, compilation_mode )
File "/Users/teamtwentythree/development/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 "/Users/teamtwentythree/development/root/usr/lib/python2.5/site-packages/pygccxml/parser/project_reader.py", line 262, in __parse_file_by_file
reader.create_xml_file( header, prj_file.cached_source_file )
File "/Users/teamtwentythree/development/root/usr/lib/python2.5/site-packages/pygccxml/parser/source_reader.py", line 169, in create_xml_file
raise error
pygccxml.parser.source_reader.gccxml_runtime_error_t: Error occured while running GCC-XML: In file included from /Users/teamtwentythree/development/ogrenew/OgreMain/include/OgreMemoryManager.h:46,
from /Users/teamtwentythree/development/ogrenew/OgreMain/include/OgrePrerequisites.h:87,
from /Users/teamtwentythree/development/ogrenew/OgreMain/include/Ogre.h:32,
from /Users/teamtwentythree/development/root/usr/include/OgreNewt/OgreNewt_World.h:14,
from /Users/teamtwentythree/development/root/usr/include/OgreNewt/OgreNewt.h:23,
from /Users/teamtwentythree/development/python-ogre/code_generators/ogrenewt/python_ogrenewt.h:5:
/Users/teamtwentythree/development/ogrenew/OgreMain/include/OgreStdHeaders.h:91:46: error: CoreFoundation/CoreFoundation.h: No such file or directory