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

Cant compile to BGL using SDK compiler

Messages
162
Cant compile to BGL using SDK compiler (solved)

I made a file using the SDK object placement tool, but it wont compile with the bgl compiler. I don't know what i'm doing wrong. The compiler shows for a millisecond and i see a lot of critical errors, then it goes away instantly. It doesn't generate a file.
 
Last edited:

scruffyduck

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
34,853
Country
unitedkingdom
Check in the downloads section here and download Compiler Helper. This will capture any messages for you so that you can read them.
 
Messages
162
Ok thanks.

**Edit** Whats all this mean? (sorry i'm really new at this)


Parsing document: C:\Users\Peter\Desktop\LSZ1scenery.xml

INTERNAL COMPILER ERROR: #C2033: XML Parse Error (line, column, error)

ERROR: 3, 51, The element 'SimBase.Document' is used but not declared in the DTD/Schema.

INTERNAL COMPILER ERROR: #C2309: SimBase.Document is NOT a valid token!
INTERNAL COMPILER ERROR: #C2016: Invalid element found <SimBase.Document>, skipping!
INTERNAL COMPILER ERROR: #C2032: XML Parse Error! Element tree follows:

ERROR:
INTERNAL COMPILER ERROR: #C2033: XML Parse Error (line, column, error)

ERROR: 4, 22, The element 'WorldBase.Flight' is used but not declared in the DTD/Schema.

INTERNAL COMPILER ERROR: #C2309: WorldBase.Flight is NOT a valid token!
INTERNAL COMPILER ERROR: #C2016: Invalid element found <WorldBase.Flight>, skipping!
INTERNAL COMPILER ERROR: #C2032: XML Parse Error! Element tree follows:

ERROR:
INTERNAL COMPILER ERROR: #C2033: XML Parse Error (line, column, error)

ERROR: 5, 90, The element 'SceneryObjects.LibraryObject' is used but not declared in the DTD/Schema.

INTERNAL COMPILER ERROR: #C2309: SceneryObjects.LibraryObject is NOT a valid token!
INTERNAL COMPILER ERROR: #C2016: Invalid element found <SceneryObjects.LibraryObject>, skipping!
INTERNAL COMPILER ERROR: #C2032: XML Parse Error! Element tree follows:

ERROR:
INTERNAL COMPILER ERROR: #C2033: XML Parse Error (line, column, error)

ERROR: 6, 19, The element 'Descr' is used but not declared in the DTD/Schema.

INTERNAL COMPILER ERROR: #C2309: Descr is NOT a valid token!
INTERNAL COMPILER ERROR: #C2016: Invalid element found <Descr>, skipping!
INTERNAL COMPILER ERROR: #C2032: XML Parse Error! Element tree follows:

ERROR:
INTERNAL COMPILER ERROR: #C2026: Unexpected data Line:6 Column:39 (air_beaconlightland)
INTERNAL COMPILER ERROR: #C2309: Descr is NOT a valid token!
INTERNAL COMPILER ERROR: #C2023: Improper ending element <Descr>. Stopping!
INTERNAL COMPILER ERROR: #C2034: XML Parse Fatal Error (line, column, error)

ERROR: 6, 46, Unspecified error

INTERNAL COMPILER ERROR: #C2430: Unrecoverable error parsing XML!
INTERNAL COMPILER ERROR: #C2006: Parse failed (0x80004005)
INTERNAL COMPILER ERROR: #C2003: Failed to process file: C:\Users\Peter\Desktop\LSZ1scenery.xml
 
Last edited:

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,859
Country
netherlands
Hi,

I think you are trying to compile a XML file that is not BGLComp compliant.

Did you maybe use the SDK OPT to make it? It seems you are trying to compile a mission XML with BGLComp.
 
Messages
506
Country
unitedstates
Ok thanks.

**Edit** Whats all this mean? (sorry i'm really new at this)

A good tutorial to get you on your way is available at Avsim. Search under name for Luis Feliz-Tirado and you'll find his tutorial for working with the Object Placement Tool.
 
Messages
162
Hi,

I think you are trying to compile a XML file that is not BGLComp compliant.

Did you maybe use the SDK OPT to make it? It seems you are trying to compile a mission XML with BGLComp.

i used the SDK object placement tool if thats what you mean.
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,859
Country
netherlands
You need to use the button to save as scenery in the OPT, then you will get a XML file that BGLComp can compile.
 
Messages
162
thanks

Thanks for the info, i guess i accidently saved it as "mission" not a "scenery". the SDK OPT cant seem to open the scenery files, so i must have saved them intending to come back and do more if i needed.

Worked fine, just had to open and save it as scenery. Thanks.
 
Top