OpenSceneGraph: Difference between revisions

Jump to navigation Jump to search
m
Line 73: Line 73:
OpenSceneGraph uses cmake so it should be possible to do
OpenSceneGraph uses cmake so it should be possible to do


   cmake -D CMAKE_INSTALL_PREFIX:PATH="$(MY_PREFIX)"
  mkdir build.osg
  cd build.osg
   cmake -D CMAKE_INSTALL_PREFIX:PATH="$(MY_PREFIX)" ../path/to/osg/source


or possibly to avoid needing to set LD_LIBRARY_PATH
or possibly to avoid needing to set LD_LIBRARY_PATH


   cmake -D CMAKE_INSTALL_PREFIX:PATH="$(MY_PREFIX)" -D CMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOLEAN="true"
  mkdir build.osg
  cd build.osg
   cmake -D CMAKE_INSTALL_PREFIX:PATH="$(MY_PREFIX)" -D CMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOLEAN="true" ../path/to/osg/source
 


Configure and build SimGear and FlightGear with --prefix as usual.
Configure and build SimGear and FlightGear with --prefix as usual.
827

edits

Navigation menu