Re: Existing Airports: which is the way to build the *.btg file
Gerard ROBIN <[email protected]> Sun, 26 Jun 2005 19:58:12 +0200
| Newsgroups | gmane.games.flightgear.terragear.devel |
|---|---|
| Message-ID | <[email protected]> |
Le dimanche 26 juin 2005 à 18:17 +0100, David Luff a écrit :
> Gerard ROBIN writes:
>
>
> >
> > the right command seems to be:
> > genapts --input=apt.dat --airport=LFPO --work=myworkdir
> >
> > It should work, unfortunately i am falling with "segmentation error".
> > Something wrong in my system. bahh :-(
> >
>
> Hmm, that works for me. What is your system? genapts is only fairly recently robust to line-ending differences in apt.dat - make sure you have the latest CVS checked out, or check your line endings. Have you changed LFPO manually before running that command - try it on vanilla apt.dat. Does your work dir exist? Any output from genapts before "segmentation error"? Can you get a back-trace?
>
> Cheers - Dave
>
-Working on LINUX.
-it has found the work directory.
-the apt file is the last one
-the CVS is the last one
The difficulties seems coming from: missing poly_counter !?!?! in
work, and i don't have any of SRTM or DEM files.
Theses files could be necessary.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
here the full console messages from :
genapts --input=apt.dat --airport=LFPO --work=work
------------------------------------
Input file = apt.dat
Terrain sources =
work/SRTM-United_States-1
work/SRTM-North_America-3
work/SRTM-South_America-3
work/SRTM-Eurasia-3
work/SRTM-Africa-3
work/DEM-USGS-3
work/SRTM-30
Work directory = work
Nudge = 10
Longitude = -180:180
Latitude = -90:90
Warning: cannot open work/poly_counter
Data version = 715
Next airport = E46 3799
Next airport = 1T1 255
Next airport = 7M6 430
.......................
Next airport = LFPO 291
Next airport = 3H9 640
Building LFPO
Erreur de segmentation
-----------------------------
It writes a file => last_apt with in it : "before building LFPO"
nothing else.
Gerard
_______________________________________________
Terragear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/terragear-devel
2f585eeea02e2c79d7b1d8c4963bae2d