Compile error

#1
Hi!
When I try to compile I get following error:

C:\Program\SceneryDesign.org\ObPlacer XML>bglcomp compile.xml

Parsing document: compile.xml

ERROR C2014: Failed to load model data in file: Klubbhus.mdl
ERROR C2149: Failed to load model data!
ERROR C2340: Failed to finalize MODEL_DATA!
ERROR C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <ModelData
ERROR: name = 9FE43B8C4CC1E49BD9B31F8D7528D832
ERROR: sourceFile = Klubbhus.mdl
ERROR: >
ERROR:
ERROR C2024: Failed to process closing element tag <ModelData> near line 9!


But if I invoke the compiler manually from the command line, it compiles ok.
Any suggestions?
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
#2
Hi,

Did you create this XML totally from scratch in ObPlacer XML or did you start with the GMax template? There are some problems with using paths and compiling for a different folder.
 
#3
Hello,

I just got the same error after trying to compile my mdl file to bgl

C:\Program Files\SceneryDesign.org\ObPlacer XML>bglcomp compile.xml

Parsing document: compile.xml

ERROR C2014: Failed to load model data in file: rwy_base.mdl
ERROR C2149: Failed to load model data!
ERROR C2340: Failed to finalize MODEL_DATA!
ERROR C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <ModelData
ERROR: name = F2E6B3F34F697E866DD2B780A172B586
ERROR: sourceFile = rwy_base.mdl
ERROR: >
ERROR:
ERROR C2024: Failed to process closing element tag <ModelData> near line 12!


Parse complete!
 
#4
Arno, I'm trying to make xml by itself (gmax template) and compile with obplacer still got error like Markkus say.

and trying to use bglcomp copying from fsx_sdk still got error.

any clue?
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
#5
Hi,

ObPlacer XML only works with the FS2004 BGLComp, you can not use it with FSX XML files and FSX BGLComp. So that is probably why your manual compile fails.

For the error within ObPlacer XML I am not sure. I always let ObPlacer XML make the whole XML file for me (not using the GMax templates) and never had such trouble.
 
Top