Hi there,

maybe I have missed some discussions about this ...

- CMake builds seem not to build as frameworks and bundles, is this intentional or is there a CMake option?

- Building on 10.5 for a 10.4 target fails due to the offending line seen in the patch. The 10.4u SDK comes with a sys/stat.h why not use it? I suppose pure Darwin builds can use __DARWIN__ ? It probably depends on how far back you want to support.

Other than above problems it seems to work quite well.

Cheers,
Hartmut



Index: src/osgDB/FileUtils.cpp
===================================================================
--- src/osgDB/FileUtils.cpp     (revision 8575)
+++ src/osgDB/FileUtils.cpp     (working copy)
@@ -35,7 +35,8 @@
 #if defined( __APPLE__ )
     // I'm not sure how we would handle this in raw Darwin
     // without the AvailablilityMacros.
-    #include <AvailabilityMacros.h>
+    //#include <AvailabilityMacros.h>
+       #include <sys/stat.h>
     // 10.5 defines stat64 so we can't use this #define
     // By default, MAC_OS_X_VERSION_MAX_ALLOWED is set to the latest
     // system the headers know about. So I will use this as the control
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to