• 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.

FSXA compiler error.

Messages
111
Country
us-colorado
FSX Delux
Before I report a compiler error.

How do I confirm that I have updated the SDK.
I downloaded the SDK and clicked on the exe but have no idea were it installed to.

I have "a" SDK installed to:
F:\FSX\SDK\SDK
F:\FSX\SDK\SDK\Core Utilities Kit
F:\FSX\SDK\SDK\Environment Kit
F:\FSX\SDK\SDK\Mission Creation Kit
F:\FSX\SDK\SDK\SimObject Creation Kit
Note: SDK has been explaned to me many times. I have no idea what SDK is or do I understand how it works.

Revised ALT
Green issues

After a BglComp search I found I have at least 11 Bglcomp.exe's installed in various folders on my computer.

\VVQN_ADEX_GDR.xml

ERROR C2309: trafficScalar is NOT a valid token!
ERROR C2028: Invalid attribute! (trafficScalar)
ERROR C2472: Invalid attribute!

ERROR: trafficScalar
ERROR: 0.7
ERROR C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Vietnam
ERROR: city = Quinhon
ERROR: name = Quinhon
ERROR: lat = 13.7683334201574
ERROR: lon = 109.046666622162
ERROR: alt = 377.0F
ERROR: magvar = 1.20000004768372
ERROR: >
ERROR:
ERROR C2309: airportTestRadius is NOT a valid token!
ERROR C2028: Invalid attribute! (airportTestRadius)
ERROR C2472: Invalid attribute!

ERROR: airportTestRadius
ERROR: 16404.2F
ERROR C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Vietnam
ERROR: city = Quinhon
ERROR: name = Quinhon
ERROR: lat = 13.7683334201574
ERROR: lon = 109.046666622162
ERROR: alt = 377.0F
ERROR: magvar = 1.20000004768372
ERROR: >
ERROR:
ERROR C2309: deleteAllControlTowers is NOT a valid token!
ERROR C2028: Invalid attribute! (deleteAllControlTowers)
ERROR C2472: Invalid attribute!

ERROR: deleteAllControlTowers
ERROR: TRUE
ERROR C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Vietnam
ERROR: city = Quinhon
ERROR: name = Quinhon
ERROR: lat = 13.7683334201574
ERROR: lon = 109.046666622162
ERROR: alt = 377.0F
ERROR: magvar = 1.20000004768372
ERROR: ident = VVQN
ERROR: >
ERROR: <DeleteAirport
ERROR: deleteAllRunways = TRUE
ERROR: deleteAllStarts = TRUE
ERROR: deleteAllHelipads = TRUE
ERROR: deleteAllFrequencies = TRUE
ERROR: deleteAllTaxiways = TRUE
ERROR: deleteAllAprons = TRUE
ERROR: deleteAllApronLights = TRUE
ERROR: >
ERROR:
ERROR C2309: deleteAllJetways is NOT a valid token!
ERROR C2028: Invalid attribute! (deleteAllJetways)
ERROR C2472: Invalid attribute!

ERROR: deleteAllJetways
ERROR: TRUE
ERROR C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Vietnam
ERROR: city = Quinhon
ERROR: name = Quinhon
ERROR: lat = 13.7683334201574
ERROR: lon = 109.046666622162
ERROR: alt = 377.0F
ERROR: magvar = 1.20000004768372
ERROR: ident = VVQN
ERROR: >
ERROR: <DeleteAirport
ERROR: deleteAllRunways = TRUE
ERROR: deleteAllStarts = TRUE
ERROR: deleteAllHelipads = TRUE
ERROR: deleteAllFrequencies = TRUE
ERROR: deleteAllTaxiways = TRUE
ERROR: deleteAllAprons = TRUE
ERROR: deleteAllApronLights = TRUE
ERROR: >
ERROR:
ERROR C2309: deleteAllBoundaryFences is NOT a valid token!
ERROR C2028: Invalid attribute! (deleteAllBoundaryFences)
ERROR C2472: Invalid attribute!

