This happens with every Ogre demo I've opened so far.
I feel like I'm very, very close to getting this to work on OS X.
> Did ogre actually build?? I think the tar errors are fine as it's an
> issue with the way the ogre source has been built...
> Check root/usr/lib for the Ogre libraries
> Andy
> On 22/01/2008, Alex Trujillo < phycofal...@gmail.com> wrote:
> > I'm trying this build again, this time with OS X 10.4.11 with Xcode
> > 2.4.1.
> > Two things I need to point out:
> > Step 2: python python-ogre/BuildModule.py -r -b cmake gccxml boost
> > pygccxml cg scons
> > gccxml takes a very long time to pull from CVS, I'm not sure why.
> > The log looks pretty plain to me, though (other than that it takes over
> > ten minutes to get from CVS):
> > 01-21 14:59 PythonOgre.BuildModule INFO Retrieving -d :
> > pserver:anon...@www.gccxml.org:/cvsroot/GCC_XML co gccxml
> > 01-21 14:59 PythonOgre.BuildModule DEBUG Spawning 'cvs -z3 -q -d :
> > pserver:anon...@www.gccxml.org:/cvsroot/GCC_XML co gccxml' in
> > '/Users/alex/development'
> > 01-21 15:10 PythonOgre.BuildModule INFO Build Command mkdir -p
> > gccxml-build
> > 01-21 15:10 PythonOgre.BuildModule DEBUG Spawning 'mkdir -p
> > gccxml-build' in '/Users/alex/development'
> > 01-21 15:10 PythonOgre.BuildModule INFO Build Command cmake
> > ../gccxml -DCMAKE_INSTALL_PREFIX:PATH=/Users/alex/development/root/usr
> > 01-21 15:10 PythonOgre.BuildModule DEBUG Spawning 'cmake ../gccxml
> > -DCMAKE_INSTALL_PREFIX:PATH=/Users/alex/development/root/usr' in
> > '/Users/alex/development/gccxml-build'
> > 01-21 15:10 PythonOgre.BuildModule INFO Build Command make
> > 01-21 15:10 PythonOgre.BuildModule DEBUG Spawning 'make' in
> > '/Users/alex/development/gccxml-build'
> > 01-21 15:10 PythonOgre.BuildModule INFO Build Command make install
> > 01-21 15:10 PythonOgre.BuildModule DEBUG Spawning 'make install' in
> > '/Users/alex/development/gccxml-build'
> > Step 3: python python-ogre/BuildModule.py -r -b ogre
> > This step gives me warnings that it fails when running commands like mv,
> > cp, mkdir, and tar due to permissions.
> > 01-21 15:22 PythonOgre.BuildModule INFO Build Command tar jxf
> > /Users/alex/development/downloads/ogre-linux_osx-v1-4-6.tar.bz2--overwrite
> > 01-21 15:22 PythonOgre.BuildModule DEBUG Spawning 'tar jxf
> > /Users/alex/development/downloads/ogre-linux_osx- v1-4-6.tar.bz2--overwrite' in '/Users/alex/development'
> > 01-21 15:22 PythonOgre.BuildModule WARNING Task Failed
> > 01-21 15:22 PythonOgre.BuildModule DEBUG
> > 01-21 15:22 PythonOgre.BuildModule DEBUG tar: ogrenew/CVS/Root:
> > Cannot open: Permission denied
> > tar: ogrenew/CVS/Repository: Cannot open: Permission denied
> > ...
> > So, to recap, gccxml install is slow (and probably is running into
> > problems), and permissions problems on step 3. I don't think it matters
> > much, but I used ActiveState's python distro.
> > - Alex
> > On Jan 18, 2008 4:49 PM, JosephLisee < jli...@gmail.com> wrote:
> > > I could probably figure this out if I was able to get at the gccxml
> > > command line that is use to build the Ogre xml file. But it does not
> > > seem to log like the others. Ie, I just get any error messages, not
> > > what its actually doing. Do you you no how to on the logging for the
> > > ogre module?
> > > I tried the Ogre demos, and at the basic level they do work.
> > > -Joe
> > > On Jan 18, 6:00pm, JosephLisee < jli...@gmail.com > wrote:
> > > > 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
> > > > On Jan 18, 12:56am, "Andy Miller" < nzmill...@gmail.com> wrote:
> > > > > I updated environment.py in the svn to fix the ogrenewt build..
> > > > > so you need to do an svn update and then...
> > > > > BuildModule.py -r -b newton
> > > > > BuildModule.py -r -b ogrenewt
> > > > > BuildModule.py -g -c ogrenewt
> > > > > regards
> > > > > Andy
> > > > > On 18/01/2008, JosephLisee < jli...@gmail.com> wrote:
> > > > > > Cool. I am still working on getting OgreNewt to work (Ogre, OIS,
> > > and
> > > > > > OgreNewt are required for my current project). Ogre and OIS both
> > > > > > built there wrappers successfully and I will try them out in a
> > > bit.
> > > > > > Now to brave the snow and get cracking on this.
> > > > > > -Joe
> > > > > > On Jan 16, 11:48 pm, "Andy Miller" <nzmill...@gmail.com > wrote:
> > > > > > > Send me the changes you make to environment.py and/or
> > > > > > > PythonOgreConfig_posix.py and I'll incorporate them..
> > > > > > > Once we have a fully working release for version 1.2 I'll look
> > > to fix
> > > > > > the
> > > > > > > gcc and other cvs/svn modules.
> > > > > > > Regards
> > > > > > > Andy
> > > > > > > On 17/01/2008, JosephLisee < jli...@gmail.com > wrote:
> > > > > > > > So I fixed the GCC-XML error by pointing it at the GCC-XML
> > > installed
> > > > > > > > in root/usr, still compiling the Ogre as I speak.
> > > > > > > > -Joe