On Tue, 2007-09-11 at 09:37 -0700, Robert Fu wrote: > Hi Ron, > > So I set HOME environment variable, and the Nasal error disappeared > when running in DOS-Prompt. I noticed before that when running in > MSYS, I got different console output, and I realize now that in MSYS, > there is HOME environment variable.
Cool :) > However, I got a different problem, and this time, there is no error > in console output. A Windows "Send Error Report" dialog came up, after > clicking on Don't Send button, fgfs application exited. When I turned > on log-level as the following > > fgfs --httpd=5500 --log-level=info > > There are a lot message output in console, and the last few lines are: > > Adding subsystem nasal > trying to load aircraft data from > c:/gnu/depot/home/rfu/.fgfs/aircraft-data/c172p.xml (OK if not found) > Cannot load flight from > c:/gnu/depot/home/rfu/.fgfs/aircraft-data/c172p.xml The above lines shouldn't be a problem as ~/.fgfs/aircraft-data/c172p.xml doesn't exist here, either... > loading scenario 'aircraft_demo' > Reading image "C:\gnu\msys\1.0.11\local\src\FlightGear-0.9\data > \Aircraft\737-300\Models\733UAii.rgb" > Reading model "C:/gnu/msys/1.0.11/local/src/FlightGear- > 0.9/data/Aircraft/737-300/Models/737-300.ac" > > > Splash screen progress setting up time & renderer > > > If I click on Debug button on the Send Error Report dialog, I got: > > unhandled exception in fgfs.exe:0xC0000005: Access Violation. > > I guess something might not be loaded correctly, and I'll do more > tracing, and any advice is welcome. Perhaps its not liking the aircraft demo? Try turning off ai-models and the traffic manager with this command line: fgfs --disable-ai-models --prop:/sim/traffic-manager/enabled=0 Or go into $FGROOT/preferences.xml and comment out the aircraft-demo, it should be around line 459. > I have one question though: which version of pthread should be used > with the latest FlightGear? I used pthreads-w32 2.8.0, and I'm not > sure if it'll cause any problem. I have no idea, I'm not on windows. I believe I'm just using the pthreads built into libc6. You could try asking on IRC as well... Ron ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Flightgear-users mailing list Flightgear-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-users