827
edits
| Line 67: | Line 67: | ||
Do not forget to run autogen.sh when updating sources. | Do not forget to run autogen.sh when updating sources. | ||
=== Installing FlightGear | === Installing OpenSceneGraph and FlightGear with --prefix === | ||
If you use --prefix to choose were to install FlightGear and do not want to install OSG globally on the system this can be done with the following method: | If you use --prefix to choose were to install FlightGear and do not want to install OSG globally on the system this can be done with the following method: | ||
| Line 75: | Line 75: | ||
mkdir build.osg | mkdir build.osg | ||
cd build.osg | cd build.osg | ||
cmake -D CMAKE_INSTALL_PREFIX:PATH="$(MY_PREFIX)" ../path/to/osg/source | cmake -D CMAKE_BUILD_TYPE="Release" -D CMAKE_INSTALL_PREFIX:PATH="$(MY_PREFIX)" ../path/to/osg/source | ||
make | make | ||
make install | make install | ||
| Line 83: | Line 83: | ||
mkdir build.osg | mkdir build.osg | ||
cd 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 | cmake -D CMAKE_BUILD_TYPE="Release" -D CMAKE_INSTALL_PREFIX:PATH="$(MY_PREFIX)" -D CMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOLEAN="true" ../path/to/osg/source | ||
make | make | ||
make install | make install | ||
edits