Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Tested Mac OS X (OSXBuildV2) on a Tiger (i.e. v10.4.10 with xcode 2.4.1) report...
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post will appear after it is approved by moderators
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Alex Trujillo  
View profile  
 More options Jan 26 2008, 3:09 pm
From: "Alex Trujillo" <phycofal...@gmail.com>
Date: Sat, 26 Jan 2008 13:09:41 -0700
Local: Sat, Jan 26 2008 3:09 pm
Subject: Re: [python-ogre] Re: Tested Mac OS X (OSXBuildV2) on a Tiger (i.e. v10.4.10 with xcode 2.4.1) report...

Apparently I had already built C++ ogre at an earlier date, and took the
shortcut of using the same directory again with a new SVN version. I guess
that doesn't work. :)

At any rate, I noticed you had added r557 to the repo, and it fixed one of
my earlier difficulties. After a few more days of futzing with the
installation, I'm pretty sure that the Python-Ogre library is built. I can
import ogre in the command line, however, when trying to run the demos, I
get this error, after adding the recommended library paths to the session:
export LD_LIBRARY_PATH=~/development/root/usr/lib/
export PYTHONPATH=~/development/root/usr/lib/python2.5/site-packages
python /Users/alex/development/python-ogre/demos/noise/Demo_Noise_01.py
Traceback (most recent call last):
  File "/Users/alex/development/python-ogre/demos/noise/Demo_Noise_01.py",
line 15, in <module>
    import ogre.renderer.OGRE as ogre
  File
"/Users/alex/development/root/usr/lib/python2.5/site-packages/ogre/renderer /OGRE/__init__.py",
line 10, in <module>
    from _ogre_ import *
ImportError:
dlopen(/Users/alex/development/root/usr/lib/python2.5/site-packages/ogre/re nderer/OGRE/_ogre_.so,
2): Library not loaded: bin.v2
/libs/python/build/darwin/release/libboost_python-1_34_1.dylib
  Referenced from:
/Users/alex/development/root/usr/lib/python2.5/site-packages/ogre/renderer/ OGRE/_ogre_.so
  Reason: image not found

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.

- Alex

On Jan 21, 2008 6:14 PM, Andy Miller < nzmill...@gmail.com> wrote:

> 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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.