Hi, What's the status on this?
Thanks On Sat, Sep 12, 2009 at 12:16 AM, Pau Garcia i Quiles <[email protected]> wrote: > On Fri, Aug 21, 2009 at 2:32 PM, Robert Osfield > wrote: >> HI Pau, >> >> On Fri, Aug 21, 2009 at 1:13 PM, Pau Garcia i >> Quiles<[email protected]> wrote: >>> What platform are you on and what version of CMake are you using? On >>> Linux (Kubuntu Jaunty) with CMake 2.6.4, I didn't add any extra >>> library because it automatically links to librt, which is where the >>> symbol resides. >> >> I'm using Kubuntu 9.04, cmake version 2.6.2. Clearly we won't be able >> to assume that availability of librt being automatically added. > > I'm attaching a new patch, which also checks for librt on Linux. On > *BSD, there is no need to link to librt for clock_gettime. > > In addition to the patch, I'm attaching the full content of the > following files from OSG 2.9.5 after applying the patch: > > OpenSceneGraph/CMakeLists.txt (36KB) > OpenSceneGraph/src/osg/CMakeLists.txt (9KB) > OpenSceneGraph/src/osg/Timer.cpp > >>> By the way, for Mac, it might be interesting to try this if >>> clock_gettime is still not available (I don't own a Mac, so I cannot >>> test) : >>> http://www.wand.net.nz/~smr26/wordpress/2009/01/19/monotonic-time-in-mac-os-x/ >> >> I don't have a Mac either, but do occassionally get remote access to >> one. Right now I don't have access though. > > I'll get a Macbook Pro soon (2-3 weeks, depending on how long it takes > for Apple to build it). I don't know anything about Mac development as > of now but I hope soon I'll be able to work on this issue on the Mac > too. > > -- > Pau Garcia i Quiles > http://www.elpauer.org > (Due to my workload, I may need 10 days to answer) > -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
