]> git.mxchange.org Git - flightgear.git/blob - src/FDM/JSBSim/README
Sync. with JSBSim CVS.
[flightgear.git] / src / FDM / JSBSim / README
1 Contents\r
2 --------\r
3 \r
4 1) Introduction\r
5 2) Building with autoconf/automake\r
6 3) Contact\r
7 \r
8 \r
9 1) Introduction\r
10 ---------------\r
11 \r
12 JSBSim is a multi-platform, general purpose object-oriented Flight\r
13 Dynamics Model (FDM) written in C++. Jon Berndt and Tony Peden began\r
14 about mid-1998 writing JSBSim. As of this writing it is the default\r
15 FDM for FlightGear. JSBSim can also be run in a standalone batch mode\r
16 for testing and study. More information on JSBSim can be found at the\r
17 JSBSim home page here:\r
18 \r
19 http://jsbsim.sourceforge.net\r
20 \r
21 The standalone version of JSBSim can be easily built from the command\r
22 line of a unix or unix-like (CygWin/Linux/Unix/IRIX, etc.) system like\r
23 this:\r
24 \r
25 make -fMakefile.solo\r
26 \r
27 If you are on an IRIX machine you can use the Makefile.irix makefile.\r
28 Directions are also provided below for using traditional auto* utilities\r
29 also provided with JSBSim.\r
30 \r
31 \r
32 2) Building with autoconf/automake\r
33 ----------------------------------\r
34 \r
35 Unpack the distribution tarball (if needed - CVS users will have\r
36 downloaded the code directly) using your preferred method, and change\r
37 to the working directory. For example :\r
38 \r
39 $ tar xvfz JSBSim-0.1.2.tar.gz\r
40 $ cd JSBSim-0.1.2\r
41 \r
42 NOTE for CVS users: If you are using JSBSim from a CVS checkout, or\r
43 snapshot, you will need to create the initial configure script. The\r
44 commands to do this have been included in the 'autogen.sh' script, so\r
45 just :\r
46 \r
47 $ ./autogen.sh\r
48 \r
49 If you wish to customise your version of JSBSim, use the following to\r
50 determine any build-time options you may be interested in.\r
51 \r
52 $ ./configure --help\r
53 \r
54 Then :\r
55 \r
56 $ ./configure\r
57 \r
58 This will check your system platform, compiler and other local\r
59 configuration variables needed to build JSBSim, and generates the\r
60 necessary Makefiles. Next :\r
61 \r
62 $ make\r
63 \r
64 Will compile the various classes, and link the library. Finally :\r
65 \r
66 $ make install\r
67 \r
68 Unless specified otherwise (with --prefix configure option), this will\r
69 install 'JSBSim.a' into '/usr/local/lib'.\r
70 \r
71 \r
72 3) Contact\r
73 ----------\r
74 \r
75 For more information on JSBSim contact Jon Berndt at jsbsim@hal-pc.org.\r
76 \r