Building FlightGear - Debian: Difference between revisions

Jump to navigation Jump to search
m
corrected link to fgdata
m (Update forum links)
m (corrected link to fgdata)
Line 116: Line 116:
<u>2.12</u> only: Please have a look at the [http://www.flightgear.org/download/mirror/ mirror list] for a server close to your location.
<u>2.12</u> only: Please have a look at the [http://www.flightgear.org/download/mirror/ mirror list] for a server close to your location.
  cd $FG_INSTALL_DIR
  cd $FG_INSTALL_DIR
  wget http://mirrors.ibiblio.org/pub/mirrors/flightgear/ftp/Shared/FlightGear-data-2.12.0.tar.bz2
  wget http://www.flightgear.wo0t.de/Shared/FlightGear-data-2.12.0.tar.bz
  tar xjf FlightGear-data-2.12.0.tar.bz2
  tar xjf FlightGear-data-2.12.0.tar.bz


<u>GIT</u> only:
<u>GIT</u> only:
For slow/unstable internet connections it is recommended to download the [[FlightGear_Git:_data_developers#Bundle|fgdata.bundle]] instead of cloning the data.<br />
For slow/unstable internet connections it is recommended to download the [[FlightGear_Git:_data_developers#Bundle|fgdata.bundle]] instead of cloning the data.<br />
  cd $FG_INSTALL_DIR
  cd $FG_INSTALL_DIR
  git clone git://mapserver.flightgear.org/fgdata data
  git clone git://mapserver.flightgear.org/fgdata fgdata




Line 128: Line 128:
When all the builds are done and the data download has finished it is time for a test run:
When all the builds are done and the data download has finished it is time for a test run:
  export LD_LIBRARY_PATH=$FG_INSTALL_DIR/lib/:$LD_LIBRARY_PATH
  export LD_LIBRARY_PATH=$FG_INSTALL_DIR/lib/:$LD_LIBRARY_PATH
  $FG_INSTALL_DIR/bin/fgfs --fg-root=$FG_INSTALL_DIR/data
  $FG_INSTALL_DIR/bin/fgfs --fg-root=$FG_INSTALL_DIR/fgdata
: The <code>fgfs</code> binary needs to find our self compiled libraries at runtime and therefore we have to tell the linker (ld) where to find them. That is what the first line here does. You might want to add this line to your <code>$HOME/.bashrc</code> to have this as a persistent setting (may cause problems, if one has installed more than one version of FlightGear!).
: The <code>fgfs</code> binary needs to find our self compiled libraries at runtime and therefore we have to tell the linker (ld) where to find them. That is what the first line here does. You might want to add this line to your <code>$HOME/.bashrc</code> to have this as a persistent setting (may cause problems, if one has installed more than one version of FlightGear!).
: Have in mind, the <code>$FG_INSTALL_DIR</code> and <code>$FG_SRC_DIR</code> variables are available for this session only. For future use of these lines, replace them by the real paths.
: Have in mind, the <code>$FG_INSTALL_DIR</code> and <code>$FG_SRC_DIR</code> variables are available for this session only. For future use of these lines, replace them by the real paths.
392

edits

Navigation menu