789
edits
(Cleanup of old information.) |
|||
Line 165: | Line 165: | ||
Note that if you don't want to install simgear globally on the system but in a specific directory, you can do so by adding --prefix=/path/to/your/fgInstallation to the ./configure command. | Note that if you don't want to install simgear globally on the system but in a specific directory, you can do so by adding --prefix=/path/to/your/fgInstallation to the ./configure command. | ||
If you are building the OSG-version of FlightGear and didn't install OSG globally, you have to pass the OSG directory to the configure-command like this: | If you are building the OSG-version of FlightGear and didn't install OSG globally, you have to pass the OSG directory to the configure-command like this: | ||
./configure --prefix=/path/to/fgInstallation --with-osg=/path/to/osg/ | ./configure --prefix=/path/to/fgInstallation --with-osg=/path/to/osg/installation --enable-osgviewer | ||
In this case you have to tell your system where to find the OSG libraries before you can run flightgear: | In this case you have to tell your system where to find the OSG libraries before you can run flightgear: | ||
export LD_LIBRARY_PATH=/path/to/fgInstallation/lib:$LD_LIBRARY_PATH | export LD_LIBRARY_PATH=/path/to/fgInstallation/lib:$LD_LIBRARY_PATH |
edits