1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Compile error

Discussion in 'ObPlacer and ObPlacer XML' started by MarkkuS, 24/7/07.

  1. MarkkuS

    MarkkuS

    Joined:
    7/10/06
    Messages:
    125
    Country:
    sweden
    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?
  2. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28/5/04
    Messages:
    21,304
    Country:
    netherlands
    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. Nixpilot

    Nixpilot

    Joined:
    17/3/09
    Messages:
    72
    Country:
    ca-ontario
    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. xbuddy

    xbuddy

    Joined:
    15/10/04
    Messages:
    226
    Country:
    indonesia
    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?
  5. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28/5/04
    Messages:
    21,304
    Country:
    netherlands
    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.
  6. xbuddy

    xbuddy

    Joined:
    15/10/04
    Messages:
    226
    Country:
    indonesia
    waks! thanks Arno, so I must try another tools which support FSX bglcomp to placing scenery. :(
  7. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28/5/04
    Messages:
    21,304
    Country:
    netherlands
    WhisPlacer would be a nice (and free) alternative.
  8. xbuddy

    xbuddy

    Joined:
    15/10/04
    Messages:
    226
    Country:
    indonesia
    Thank you Arno, I will try that.

Share This Page