I use now cmake and the additional linker cmake flag (CMAKE_SHARED_LINKER_FLAGS):
Code: CMAKE_SHARED_LINKER_FLAGS -install_name @executable_path/../Framework CMAKE_SHARED_LINKER_FLAGS_DEBUG -install_name @executable_path/../Framework CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL -install_name @executable_path/../Framework CMAKE_SHARED_LINKER_FLAGS_RELEASE -install_name @executable_path/../Framework CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO -install_name @executable_path/../Framework This makes the library then relative to the executable path so when en executable is loading the library it will look in its "executable path .. / Frameworks" to find the library there... ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=33893#33893 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

