Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G


Jump to: navigation, search

Building FlightGear - Debian

88 bytes removed, 00:27, 5 February 2011
OSG cmake build options
*gcc, g++, make, automake1.9, pkg-config
*mawk (or gawk)
*cmake (min. version 2.6.0-5, for Etch available on backports.debian.org!)
*git, subversion, wget
*freeglut3-dev, libgl1-mesa-dev, libxrandr-dev
== Build and install ==
Because we are going to install versions different to the ones in the repositries it is recommended to install FG-2.2.0 and/or GIT in a place independent to the base system such as /usr/local/FG-2.2.0, /opt/FG-2.2.0 or in a subdirectory of your $HOME. I suggest to make it writeable by the user that there is no need to become root for the <code>make install</code> commands. I'll use <code>$prefix</code> as a placeholder for this directory. <BR>
Another one will be <code>$srcdir</code>, it stands for the absolute path to the directory which contains is supposed to keep the folders of the various source codes. So in the following instructions you have to replace these with the local paths or even <code>export</code> them during the process.
Follow the instructions to fetch the sources and the data needed by FlightGear and the commands to build/install each source.
<u>2.2.0 and GIT:</u>
mkdir osg-build && cd osg-build
cmake -D CMAKE_BUILD_TYPE="Release" -D CMAKE_CXX_FLAGS="-O3" -D CMAKE_C_FLAGS="-O3" \ -D CMAKE_INSTALL_PREFIX:PATH="$prefix" $srcdir/OpenSceneGraph
make install

Navigation menu