OpenSceneGraph: Difference between revisions

Jump to navigation Jump to search
Line 71: Line 71:
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
(description for Linux):
(description for Linux):
'''NOTE:''' It should be possible to do
  gmake INST_LOCATION=<prefix> install
instead for each of the OSG components. It ought to be a better method.


1. Build OpenScenGraph. I do it directly in the OSG source directory without installing anything (when the next version comes I can just delete the old directory without any worries). Adjust as needed:
1. Build OpenScenGraph. I do it directly in the OSG source directory without installing anything (when the next version comes I can just delete the old directory without any worries). Adjust as needed:
Line 105: Line 109:


Installing with --prefix is a very nice way to keep several distinct and independent versions of FlightGear around. To start a new $PREFIX directory you'll also need to install plib in it, but that is easy. Most other needed dependencies are usually available through the package system of most Linux distributions (e.g. FreeGLUT, SDL, ALSA, etc).
Installing with --prefix is a very nice way to keep several distinct and independent versions of FlightGear around. To start a new $PREFIX directory you'll also need to install plib in it, but that is easy. Most other needed dependencies are usually available through the package system of most Linux distributions (e.g. FreeGLUT, SDL, ALSA, etc).
FIXME: Maybe it is enough to copy only the OpenSceneGraph/include/osg* and OpenSceneGraph/lib/<system>/lib*.so stuff into $PREFIX?


== Current issues ==
== Current issues ==
827

edits

Navigation menu