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

Problem with BGL Compiling

Messages
8
Country
trinidad-tobago
Every time I try to compile an airport there is a set of errors. This is an airport which I created from scratch but I dont think that this will create a problem. I'll display the error message as an attachment.

Please help me solve this problem
 

Attachments

I think this is for FSX. I assume you are using the compiler from the FSX SDK and not trying to use the FS9 Compiler that ships with ADE?
 
Yes, it is for FSX and I'm compiling it directly to the Addon Scenery " Scenery " folder

OK but that does not answer my question. I do not think you have used the correct compiler.

Have you installed the FSX SDK?
 
No I haven't installed SDK. But I can't find it in the FSX folder. Where exactly is it?
 
Last edited:
Ok, I instaled SDK SP1A and tried to compile it but it still didnt work

I am sorry but that is not enough information to help you. What error message are you getting?
 
Here is the current error message.

ScruffyDuck Scenery Design Engine Compiling
Using UNKNOWN BglComp....


Parsing document: C:\Program Files\Microsoft Games\Microsoft Flight Simulator X\Addon Scenery\scenery\TTAA_ADEX_LDC.xml

INTERNAL COMPILER ERROR: #C2950: Invalid fixType tag (RUNWAY).
INTERNAL COMPILER ERROR: #C2031: Failed element parse <Approach>
INTERNAL COMPILER ERROR: #C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Trinidad and Tobago
ERROR: city = San Fernando
ERROR: name = Chiti Private Airfield
ERROR: lat = 10.2079897004845
ERROR: lon = -61.3350228577205
ERROR: alt = 70.0F
ERROR: magvar = 14
ERROR: trafficScalar = 0.05
ERROR: airportTestRadius = 4999.97M
ERROR: ident = TTAA
ERROR: >
ERROR: <Approach
ERROR: type = GPS
ERROR: runway = 09
ERROR: designator = NONE
ERROR: suffix = 0
ERROR: gpsOverlay = TRUE
ERROR: fixType = RUNWAY
ERROR: fixRegion = TT
ERROR: fixIdent = CHITI
ERROR: altitude = 2000.0F
ERROR: heading = 90
ERROR: missedAltitude = 5000.0F
ERROR: >
ERROR:
INTERNAL COMPILER ERROR: #C2031: Failed element parse <Leg>
INTERNAL COMPILER ERROR: #C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Trinidad and Tobago
ERROR: city = San Fernando
ERROR: name = Chiti Private Airfield
ERROR: lat = 10.2079897004845
ERROR: lon = -61.3350228577205
ERROR: alt = 70.0F
ERROR: magvar = 14
ERROR: trafficScalar = 0.05
ERROR: airportTestRadius = 4999.97M
ERROR: ident = TTAA
ERROR: >
ERROR: <Approach
ERROR: type = GPS
ERROR: runway = 09
ERROR: designator = NONE
ERROR: suffix = 0
ERROR: gpsOverlay = TRUE
ERROR: fixType = RUNWAY
ERROR: fixRegion = TT
ERROR: fixIdent = CHITI
ERROR: altitude = 2000.0F
ERROR: heading = 90
ERROR: missedAltitude = 5000.0F
ERROR: >
ERROR: <ApproachLegs
ERROR: >
ERROR: <Leg
ERROR: type = IF
ERROR: fixType = RUNWAY
ERROR: fixRegion = TT
ERROR: fixIdent = CHITI
ERROR: altitudeDescriptor = +
ERROR: altitude1 = 2100.0F
ERROR: >
ERROR:
INTERNAL COMPILER ERROR: #C2607: Compilation errors detected, compilation failed!


Parse complete!
 
Well that is the approach GPS 09. It seems that the fix type is RUNWAY and that is not allowed. I am not sure how that was set. ADE does not offer RUNWAY when a new Approach is created however it will allow it to be changed to that in the property grid. That is a problem that needs to be fixed. In the meantime you need to open that approach in the editor and change the fix type to something valid.
 
Back
Top