Building FlightGear - Linux: Difference between revisions

Jump to navigation Jump to search
m
--enable-osgviewer additions
m (more augmentations regarding plib 1.8.5 requirement and note regarding SDL depreciation)
m (--enable-osgviewer additions)
Line 119: Line 119:
  cvs -d :pserver:cvsguest@cvs.flightgear.org:/var/cvs/FlightGear-0.9 co source
  cvs -d :pserver:cvsguest@cvs.flightgear.org:/var/cvs/FlightGear-0.9 co source


A directory with the name '''source''' will then be created with all of Flightgearear's source code downloaded into it.
A directory with the name '''source''' will then be created with all of Flightgear's source code downloaded into it.


'''Step 2:'''
'''Step 2:'''
Line 133: Line 133:
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/source/build.osg
  ./configure --prefix=/path/to/fgInstallation --with-osg=/path/to/osg/source/build.osg --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
2,561

edits

Navigation menu