]> git.mxchange.org Git - simgear.git/blob - INSTALL
Make sure block align is in samples when calling alBufferi with AL_UNPACK_BLOCK_ALIG...
[simgear.git] / INSTALL
1 How to build SimGear
2 ====================
3
4 SimGear uses the CMake build system to generate a platform-specific
5 build environment.  CMake reads the CMakeLists.txt files that you'll
6 find throughout the source directories, checks for installed
7 dependencies and then generates the appropriate build system.
8
9 If you don't already have CMake installed on your system you can grab
10 it from http://www.cmake.org, use version 2.6.4 or later.
11
12 Under unices (i.e. Linux, Solaris, Free-BSD, HP-Ux, OSX) use the cmake
13 or ccmake command-line utils. Preferably, create an out-of-source
14 build directory and run cmake or ccmake from there. The advantage to
15 this approach is that the temporary files created by CMake won't
16 clutter the source directory, and also makes it possible to have
17 multiple independent build targets by creating multiple build
18 directories. In a directory alongside the SimGear source directory
19 use:
20
21     mkdir sgbuild
22     cd sgbuild
23     cmake ../simgear -DCMAKE_BUILD_TYPE=Release
24     make
25     sudo make install
26
27
28 Build Dependencies
29 ==================
30 SimGear depends on a number of 3rd party libraries, the most notable
31 being:
32
33 * OpenSceneGraph (OSG) - see README.OSG
34 * zlib compression library - see README.zlib
35 * Open Audio Library (OpenAL) - see README.OpenAL
36 * Subversion Client Library (optional dependency)
37
38
39 Further information
40 ===================
41 * README.cmake
42   for more detailed CMake instructions
43
44 * README.msvc
45   in the FlightGear source package for more Windows-specific instructions
46
47 * FlightGear Wiki
48   http://wiki.flightgear.org/Building_Flightgear
49
50 * FlightGear Forums
51   For help on building see: http://www.flightgear.org/forums
52   => Support/Compiling
53
54 * FlightGear Mailing lists
55   http://wiki.flightgear.org/index.php/Mailing_list
56