Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Problem with bglcomp.exe

Featured Replies

Hello everyone.I've decided to try my hand at GMAX but I have a problem when using bglcomp.exe to make a bgl file of the house tutorial from the gmax SDK.Here is the error message I get:

Parsing document: test_house1.XMLERROR C2451: Latitude is out-of-bounds -- MUST be between -90 and 90!ERROR C2031: Failed element parse ERROR C2032: XML Parse Error! Element tree follows:ERROR: ERROR: ERROR:ERROR C2411: 'Library object' found outside of a SceneryObject!ERROR C2031: Failed element parse ERROR C2032: XML Parse Error! Element tree follows:ERROR: ERROR: ERROR: ERROR:ERROR C2151: Missing scenery object data (LIBRARYOBJECT, EFFECT, GENERICBUILDING, etc.)ERROR C2338: Failed to finalize BGL for scenery object!ERROR C2032: XML Parse Error! Element tree follows:ERROR: ERROR: ERROR:ERROR C2024: Failed to process closing element tag near line 6!ERROR: Compilation errors detected, compilation failed!Parse complete!
Any Help?Thanks in Advance
  • Moderator

Well, you're getting farther along with it that I am. Although I have no problems at all with aircraft models, every attempt to export the sample .gmax houses and compile with BGLComp have failed.Frankly, I've gone back to the "old" MakeMDL and simply compile my scenery the "old way" for the time being.The errors I get are "Failed to parse XML file!" It's their bloody file (with the comment tags removed, of course), but even so it will not work. :(

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator
  • Author
  • Commercial Member

It says in the beginning that your latitude is not entered correct. I am not sure if it likes this format: 38 783985Try to enter it in decimal form (something like 38.783985)

Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.