I am not entirely sure if this is a good idea. osgSWIG should be
compiled against an installed "release" version of the OSG - on Mac you
also need to take care of proper r-paths as multiple versions of a
library could potentially installed and the OSG is not setting the rpath
in its default install via cmake. I have a installable pkg file for
osgPython on Mac 10.5.x which I could upload - its being used by
AccessGrid already
Anyway, thanks for digging into this problem.
H
R Fritz wrote:
Thanks for responding so quickly. I saw you picked up my patches in
issue 18--thanks. But still no joy on 15. I attached my latest
results to the issue there, but the latest result is no result--I
don't think anything changed.
On a different subject, I've made some small changes to FindOSG.cmake
which make the osgswig build happier with linking to OSG library files
in an Xcode build. I'm not sure of the merits of these, so I'm
putting them out here--what do people who know the Mac environment
better than me think?
Randolph
Index: /Users/rfritz/Documents/osgswig/CMakeModules/FindOSG.cmake
===================================================================
--- /Users/rfritz/Documents/osgswig/CMakeModules/FindOSG.cmake
(revision 177)
+++ /Users/rfritz/Documents/osgswig/CMakeModules/FindOSG.cmake
(working copy)
@@ -39,11 +39,14 @@
/usr/local/lib
/usr/lib64
/usr/lib
+ $ENV{OSG_DIR}/lib/Release
$ENV{OSG_DIR}/lib
$ENV{OSG_DIR}/bin
$ENV{OSG_DIR}
+ $ENV{OSGDIR}/lib/Release
$ENV{OSGDIR}/lib
$ENV{OSGDIR}
+ $ENV{OSG_ROOT}/lib/Release
$ENV{OSG_ROOT}/lib
/sw/lib
/opt/local/lib
@@ -67,10 +70,13 @@
/usr/local/lib
/usr/lib64
/usr/lib
+ $ENV{OSG_DIR}/lib/Debug
$ENV{OSG_DIR}/lib
$ENV{OSG_DIR}
+ $ENV{OSGDIR}/lib/Debug
$ENV{OSGDIR}/lib
$ENV{OSGDIR}
+ $ENV{OSG_ROOT}/lib/Debug
$ENV{OSG_ROOT}/lib
/sw/lib
/opt/local/lib
Randolph
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
--
Hartmut Seichter, PhD (HKU), Dipl-Ing.(BUW), Postdoctoral Fellow, HITLabNZ
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org