Re: Terragear 0.9.5 will not compile

"Curtis L. Olson" <[email protected]>
Newsgroups gmane.games.flightgear.terragear.devel
Message-ID <[email protected]>
[email protected] wrote:

> Thanks Curt. That was fixed, but new one came up during make...
>
> if g++ -DHAVE_CONFIG_H -I. -I. -I../../../src/Include 
> -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include 
> -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
> -g -O2 -MT output.o -MD -MP -MF ".deps/output.Tpo" -c -o output.o 
> output.cc; \
> then mv -f ".deps/output.Tpo" ".deps/output.Po"; else rm -f 
> ".deps/output.Tpo"; exit 1; fi
> output.cc:4:21: streambuf: No such file or directory
> make[3]: *** [output.o] Error 1
> make[3]: Leaving directory `/flightgear/TerraGear-0.9.5/src/Prep/Terra'


Not sure about this one ... what compiler version are you using?  What 
version of linux?  If you have something really old, it might be worth 
considering an upgrade.

> Yeah, that's what I thought, but I have the scenery loaded, but the 
> airports, that I would like to play with EFHK, EFHF do not match with 
> the airport definition file. Well it is different also in my system as 
> the FG FAQ states, that $FGROOT/Airports/default.apt.gz is the 
> definition file. Well I do not have it. In Airports I have two files, 
> basic.dat and runways.dat, that seem to have the same syntax as the 
> default.apt. Should these work??


FAQ is probably a bit old ... there was a recent change to the file naming.

> In runways.dat for EFHK there are 3 runways specified and in scenery I 
> can see only 2. The 04L is not there. Also the runway lights can be 
> seen only in one direction of the runway. E.g. 04R is ok, but nothing 
> in 22L.
>
> So the FAQ says "You can add your airport to the 
> $FGROOT/Airports/default.apt.gz file, but to get the airport to show 
> up visually, you will have to rebuild the scenery around the 
> airport.", so I thougth I should rebuild to be able to get the updated 
> fields/airports to show up.


Rebuilding the scenery is not a trivial task, but it is doable.  Which 
version of the scenery did you download?  The latest (v0.9.5) should 
match the current airport definition file.

> I have a ton of questions about the system, but lets start with these 
> and once I have gotten a bit more familiar with the system (FG,TG and 
> LINUX), then I hope I will not as stupid questions from you.
>
> What I would like to do with the FG/SimGear is, that I could use the 
> created scenery and could input LAT,LONG,ALT,HEADING,PITCH,ROLL,YAW 
> from serial port and make the engine (SimGear??) to position the 
> camera with those parameters. I did this with MSFS 2000 + FSUIPC 
> interface with VisualBasic, but it is a bit too slow. 


You may want to develop your own custom protocol module to minimize 
(optimize?) the data you are sending but that is pretty 
straightforward.  Once you do that you can have FG grab new data off the 
serial port as fast as your machine can render it.  (You can specify the 
rate in hz you wish to poll the serial port (or any other input channel.))

Regards,

Curt.

-- 
Curtis Olson        http://www.flightgear.org/~curt 
HumanFIRST Program  http://www.humanfirst.umn.edu/
FlightGear Project  http://www.flightgear.org
Unique text:        2f585eeea02e2c79d7b1d8c4963bae2d


_______________________________________________
Terragear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/terragear-devel
2f585eeea02e2c79d7b1d8c4963bae2d
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.