ERROR: deleteAllBoundaryFences
ERROR: TRUE
ERROR C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Vietnam
ERROR: city = Quinhon
ERROR: name = Quinhon
ERROR: lat = 13.7683334201574
ERROR: lon = 109.046666622162
ERROR: alt = 377.0F
ERROR: magvar = 1.20000004768372
ERROR: ident = VVQN
ERROR: >
ERROR: <DeleteAirport
ERROR: deleteAllRunways = TRUE
ERROR: deleteAllStarts = TRUE
ERROR: deleteAllHelipads = TRUE
ERROR: deleteAllFrequencies = TRUE
ERROR: deleteAllTaxiways = TRUE
ERROR: deleteAllAprons = TRUE
ERROR: deleteAllApronLights = TRUE
ERROR: >
ERROR:
ERROR C2309: deleteAllBlastFences is NOT a valid token!
ERROR C2028: Invalid attribute! (deleteAllBlastFences)
ERROR C2472: Invalid attribute!

ERROR: deleteAllBlastFences
ERROR: TRUE
ERROR C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Vietnam
ERROR: city = Quinhon
ERROR: name = Quinhon
ERROR: lat = 13.7683334201574
ERROR: lon = 109.046666622162
ERROR: alt = 377.0F
ERROR: magvar = 1.20000004768372
ERROR: ident = VVQN
ERROR: >
ERROR: <DeleteAirport
ERROR: deleteAllRunways = TRUE
ERROR: deleteAllStarts = TRUE
ERROR: deleteAllHelipads = TRUE
ERROR: deleteAllFrequencies = TRUE
ERROR: deleteAllTaxiways = TRUE
ERROR: deleteAllAprons = TRUE
ERROR: deleteAllApronLights = TRUE
ERROR: >
ERROR:
ERROR C2309: alternateThreshold is NOT a valid token!
ERROR C2028: Invalid attribute! (alternateThreshold)
ERROR C2472: Invalid attribute!

ERROR: alternateThreshold
ERROR: FALSE
ERROR C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Vietnam
ERROR: city = Quinhon
ERROR: name = Quinhon
ERROR: lat = 13.7683334201574
ERROR: lon = 109.046666622162
ERROR: alt = 377.0F
ERROR: magvar = 1.20000004768372
ERROR: ident = VVQN
ERROR: >
ERROR: <Runway
ERROR: lat = 13.7673460319638
ERROR: lon = 109.046947360039
ERROR: alt = 377.0F
ERROR: surface = ASPHALT
ERROR: heading = 178.800003051758
ERROR: length = 4974.0F
ERROR: width = 98.0F
ERROR: number = 18
ERROR: designator = NONE
ERROR: patternAltitude = 1000.0F
ERROR: primaryTakeoff = YES
ERROR: primaryLanding = YES
ERROR: primaryPattern = LEFT
ERROR: secondaryTakeoff = YES
ERROR: secondaryLanding = YES
ERROR: secondaryPattern = LEFT
ERROR: >
ERROR: <Markings
ERROR: >
ERROR:
ERROR C2309: alternateTouchdown is NOT a valid token!
ERROR C2028: Invalid attribute! (alternateTouchdown)
ERROR C2472: Invalid attribute!

ERROR: alternateTouchdown
ERROR: FALSE
ERROR C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Vietnam
ERROR: city = Quinhon
ERROR: name = Quinhon
ERROR: lat = 13.7683334201574
ERROR: lon = 109.046666622162
ERROR: alt = 377.0F
ERROR: magvar = 1.20000004768372
ERROR: ident = VVQN
ERROR: >
ERROR: <Runway
ERROR: lat = 13.7673460319638
ERROR: lon = 109.046947360039
ERROR: alt = 377.0F
ERROR: surface = ASPHALT
ERROR: heading = 178.800003051758
ERROR: length = 4974.0F
ERROR: width = 98.0F
ERROR: number = 18
ERROR: designator = NONE
ERROR: patternAltitude = 1000.0F
ERROR: primaryTakeoff = YES
ERROR: primaryLanding = YES
ERROR: primaryPattern = LEFT
ERROR: secondaryTakeoff = YES
ERROR: secondaryLanding = YES
ERROR: secondaryPattern = LEFT
ERROR: >
ERROR: <Markings
ERROR: >
ERROR:
ERROR C2309: alternateFixedDistance is NOT a valid token!
ERROR C2028: Invalid attribute! (alternateFixedDistance)
ERROR C2472: Invalid attribute!

