I can reproduce it (at least on my
machine), right out of the box.
I checked out a clean JSB, built it and ran with
the f15 config.
CVS will be giving me DOS style end of lines
here.
Result:
Crash.
If I run dos2unix, it parses. See
below.
The error on the second run is because I did not
specify an init file,
but it shows the config file was
successfully read in.
$ ls -l jsb
lrwxrwxrwx 1 Owner None 14 Mar 20 17:07 jsb -> src/JSBSim.exe* $ ./jsb --aircraft=f15
JSBSim Flight Dynamics Model v0.9.10 Mar 20 2006 17:02:48 [cfg file spec v2.0] JSBSim startup beginning ...
XML parse error: no element found
Segmentation fault (core dumped) /usr/local/source/cvs_versions/jsb/JSBSim
$ dos2unix aircraft/f15/f15.xml aircraft/f15/f15.xml: done. /usr/local/source/cvs_versions/jsb/JSBSim
$ ./jsb --aircraft=f15 JSBSim Flight Dynamics Model v0.9.10 Mar 20 2006 17:02:48 [cfg file spec v2.0] JSBSim startup beginning ...
Reading Aircraft Configuration File:
f15
Version: 2.0 This aircraft model is a BETA release!!! This aircraft model probably will not fly as
expected.
Use this model for development purposes
ONLY!!!
Model Author: Unknown
Creation Date: 2002-01-01 Version: $Revision: 1.26 $ Description: McDonnell Douglas F-15 Eagle Aircraft Metrics:
WingArea: 608 ..... <snip> ..... 1 dimensional table with 2
rows.
-0.3490 -0.0688 0.8730 -0.0115 Function: aero/coefficient/Cndr JSBSim startup complete Could not open initialization file:
src/../aircraft/src/../f15/src/../.xml
Initialization unsuccessful
|
- [Flightgear-devel] RE: Re: easyxml.cxx tweak Phil Cazzola
- Re: [Flightgear-devel] RE: Re: easyxml.cxx tweak David Megginson
- RE: [Flightgear-devel] RE: Re: easyxml.cxx tweak Jon S. Berndt
- Re: [Flightgear-devel] RE: Re: easyxml.cxx tw... David Megginson
- RE: [Flightgear-devel] RE: Re: easyxml.cxx tweak Jon S. Berndt
- [Flightgear-devel] Re: Re: easyxml.cxx tweak Phil Cazzola
- Re: [Flightgear-devel] Re: Re: easyxml.cxx tweak David Megginson