Military AI Works • Object Placer 0.84 XML
Page 1 of 1

Object Placer 0.84 XML

Posted: 16 Jun 2009, 03:10
by msm8378
I downloaded this neat little program from FSDeveloper.com. However, I keep getting an error when trying to compile a file...

F:\Program Files\SceneryDesign.org\ObPlacer XML>bglcomp compile.xml
INTERNAL COMPILER ERROR C1003: Failed to create MSXML object! (0x80040154)

Parsing document: compile.xml

ERROR C2470: Unrecoverable error parsing XML!
ERROR C2006: Parse failed (0x80004005)
ERROR C2003: Failed to process file: compile.xml


If anyone is familiar with this type of error please educate me!!

Thanks,

Mat

Posted: 16 Jun 2009, 04:32
by MIKE JG
Mat have you been able to place objects with Arno's program before this error?

Posted: 16 Jun 2009, 05:32
by msm8378
Mike...

No, I just installed it.

I have tried it in both XP and Vista-64. Both OS are completely up-to-date to include the MSXML4 updates. I also have ScenGenX (Airport) and the FS2004 BGL SDK installed in XP. No problems compiling with them.

I am curious if the compile.xml file is causing the problem? From the looks of things it is some kind of "mid-wife" between bglcomp and the file that you are actually trying to create...

I guess I could use Object Placer to generate the XML code and then compile it directly via the FS2004 BGL SDK, but sure would be nice to figure this out...it seems like a really nice program.

Mat

Posted: 16 Jun 2009, 05:55
by scottr5213
Error C2003, An identifier must follow the preprocessor keyword.

Error C2006, Directives such as #include or #import require a filename. To resolve the error, make sure token is a valid filename. Also, put the filename in double quotes or angle brackets.

ERROR C2470, A function definition is missing its argument list.

ERROR C1003, Errors in the program are too numerous to allow recovery. The compiler must terminate.

Posted: 16 Jun 2009, 14:14
by msm8378
Thanks Scott...

I'll take a look at this compile.xml file when I get a chance and see if I can figure out what is going on...

Mat

Posted: 19 Jun 2009, 00:24
by msm8378
Thanks for the help guys...

I finally got the program working correctly in VISTA. Not sure why, but had to install it three times before the files correctly registered with the OS.

:D

Mat

Posted: 19 Jun 2009, 12:19
by scottr5213
The main reason was error c1003.