ERROR: alternateFixedDistance
ERROR: FALSE
ERROR C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Vietnam
ERROR: city = Quinhon
ERROR: name = Quinhon
ERROR: lat = 13.7683334201574
ERROR: lon = 109.046666622162
ERROR: alt = 377.0F
ERROR: magvar = 1.20000004768372
ERROR: ident = VVQN
ERROR: >
ERROR: <Runway
ERROR: lat = 13.7673460319638
ERROR: lon = 109.046947360039
ERROR: alt = 377.0F
ERROR: surface = ASPHALT
ERROR: heading = 178.800003051758
ERROR: length = 4974.0F
ERROR: width = 98.0F
ERROR: number = 18
ERROR: designator = NONE
ERROR: patternAltitude = 1000.0F
ERROR: primaryTakeoff = YES
ERROR: primaryLanding = YES
ERROR: primaryPattern = LEFT
ERROR: secondaryTakeoff = YES
ERROR: secondaryLanding = YES
ERROR: secondaryPattern = LEFT
ERROR: >
ERROR: <Markings
ERROR: >
ERROR:
ERROR C2309: alternatePrecision is NOT a valid token!
ERROR C2028: Invalid attribute! (alternatePrecision)
ERROR C2472: Invalid attribute!

ERROR: alternatePrecision
ERROR: FALSE
ERROR C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Vietnam
ERROR: city = Quinhon
ERROR: name = Quinhon
ERROR: lat = 13.7683334201574
ERROR: lon = 109.046666622162
ERROR: alt = 377.0F
ERROR: magvar = 1.20000004768372
ERROR: ident = VVQN
ERROR: >
ERROR: <Runway
ERROR: lat = 13.7673460319638
ERROR: lon = 109.046947360039
ERROR: alt = 377.0F
ERROR: surface = ASPHALT
ERROR: heading = 178.800003051758
ERROR: length = 4974.0F
ERROR: width = 98.0F
ERROR: number = 18
ERROR: designator = NONE
ERROR: patternAltitude = 1000.0F
ERROR: primaryTakeoff = YES
ERROR: primaryLanding = YES
ERROR: primaryPattern = LEFT
ERROR: secondaryTakeoff = YES
ERROR: secondaryLanding = YES
ERROR: secondaryPattern = LEFT
ERROR: >
ERROR: <Markings
ERROR: >
ERROR:
ERROR C2309: leadingZeroIdent is NOT a valid token!
ERROR C2028: Invalid attribute! (leadingZeroIdent)
ERROR C2472: Invalid attribute!

ERROR: leadingZeroIdent
ERROR: TRUE
ERROR C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Vietnam
ERROR: city = Quinhon
ERROR: name = Quinhon
ERROR: lat = 13.7683334201574
ERROR: lon = 109.046666622162
ERROR: alt = 377.0F
ERROR: magvar = 1.20000004768372
ERROR: ident = VVQN
ERROR: >
ERROR: <Runway
ERROR: lat = 13.7673460319638
ERROR: lon = 109.046947360039
ERROR: alt = 377.0F
ERROR: surface = ASPHALT
ERROR: heading = 178.800003051758
ERROR: length = 4974.0F
ERROR: width = 98.0F
ERROR: number = 18
ERROR: designator = NONE
ERROR: patternAltitude = 1000.0F
ERROR: primaryTakeoff = YES
ERROR: primaryLanding = YES
ERROR: primaryPattern = LEFT
ERROR: secondaryTakeoff = YES
ERROR: secondaryLanding = YES
ERROR: secondaryPattern = LEFT
ERROR: >
ERROR: <Markings
ERROR: >
ERROR:
ERROR C2309: noThresholdEndArrows is NOT a valid token!
ERROR C2028: Invalid attribute! (noThresholdEndArrows)
ERROR C2472: Invalid attribute!

