What is the the suggested method to fix the build(ie avoid linking errors)
on OSX 10.5 with CMake?Our app doesn't use frameworks etc so I run into the
"freetype" linking error during compile. I'm not all that familiar
with CMake so other than setting the couple of freetype path variables in
the ccmake gui, I don't know
where to tweek the build so that it picks up the correct libs. As a side
note, I upgrade from Tiger to Leopard
rather than a new install. I'm running on a fairly new mbp (received in
oct).

Here is the exact error:
[ 86%] Built target osgdb_qt
Linking CXX shared module ../../../lib/osgPlugins-2.2.0/osgdb_freetype.so
ld: cycle in dylib re-exports with
/Developer/SDKs/MacOSX10.5.sdk/usr/X11/lib/libGL.dylib for architecture i386
collect2: ld returned 1 exit status
ld: cycle in dylib re-exports with
/Developer/SDKs/MacOSX10.5.sdk/usr/X11/lib/libGL.dylib for architecture ppc
collect2: ld returned 1 exit status
lipo: can't open input file:
/var/folders/m2/m2u1oBxxGAqUxi2h7sbDK++++TI/-Tmp-//ccWn7pVI.out (No such
file or directory)
make[2]: *** [lib/osgPlugins-2.2.0/osgdb_freetype.so] Error 1
make[1]: *** [src/osgPlugins/freetype/CMakeFiles/osgdb_freetype.dir/all]
Error 2
make: *** [all] Error 2
[EMAIL PROTECTED]/devEnv/research/APIs/OpenSceneGraph_svn$
biv

On Dec 13, 2007 1:01 AM, Andreas Goebel <[EMAIL PROTECTED]> wrote:

> E. Wing schrieb:
> > In my opinion, you are best off getting Leopard. Apple will not be
> > updating OpenGL drivers for Tiger from this point on. Working OpenGL
> > drivers is by far the most important aspect in my opinion.
> >
> Thank you all,
>
> I summarize: I´d (probably) be best of with:
> - Mac OS 10.5
> - but use 10.4 sdk to target both 10.4 and 10.5
>
> right?
>
> I know that the slogan is "think different", so that´s what I´ll have to
> do ...
>
>
> Regards,
>
> Andreas
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to