• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Error on KPHL

Messages
5
Country
unitedstates
I am new to FSDeveloper Community and to FSX Planner (R27b).

I have already altered several FSX airports with no trouble. I used AFCAD with FS9 extensively, but this is a little different, but not difficult.

My problem is this: I attempted to make some changes to KPHL and for the first time, I could not get it to compile. The message is as follows, if anyone can help me with this, you will be helping me to learn the program, too:


Parsing document: Philadelphia Intl KPHL.xml

INTERNAL COMPILER ERROR: #C2424: COM FREQUENCY can be 118.000 to 136.992Mhz in 0.0083Mhz steps!
INTERNAL COMPILER ERROR: #C2031: Failed element parse <Com>
INTERNAL COMPILER ERROR: #C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = United States
ERROR: state = Pennsylvania
ERROR: city = Philadelphia
ERROR: name = Philadelphia Intl
ERROR: lat = 39.87194459885359
ERROR: lon = -75.24113908410072
ERROR: alt = 10.972M
ERROR: magvar = 10.0
ERROR: ident = KPHL
ERROR: trafficScalar = 0.7
ERROR: airportTestRadius = 5000.0M
ERROR: >
ERROR: <Com
ERROR: frequency = 135.92499
ERROR: type = ATIS
ERROR: name = KPHL
ERROR: >
ERROR:
INTERNAL COMPILER ERROR: #C2607: Compilation errors detected, compilation failed!


Parse complete!

Can't copy BGL file into the destination folder:
C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X SDK\SDK\Environment Kit\BGL Compiler SDK\Philadelphia Intl KPHL.BGL (The system cannot find the file specified)

Thank you,

FlyGuy
 
ERROR: <Com
ERROR: frequency = 135.92499 <<========================
ERROR: type = ATIS
ERROR: name = KPHL
ERROR: >

You have what looks like a rounding error in the ATIS frequencey. The compiler is expecting it thus:

COM FREQUENCY can be 118.000 to 136.992Mhz in 0.0083Mhz steps!

The frequency above does not meet that criteria and the compile fails
 
Thanks

Hey Jon,

Thank you so much, my friend! You saved me a lot of hair pulling. I just went to the XML file and changed the value of that COM frequency to 135.925 like it's supposed to be and it compiled just fine.

I like utility programs like this because it gives me so many more choices when I fly FS. After reading your reply, I remembered something from my college programming classes in college that sometimes I would get a long list of compiler errors but when I fixed the first one, that fixed the others, too.

Thanks again,

Tim
 
Back
Top