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

Planner not listening

Messages
1
Country
unitedkingdom
Have built my aerodrome and written xml file. Have tried to compile bgl and all I get is failure.
The planner keeps telling me it cannot write to the destination folder (prog files,ms games etc, and I keep telling it that I do not want the file there but in my actual flight sim addon folder which is on another drive and folder.. Planner just won't listen and does nothing but complain that it cannot write to the destination folder. I have completed the destination questions at the top of the compile box!! Even when I said OK do it where you want it still failed 'cos it couldn't write. I have full admin rights etc. How do I get it to grow-up and listen to me:mad:

Running wxp pro 64bit

The error reads exactly as follows:
Parsing document: Cranwell AB EGYD.xml

INTERNAL COMPILER ERROR: #C2593:
**** DUPLICATE VOR/ILS ****
INTERNAL COMPILER ERROR: #C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = United Kingdom
ERROR: city = Cranwell
ERROR: name = Cranwell AB
ERROR: lat = 53.03035005927086
ERROR: lon = -.48330545425415
ERROR: alt = 66.446M
ERROR: magvar = 3.0
ERROR: ident = EGYD
ERROR: trafficScalar = 0.7
ERROR: airportTestRadius = 5000.0M
ERROR: >
ERROR: <Runway
ERROR: lat = 53.02973683923483
ERROR: lon = -.49270525574684
ERROR: alt = 66.446M
ERROR: surface = ASPHALT
ERROR: heading = 82.7
ERROR: length = 2078.4312M
ERROR: width = 45.72M
ERROR: number = 09
ERROR: designator = NONE
ERROR: patternAltitude = 304.8M
ERROR: primaryTakeoff = TRUE
ERROR: primaryLanding = TRUE
ERROR: primaryPattern = LEFT
ERROR: secondaryTakeoff = TRUE
ERROR: secondaryLanding = TRUE
ERROR: secondaryPattern = LEFT
ERROR: primaryMarkingBias = 0.0M
ERROR: secondaryMarkingBias = 0.0M
ERROR: >
ERROR: <Ils
ERROR: lat = 53.02793741226196
ERROR: lon = -.51602259278297
ERROR: alt = 66.446M
ERROR: heading = 262.7
ERROR: frequency = 109.7
ERROR: end = SECONDARY
ERROR: range = 50017.0M
ERROR: magvar = 3.0
ERROR: ident = CW
ERROR: width = 4.8480663
ERROR: name = ILS 27
ERROR: backCourse = TRUE
ERROR: >
ERROR:
INTERNAL COMPILER ERROR: #C2024: Failed to process closing element tag <Ils> near line 1153!
INTERNAL COMPILER ERROR: #C2607: Compilation errors detected, compilation failed!


Parse complete!

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


The last line is total and utter rubbish. I have even run the thing as administrator and still get the same result.
 
Last edited:
Well your problem is listed at the top of the compiler output - you have two or more VOR/ILS with the same ID. Until you fix that the compiler will not compile it. This has nothing to do with files or locations but a problem in your airport data
 
pipelighter

Just a couple of things to remember...

The FSX BGL compiler is what is displaying the error, not FSX Planner.

And as Jon said, right off the bat, the compiler is telling you, you have 2 (two) vor's or ils's (and my guess is ils's for RWY 09/27). Hence, the compiler show's you you have an error and terminates. Pull up your airport and display the ILS function and ensure you do not have two ILS's set up at the end of RWY 27. If you do not see two of them, open the xml file in an xml editor (Cooktop or MS) and search for your ILS's (they should be tagged with your RWY data) and delete the second one.

The compiler will alway inform you of the error and what line it is showing (in this case 1153). Since it did not compile, you get the "Can't copy BGL file into the destination folder:
G:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X SDK\SDK\Environment Kit\BGL Compiler SDK\Cranwell AB EGYD.BGL (The system cannot find the file specified)" info string. Just ignore this line and fix the error mentioned in the first couple of lines.

Hopefully this will cure the problem and you should be off and flying in no time.
 
Back
Top