Hi Adrian,
>From a quick parsing of the output you gave, I think the problem is
that Xcode is trying to build both i386 and ppc (for a Universal
target), but it's failing in linking with ppc libraries.
Try to set the architecture to only i386 in the project info (Option +
i for OpenSceneGraph in the project window) [I'm doing this w/o my mac,
so I might give wonky window names :]
To use cmake on Osx :
1. download & install Osx version
2. open-up Terminal
3. cd to the parent of OpenSceneGraph svn check-out
4. mkdir build-osg && cd build-osg
5. cmake -G Xcode ..\OpenSceneGraph\ [make sure -G is the generator
switch, cmake --help ]
6. ls -l [ there should have been generated OpenSceneGraph.xcode
directory ]
7. open OpenSceneGraph.xcode
You will have to do this first with OpenThreads, it's exactly the same
if you flip the names.
I hope this will helps you.
Cheers
Mihai
Adrian Egli wrote:
hi robert
sorry about my short email. i had two problems with the latest SVN
version:
first is the build with Xcode under Mac OS/X tiger. i get the long link
error. i tried to
link with a /System/Library/Frameworks/AGL.framework. but it doesn't
help i still get these link errors. I have to say that i am a really
new on OS/X. I had some chf left, and i buied a
MAC BOOK PRO dual intel.
second problem is, that i never used cmake. i tried to build with cmake
. but i doesn't work. how should i try to build it with cmake.
thanks a have nice weekend, i go for snowboarding so i will be back
monday
/adegli
2007/3/10, Robert Osfield <[EMAIL PROTECTED]>:
Hi
Adrian,
I could parse your email easily, so am a bit losts to what platform
and build environment your are using.
Are you using cmake? How did you run it? What hardware are you
working on?
Robert.
On 3/9/07, Adrian Egli <[EMAIL PROTECTED]> wrote:
> hi i working on testing under osx. the SVN version under windows
VS 2003
> works without any problems.
> but now under osX i cant compile it.
>
> nor with Xcode nor with cmake.
>
>
> Xcode :
> can find
>
> (OpenThreads and Xcode ok)
> cd
>
/Users/PWD/dev/OPENSCENEGRAPH_CVS/OpenSceneGraph/Xcode/OpenSceneGraph
> /usr/bin/g++-4.0 -o
>
/Users/PWD/dev/OPENSCENEGRAPH_CVS/OpenSceneGraph/Xcode/OpenSceneGraph/build/OpenSceneGraph.build/Default/osgViewer.build/Objects-normal/ppc/osgViewer
>
-L/Users/PWD/dev/OPENSCENEGRAPH_CVS/OpenSceneGraph/Xcode/OpenSceneGraph/build/Default
>
-F/Users/PWD/dev/OPENSCENEGRAPH_CVS/OpenSceneGraph/Xcode/OpenSceneGraph/build/Default
> -F../../../OpenThreads/Xcode/OpenThreads/build/Default
> -F/Users/PWD/Library/Frameworks
> -F/Developer/SDKs/MacOSX10.4u.sdk/Library/Frameworks
> -filelist
>
/Users/PWD/dev/OPENSCENEGRAPH_CVS/OpenSceneGraph/Xcode/OpenSceneGraph/build/OpenSceneGraph.build/Default/osgViewer.build/Objects-normal/ppc/osgViewer.LinkFileList
> -framework osgText -framework OpenGL -framework osg -framework
osgUtil
>
/Users/PWD/dev/OPENSCENEGRAPH_CVS/OpenThreads/Xcode/OpenThreads/build/Default/OpenThreads.framework/OpenThreads
> -framework osgDB -framework osgGA -arch ppc -Wl,-single_module
>
>
> cmake: what should i know, and how can i compile it. first time i
have to
> use cmake
>
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
|
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/