Type the text for ‘New Tiddler’I got a big screen and a graphics card for Christmas, so now I can play [[FlightGear http://www.flightgear.org/]]. However Debian stable has an old, old version and [[FlightGear http://www.flightgear.org/]] has made huge progress in rendering, so it’s a shame to run the old version. Here’s what I did to compile it on Debian stable:
apt-get install build-essential git cmake libsvncpp-dev libboost-dev libgl1-mesa-dev libopenal-dev libopenscenegraph-dev libudev-dev libapr1-dev libplib-dev libxi-dev libxmu-dev libjpeg-dev libxinerama-dev libpng12-dev libxft-dev libalut-dev

get flightgear-2.8.0 and simgear-2.8.0 and OpenSceneGraph-3.0.1.zip
wget ftp://flightgear.wo0t.de/ftp/Shared/FlightGear-data-2.8.0.tar.bz2


unzip OpenSceneGraph-3.0.1.zip
cd OpenSceneGraph-3.0.1
./configure
make
#make coffee, this takes a while
sudo make install
# It all goes in /usr/local/lib and /usr/local/include
cd ..

mkdir sgbuild
cd sgbuild
cmake ../simgear-2.8.0
make
sudo make install
cd ..

mkdir fgbuild
cd fgbuild
cmake ../flightgear-2.8.0
make
sudo make install
cd ..


tar jxvf FlightGear-data-2.8.0.tar.bz2
fgfs --fg-data=./data
# Enjoy!

# Now get custom_france, it's really worth it
wget http://www.mguillaud.net/fg/custom-scenery-france-v1.tgz
fgfs --fg-data=./data --fg-scenery=./custom_france --airport=LFBO
# Interesting airport ICAO codes: LFLG: Grenoble LFBO: Toulouse LFPG: CDG)

# Now get Aircraft-2.8 to fly UFOs, and unpack in ./data
fgfs --fg-data=./data --fg-scenery=./custom_france