I am trying to get Tats macflightgear 32-bit binary package to run on 
iMac (64 bit Mac OS X 10.6.2) but it simply crashes with no information. 
The package works on my Macbook Pro also running 64-bit Snowleopard.

Now, after some tweaking I finally got Tat's source package to compile 
in 32bit version on my iMac with debug information and I am trying to 
find the point of failure.


I have not found the problem yet since it took me a while to go through 
and remove inconsistencies between apt.dat.gz and nav.dat.gz that makes 
fg to abort (I use the latest CVS version of these files). All 
inconsitencies are listed below. I get a lot of

no such runway '26' at airport CYKF
Fatal error: unknown runway 26 at airport:CYKF
  (received from FGAirport::getRunwayByIdent)

Uncaught Exception: you should see a meaningful error message
here, but your GLUT (or SDL) library was apparently compiled
and/or linked without exception support. Please complain to
its provider!


Examining the issue reveals that there is no runway 26 in CYKF. There 
are lines 07x, 14x, and xxx in apt.dat.gz. Just to get further I do 
changes that resolves the inconsistencies.

Then the following message type starts to appear:

navaid ENSG 24  ILS-cat-I associated with bogus airport ID:ENSG

This message is from function FGRunway* getRunwayFromName(const 
std::string& aName) in file navdb.cxx. The message says it all ... the 
airport is not in apt.dat.gz This is not really a inconsistency but a 
missing airport in apt.dat.gz


The interesting part is that my 64bit binary does not crash with the 
above inconsistencies and also Tats 32-bit binary works on my Macbook Pro.


Maybe the issues described above are valid only for my local build but 
there are a many inconsistent entries in the dat-files. I list them 
below as reference if someone decides to fix the issues and update the 
dat-files.


Cheers,

Jari


Each inconsitency is reported once but several entries in nav.dat.gz 
shows similar errors:
no such runway '26' at airport CYKF
no such runway '07' at airport EDDB
no such runway '05' at airport KGVL
no such runway '01C' at airport KIAD
no such runway '08L' at airport KONT
no such runway '01' at airport KSAV
no such runway '15' at airport LFSB
no such runway '13' at airport LMML
no such runway '12L' at airport MMUN
no such runway '19' at airport ENNK
no such runway '23' at airport LFRU

navaid ENSG 24  ILS-cat-I associated with bogus airport ID:ENSG
Sogndal, Norway

navaid PAED 06  ILS-cat-I associated with bogus airport ID:PAED
PAED Elmendorf Air Force Base Anchorage, Alaska, USA

navaid PAKU 05  ILS-cat-I associated with bogus airport ID:PAKU
PAKU Ugnu-Kuparuk Airport Kuparuk, Alaska, USA

navaid PAYA 11  ILS-cat-I associated with bogus airport ID:PAYA
PAYA     Yakutat Airport Yakutat, Alaska, USA

navaid WADD 27  ILS-cat-I associated with bogus airport ID:WADD
Ngurah Rai International Airport (IATA: DPS, ICAO: WADD), also known as 
Denpasar International Airport, is located in southern Bali Indonesia

navaid WALL 25  ILS-cat-I associated with bogus airport ID:WALL
Sepinggan International Airport map (BPN/WALL) Indonesia

navaid WAOO 10  ILS-cat-I associated with bogus airport ID:WAOO
Syamsudin Noor Airport (IATA: BDJ, ICAO: WAOO) is an airport serving 
Banjarmasin in South Kalimantan, Indonesia.

navaid WAOP 34  ILS-cat-I associated with bogus airport ID:WAOP
Tjilik Riwut Airport (IATA: PKY, ICAO: WAOP), formerly Panarung Airport, 
is an airport in Palangkaraya, Central Kalimantan, Indonesia

navaid WARJ 09  ILS-cat-I associated with bogus airport ID:WARJ
Adisucipto (or Adisutjipto) International Airport (IATA: JOG, ICAO: 
WARJ) is the principal airport serving the Yogyakarta area on the island 
of Java, Indonesia.

navaid WARQ 26  ILS-cat-I associated with bogus airport ID:WARQ
Adisumarmo International Airport (IATA: SOC, ICAO: WARQ) is an airport 
located on Solo, Central Java, Indonesia.

navaid WARR 10  ILS-cat-I associated with bogus airport ID:WARR
Juanda International Airport (Indonesian: Bandar Udara Internasional 
Juanda) (IATA: SUB, ICAO: WARR), is an airport located in Sidoarjo, a 
small town near Surabaya, East Java.

navaid WIDD 04  ILS-cat-I associated with bogus airport ID:WIDD
Hang Nadim Airport (IATA: BTH, ICAO: WIDD), also known as Hang Nadim 
International Airport, is located in Batam, Riau Islands (part of 
Sumatra), Indonesia

navaid WIHH 24  ILS-cat-I associated with bogus airport ID:WIHH
Halim Perdanakusuma International Airport (Indonesian: Bandar Udara 
Internasional Halim Perdanakusuma) (IATA: HLP, ICAO: WIHH) is located 
the Indonesian capital Jakarta

navaid ZULS 27R ILS-cat-I associated with bogus airport ID:ZULS
Lhasa Gonggar Airport is an airport that serves the city of Lhasa, 
Tibet, China.

navaid ENBL 07  LOC associated with bogus airport ID:ENBL
Førde Airport, Bringeland (IATA: FDE, ICAO: ENBL) (Norwegian: Førde 
lufthamn, Brigeland) is located 400 metres above sea level at 
Bringelandsåsen in Gaular municipality, Norway

navaid PAMC 16  LOC associated with bogus airport ID:PAMC
McGrath Airport (IATA: MCG, ICAO: PAMC, FAA LID: MCG) is a state-owned 
public-use airport located in the McGrath, a city in the Yukon-Koyukuk 
Census Area of the U.S. state of Alaska

navaid PAUN 14  LOC associated with bogus airport ID:PAUN
PAUN     Unalakleet Airport Unalakleet, Alaska, USA


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to