]> git.mxchange.org Git - flightgear.git/blob - FG-FAQ.v3
More reorganization.
[flightgear.git] / FG-FAQ.v3
1 ------- Flight Gear FAQ v0.03         14/04/1999   ---------------------\r
2 \r
3 Welcome to the Flight Gear FAQ. Here you find Questions/URL's/Tips about \r
4 Flight Gear mainly asked in the mailing lists. \r
5 This Document is divided into 5 sections:\r
6  \r
7  1. Distribution Questions\r
8  2. Compiling Questions\r
9  3. User Questions\r
10  4. Windoze related Questions\r
11  5. ???\r
12 \r
13 \r
14 -------- Index -----------\r
15 \r
16 Section One Distribution :\r
17 \r
18 1) Where can I get the latest version of this FAQ ?\r
19 2) What else is a must read ?\r
20 3) Where is the latest distribution of Flight Gear... ?\r
21 4) Where can I find the newest snapshots ?\r
22 5) Where can I fly ?\r
23 \r
24 \r
25 Section Two Compiling :\r
26 \r
27 1) Flight Gear doesn't smooth compile though configured succesfully\r
28 2) "gpc.c" and "gpc.h" files\r
29 3) Compiler could not find gfc/... \r
30 4) Red Had 5.1 / 5.2 related probs\r
31 \r
32 Section Three User :\r
33 \r
34 1) Upside down after crash?\r
35 2) Ailleron vs Rudder\r
36 3) FG is sooo slow (1 fps).\r
37 \r
38 Section Four Windoze :\r
39 \r
40 Section Five ??? :\r
41 \r
42 ========================================================================\r
43 \r
44 \r
45 \r
46 SECTION ONE : Distribution Questions\r
47 \r
48 1.1) Where can I get the latest version of this FAQ ?\r
49 \r
50 Ans:   The latest version is stored at\r
51        http://www.online-club.de/home/olk/progs/flightgear\r
52        and it's updates are announced at flightgear mailing lists.\r
53 \r
54 ------------------------------------------------------------------------\r
55 1.2) What else is a must read ?\r
56 \r
57 Ans:   Please also check out the "Getting started"-document which \r
58        provides much, much detailed information.\r
59 \r
60 ------------------------------------------------------------------------\r
61 1.3) Where is the latest distribution of Flight Gear... ?\r
62 \r
63 Ans:   ftp://ftp.flightgear.org/pub/fgfs/Source\r
64 \r
65 ------------------------------------------------------------------------\r
66 1.4) Where can I find the newest snapshots ?\r
67 \r
68 Ans:   ftp://ftp.flightgear.org/pub/fgfs/Source/Snapshots\r
69 \r
70 ------------------------------------------------------------------------\r
71 1.5) Where can I fly ?\r
72 \r
73 Ans:   In front of your monitor, hehehe...\r
74        \r
75 [FG until v0.58]:\r
76        Curt has a nice collection of some flight-scenarios in the U.S.\r
77        have a look at the descriptions and needed files \r
78        http://www.flightgear.org/Places/\r
79        \r
80        There are also scenarios located at:\r
81        ftp://ftp.flightgear.org/pub/fgfs/Scenery/\r
82        There you find currently AZ-central, Equador, Spain, Munich (DE)\r
83        \r
84        Frankfurt (DE) can be found at\r
85        http://people.frankfurt.netsurf.de/teddy/frankfurt.tar.gz\r
86        \r
87        Switzerland scenario at\r
88        http://www.2sic.ch/Hoshy/flightgear.html\r
89        \r
90 [FG after v0.59 incl.]:\r
91        Due to changes to the scenery format, which is currently v0.2, \r
92        the old Scenery Files (see above) are not compatible to FlightGear\r
93        v0.59 and later.\r
94 \r
95        The folowing Scenery Files are recommended instead:\r
96        \r
97        Alaska (Prince William Sounds) Scenario  located at\r
98        ftp://ftp.flightgear.org/pub/fgfs/Scenery/new-format-demo.tar.gz\r
99        \r
100        You also need the fgfs-base-0.59.tar.gz package with new graphics\r
101        ftp://ftp.flightgear.org/pub/fgfs/Shared\r
102               \r
103 ------------------------------------------------------------------------\r
104 \r
105 ========================================================================\r
106 \r
107 SECTION TWO : Compiling questions\r
108               For the time beeing more Unix/Linux related.\r
109 \r
110 \r
111 2.1) Flight Gear doesn't smooth compile though configured succesful\r
112 \r
113 Ans:   The fgfs-sources contain some Scenery Tool Kits beeing yet beta,\r
114        they use libraries written by others so there is often some\r
115        code/makefile tweaking needed. But this doesn't matter since\r
116        the Flight Gear executable is then already compiled. \r
117        Just make install from toplevel Makefile directory \r
118        and up you go...\r
119 \r
120 -----------------------------------------------------------------------\r
121 2.2) "gpc.o" and "gpc.h"\r
122      Can anyone advise me on what to do with the gpc.c and gpc.h files. \r
123      I retrieved them OK after "configure"reported that they were needed. \r
124      But, I don't know what I'm supposed to do with them.\r
125 \r
126 Ans:   Flight Gear's Makefile expects libgpc to be on your System.\r
127        Try this: gcc -c gpc.c\r
128                  ar cru libgpc.a gpc.o\r
129        Then copy libgpc.a to some place that your compiler knows about such\r
130        as /usr/local/lib, and then try compiling again. A better idea would be\r
131        to set LIBRARY_PATH to point to the location where you installed \r
132        the libgpc.a file instead of dropping it into a system-wide library \r
133        directory.\r
134       \r
135        Caveat Emptor: \r
136        One word of warning to Linux / Unix users.  I recently discovered \r
137        that the gnu pascal compiler is also called "gpc" and comes with a \r
138        libgpc.a I know this has caused confusion on the part of at least one\r
139        or two people.\r
140 \r
141 -------------------------------------------------------------------------\r
142 2.3) compiler could not find gfc/...\r
143      \r
144 e.g. main.cxx:32: gfc/gshapefile.h: No such file or directory\r
145      main.cxx:30: gfc/gadt_polygon.h: No such file or directory\r
146      main.cxx:31: gfc/gdbf.h: No such file or directory\r
147      main.cxx:32: gfc/gshapefile.h: No such file or directory\r
148      there is no gadt_polygon.h on my system. What library does it belong to ?\r
149 \r
150 Ans:   This is part of the GFC library it is not needed to run FlightGear\r
151        as it is part of the beta Scenery Tool Kit\r
152        GFC -- Geographic Foundation Classes library\r
153        http://www.geog.psu.edu/~qian/gfc/index.html\r
154 \r
155 --------------------------------------------------------------------------\r
156 2.4) Red Had 5.1/5.2 related problems\r
157 \r
158 I quickly ran into problems with the basic_string library. (see undefined ref.)\r
159 \r
160      c++ -g -O2 -L/usr/local/lib -L/usr/X11R6/lib -o testbucket\r
161      testbucket.o../../Lib/Bucket/libBucket.a -lmtestbucket.o: In function\r
162      FGBucket::gen_base_path(void)':/usr/include/g++/std/bastring.h:75: undefined\r
163      reference to Basic_string<char,string_char_traits<char>,\r
164      __default_alloc_template<true, 0>>::Rep::clone(void)'collect2: ld returned 1 \r
165      exit statusmake[2]: ***  [testbucket] Error 1\r
166 \r
167 \r
168 Ans:  I ran into the same problem on my RedHat 5.2 system (brand new). \r
169       After some searching I found out that it's got to do with a 'bug' in \r
170       the stdlibc++libraries. I picked up libstdc++-2.9.0-2.i386.rpm, \r
171       installed it and FGFS compiled just fine (after some other problems \r
172       with gfc, I had to pick up the one from the fgfs site). However, some \r
173       other packages must have the libstdc++-2.8 libraries....\r
174 \r
175 Ans:  I also solved it with the 2.8 libraries by including \r
176       /usr/include/g++/std/bastring.cc into the example programs. \r
177       I believe this can be done since it's a template. \r
178 \r
179 ==========================================================================\r
180 \r
181 SECTION THREE : User Questions\r
182 \r
183 \r
184 3.1) Upside down after crash ?\r
185      After beeing crashed on the ground the navion continues to fly\r
186      upside-down and it stucks at almost groundlevel,\r
187      (like cruse missile ;-) flying with a reverse heading as before\r
188      and "balancing" left and right. The only solution seems to be\r
189      to give full throttle and then at +80-90 kts it can move up by\r
190      pressing one of the "elevator arrows" like a rocket doing a loop.\r
191      But hey, that's nerving bc the loop is allways to short and the\r
192      responding time of navion (correcting the "roll") is also to short,\r
193      which results in crash so you have to re-throttle again.\r
194 \r
195 \r
196 Ans:   In his infinite wisdom the FlightGear GrandMaster decided \r
197        that planes were to valuable to allow them to be destroyed\r
198        by novice pilots who seemed to crash alot.\r
199 \r
200        The result of this as you have noticed is that\r
201        with a little practice an ingenuity you can trim the ship \r
202        to fly inverted along the ground.\r
203 \r
204        The trick to learn is to roll back to normal (non inverted)\r
205        do this by nursing the elevator to get to about 500 feet or so\r
206        and use the aierlons to snap roll 180*.\r
207 \r
208        This is all good avionics except for the plane not destroying itself. \r
209 \r
210        Remember the controls work in reverse when you are inverted\r
211        and keep that airspeed up !!!\r
212 \r
213 ---------------------------------------------------------------------------\r
214 3.2) Ailleron vs Rudder\r
215      What's the difference. Both help the plane to turn, that i did understand\r
216 \r
217 Ans:   There is a bit of info on aileron vs. rudder here:\r
218        http://www.arundel.net/xplane/html/crosswind.html\r
219        http://www.monmouth.com/~jsd/how/\r
220 \r
221 ---------------------------------------------------------------------------\r
222 3)   FG is sooo slow (1 fps), though i got hardware acceleration like\r
223      Voodoo/Voodoo2 etc... What's the reason ?\r
224 \r
225 Ans:   Flight Gear supports hardware acceleration, but it seems not\r
226        to be activated. Even a P-400 goes berzerk using software rendering.\r
227        First check out if you have MESA with glide support.\r
228        Linux Users enter "make linux-glide" to compile Mesa\r
229        \r
230        Check out your environment variables, whether you use soft or hard-ware\r
231        rendering. Here an example that should work :\r
232        \r
233        You have to tell Mesa to use fullscreen\r
234  \r
235        MESA_GLX_FX=fullscreen\r
236        \r
237        You also must set the appropriate Voodoo vars, here is for Voodoo2\r
238        the Voodoo1 vars may slightly differ.\r
239        \r
240        SSTV2_BGAMMA=1.00\r
241        SSTV2_FASTMEM_RAS_READS=1\r
242        SSTV2_FASTPCIRD=1\r
243        SSTV2_GAMMA=1.00\r
244        SSTV2_GGAMMA=1.00\r
245        SSTV2_GRXCLK=95\r
246        SSTV2_RGAMMA=1.00\r
247        SSTV2_SCREENREFRESH=60\r
248        SSTV2_SWAP_EN_WAIT_ON_VSYNC=0\r
249        SSTV2_VGA_PASS=0 \r
250        \r
251        The Voodoo vars can be obtained at:\r
252        http://www.bahnhof.se/~engstrom/e_3dfxvars.htm\r
253        \r
254        Another good tool is glide-control to set the env. vars, go get it at:\r
255        http://www.ling.ed.ac.uk/~oliphant/gc      \r
256        \r
257        Check also the help-startup-screen of Flight Gear:\r
258        fgfs --help\r
259 \r
260 ===========================================================================\r
261 \r
262 Oliver Delise Maintainer of FAQ\r
263 Please send any comments/suggestions/flames or beer to delise@rp-plus.de \r