HI Paul, The core OSG library does link against the MATH_LIBRARY, but the other non of the other core libraries do. I've added a entry of MATH_LIBRARY into the linking of osgText. Could you do an svn update and see if the error is fixed?
The fact you've got errors but others under OSX haven't reported this (including myself) suggests that must be something else going w.r.t gcc/SDK's you are using on your machine. Robert. On Thu, Dec 18, 2008 at 2:01 PM, Paul Fotheringham <osg_u...@yahoo.co.uk> wrote: > Hi, > > The error is > > Linking CXX shared library ../../lib/libosgText.dylib > ld: Undefined symbols: > _acl_copy_ext_native referenced from CarbonCore expected to be defined in > libSystem > _acl_copy_int_native referenced from CarbonCore expected to be defined in > libSystem > _task_name_for_pid referenced from CarbonCore expected to be defined in > libSystem > > It depends on the configuration of your system and whether the SDK versions > of the libraries match the system ones. On some OSX systems it will build > fine and on some it won't. It all depends on whether the SDK libs are in > sync. with the system ones as regards having all the required symbols. > > The link to the blog entry in my first email explains this better than I can. > As I understand it, the systems that work are simply getting away with it as > the symbols required by the build process just happen to be all there in the > system libraries. They ought to be consistently getting them from the SDK > libraries. > > Paul > > --- On Thu, 18/12/08, Robert Osfield <robert.osfi...@gmail.com> wrote: > >> From: Robert Osfield <robert.osfi...@gmail.com> >> Subject: Re: [osg-users] Build error on MAc OSX 10.4 and OSG 2.7.4 >> To: osg_u...@yahoo.co.uk, "OpenSceneGraph Users" >> <email@example.com> >> Date: Thursday, 18 December, 2008, 10:28 AM >> HI Paul, >> >> On Thu, Dec 18, 2008 at 8:33 AM, Paul Fotheringham >> <osg_u...@yahoo.co.uk> wrote: >> > Hi Robert, >> > >> > I just tried 2.7.7 and it's still an issue there. >> Maybe only the Xcode project was fixed up? >> >> It's the CMake projects that have the math library >> added. Last week I >> did some work comiling under OSX via a remote log in, both >> OpenSceneGraph and Present3D (that depends upon >> OpenSceneGraph) >> compiled fine using Cmake. >> >> Could you be specific about what error you are seeing and >> whereabouts >> in the OSG build? >> >> Robert. > > > > _______________________________________________ > osg-users mailing list > firstname.lastname@example.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list email@example.com http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org