Re: [Flightgear-users] Nasal runtime error: non-scalar in string context

2007-09-22 Thread Robert Fu
Hi Ron, Thanks a lot for your help. After spending a lot of hours, I think that the following factors seems contributed to the crash: 1. OpenSceneGraph uses STL a lot, and some STL classes manage their own memory. 2. I verified on Linux, similar setup worked. Thus the Flightgear and OpenSceneGrap

Re: [Flightgear-users] Nasal runtime error: non-scalar in string context

2007-09-11 Thread Ron Jensen
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 enviro

Re: [Flightgear-users] Nasal runtime error: non-scalar in string context

2007-09-11 Thread Robert Fu
Hi Ron, Thanks a lot for the quick response. Although I was not able to connect to the httpd property server ( it might not be up yet), I found the following code that sets /sim/fg-home in fg_init.cxx: #ifdef _MSC_VER char *envp = ::getenv( "APPDATA" ); if (envp != NULL ) { SGPath

Re: [Flightgear-users] Nasal runtime error: non-scalar in string context

2007-09-10 Thread Ron Jensen
On Mon, 2007-09-10 at 16:58 -0700, Robert Fu wrote: > Hi, > > I'm new to FlightGrear and this mail list. The pre-built and > self-built FlightGear-0.9.11-pre1 worked in my environment: MinGW/MSYS > on Windows XP. But for build of the lastest CVS code of FlightGear and > SimGear, I got the followi

[Flightgear-users] Nasal runtime error: non-scalar in string context

2007-09-10 Thread Robert Fu
Hi, I'm new to FlightGrear and this mail list. The pre-built and self-built FlightGear-0.9.11-pre1 worked in my environment: MinGW/MSYS on Windows XP. But for build of the lastest CVS code of FlightGear and SimGear, I got the following error: C:\>fgfs --aircraft=f16 --airport-id=KJFK Model Auth