Building FlightGear - Debian: Difference between revisions

Jump to navigation Jump to search
m (Fixing link.)
Line 45: Line 45:


=== libfltk ===
=== libfltk ===
[http://www.fltk.org/ FLTK] is required for [[fgadmin]], which is content with libfltk-1.1, and fgrun, which minimum is libfltk-1.3. <br />
[http://www.fltk.org/ FLTK] is required for [[fgadmin]], which is content with libfltk-1.1, and fgrun, which minimum is libfltk-1.3.
 
<u>Wheezy</u>: Just install package "libfltk1.3-dev" if you're planning to use either of them. <br />
<u>Wheezy</u>: Just install package "libfltk1.3-dev" if you're planning to use either of them. <br />
<u>Squeeze</u>: For fgadmin just install package "libfltk1.1-dev". To compile fgrun, too, build and install FLTK-1.3 instead:
<u>Squeeze</u>: For fgadmin just install package "libfltk1.1-dev". To compile fgrun, too, build and install FLTK-1.3 instead:
  cd $FG_SRC_DIR
 
  <nowiki>cd $FG_SRC_DIR
  wget http://ftp.easysw.com/pub/fltk/1.3.2/fltk-1.3.2-source.tar.gz
  wget http://ftp.easysw.com/pub/fltk/1.3.2/fltk-1.3.2-source.tar.gz
  tar xzf fltk-1.3.2-source.tar.gz
  tar xzf fltk-1.3.2-source.tar.gz
  cd fltk-1.3.2
  cd fltk-1.3.2
  ./configure --enable-shared --prefix=$FG_INSTALL_DIR  
  ./configure --enable-shared --prefix=$FG_INSTALL_DIR  
  make -j2 install
  make -j2 install</nowiki>


[[Fgadmin]] is an optional tool in FlightGear to manually download scenery in case you can't use [[terrasync]], the preferred scenery management tool. Fgadmin will be automatically built if libfltk is found. To force not to build fgadmin even if libfltk is in your system, add "-DENABLE_FGADMIN=OFF" to the cmake command while building flightgear (see below)


=== [[plib]] ===
=== [[plib]] ===
54

edits

Navigation menu