Hi Paul, I believe this one has already been addressed in the 2.7.x dev series, could you try 2.7.7 or svn/trunk.
Robert. On Wed, Dec 17, 2008 at 4:11 PM, Paul Fotheringham <osg_u...@yahoo.co.uk> wrote: > Hi, > > I think I know what the problem is. I'm getting the same unresolved symbols > building on MacOS 10.4 and OSG 2.6.1 using cmake. Your link line has > > /usr/lib/libm.dylib > > rather than your SDK version of the library. I don't know much about these > things myself as I've only been using a Mac for about 1 day now but this blog > entry details the issue > > http://www.red-sweater.com/blog/246/missing-link > > As far as cmake goes, and I've only been looking at _that_ for about 2 days, > it seems the problem is in the top-level CMakeLists.txt file where it has the > line > > FIND_LIBRARY(MATH_LIBRARY m) > > wrapped in an IF(UNIX) clause. > > I think this particular line should also be wrappend in an IF(NOT APPLE) > clause. Doing this fixes up the link lines for me and the problem goes away. > As I say I'm certainly no Mac expert so maybe this isn't quite right. I'm > certainly not confident enough to post it to osg-submissions :) > > I haven't looked at the Xcode project at all but I imagine something similar > must be going on there? > > Paul Fotheringham > > > > > _______________________________________________ > osg-users mailing list > email@example.com > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list firstname.lastname@example.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org