ERROR: noThresholdEndArrows
ERROR: TRUE
ERROR C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Vietnam
ERROR: city = Quinhon
ERROR: name = Quinhon
ERROR: lat = 13.7683334201574
ERROR: lon = 109.046666622162
ERROR: alt = 377.0F
ERROR: magvar = 1.20000004768372
ERROR: ident = VVQN
ERROR: >
ERROR: <Runway
ERROR: lat = 13.7673460319638
ERROR: lon = 109.046947360039
ERROR: alt = 377.0F
ERROR: surface = ASPHALT
ERROR: heading = 178.800003051758
ERROR: length = 4974.0F
ERROR: width = 98.0F
ERROR: number = 18
ERROR: designator = NONE
ERROR: patternAltitude = 1000.0F
ERROR: primaryTakeoff = YES
ERROR: primaryLanding = YES
ERROR: primaryPattern = LEFT
ERROR: secondaryTakeoff = YES
ERROR: secondaryLanding = YES
ERROR: secondaryPattern = LEFT
ERROR: >
ERROR: <Markings
ERROR: >
ERROR:


Parse complete!
 
SDK is a Software Development Kit.

It is a collection of resources used to create content for the sim.

You must use the correct version of tools for the version of sim you are using.

Those errors look like you are trying to use the FS9 BGLComp.exe for FSX, that won't work.

Where did you download the SDK from?

For FSX you have to get it off of your install discs and the SDK is not included if you have FSX Standard.

If you have FSX Deluxe you are good to go, here is a wiki on the SDK install- SDK Installation (FSX) - FSDeveloper Wiki

cheers,
Lane
 
Its not were I downloaded from(Microsoft) but were did it install to?
As I said, after fsx_sdk_sp1 DL I clicked the exe and have no idea were it installed to.
So were do I get the proper bglcomp?
 
Last edited:
gdr: SDK installs, in my case with X86, at: "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X SDK\SDK\" Check out where Lane suggested regarding SDK Installation, there is all kinds of information and does and don'ts.

SDK provides tools, compilers, headers, libraries, samples, and a new help system that developers and users can use to modify FSX.

If you do not know what it does, or have no idea why you would use it, why install it? It is, however, an extremely useful tool for "modifying" FSX for those who enjoy doing that. John
 
Last edited:
I don't have a Microsoft Games folder

why install it.
That's what ADE told me to do.
I don't enjoy fixing doz of airports in holes.
All I want to do is correct airport alt so they don't set in a hole.
How come nobody will tell me where the correct bglcomp is?
I have about 11 other bglcomp's scattered around my folders
 
We can't tell you where the correct BGLComp.exe is because we have no idea what your file structure looks like.

Try this, open ADEX and go to Settings, then Options and look at the Folder tab.

This will tell you where ADEX thinks the BGLComp.exe is.

Now go to that location and right click on the BGLComp.exe and tell us what the file version is.

You might also look at F:\FSX\SDK\SDK\Environment Kit\BGL Compiler SDK\ and check the BGLComp.exe version, if this is not where ADEX is looking for it.

Also, what version of FSX are you running? FSX, FSX SP1, FSX SP2, FSX w/Acceleration, FSX Steam?

cheers,
Lane
 
gdr: My version is 10.0.61637.0 if that helps and the location Lane said to look for it is where you should tell ADEX to look for it, that is if you have a correct version at that location. John
 
Last edited:
Whatever one you are using it looks like the FS9 compiler based on the errors which refer to properties found in FSX but not in FS9.
 
Thank you for your patience and understanding.
I hope this is the info you need to help me.
FSX w/Acceleration
ADE v01.67.5684
ADE (Settings) F:\FSX\SDK\SDK\Environment Kit\BGL Compiler SDK
BglComp.jpg
 
Last edited:
Sorry please run ADE and try to compile something. The log you sent was empty.
 
Uninstalled and deleted ADE and SDK files and folders
Went thru registry deleting ADE keys
Reinstalled ADE and SDK to their default folders.
Had to manually find SDK bglcomp and Shp2Vec but ADE compiles now.

Thanks for
Help.
 
Back
Top