Innis,
Thanks for your .BAT file - it works!
So FG_ROOT needs to be set to \DATA ... that was the problem...I wonder if
this should be reflected in the documentation on building flightgear section
4.2?
-
SET FG_ROOT=c:\FlightGear\DATA
and invoke FlightGear (within the same Command shell, as environment
settings are only valid locally within the same shell) via
fgfs --option1 --option2
...Of course, you can create your own runfgfs.bat with Windows Editor using
the two lines above.
--
Martin/David thanks for your replies,
Neil.
-Original Message-
From: Innis Cunningham [mailto:[EMAIL PROTECTED]
Sent: 01 April 2004 03:04
To: [EMAIL PROTECTED]
Subject: RE: [Flightgear-devel] Problem with FG_ROOT in runfgfs.bat
under cygwinbuild
Hi Neil
See below is my .bat file that I run from
the Flightgear folder under Cygwin
REM @ECHO OFF
REM Skip ahead to CONT1 if FG_ROOT has a value
IF NOT %FG_ROOT%.==. GOTO CONT1
SET TOP_ROOT=.
SET FG_ROOT=%TOP_ROOT%\DATA
:CONT1
REM Check for the existance of the executable
IF NOT EXIST %TOP_ROOT%\BIN\FGFS.EXE GOTO ERROR1
REM Now that FG_ROOT has been set, run the program
ECHO FG_ROOT = %FG_ROOT%
%TOP_ROOT%\BIN\FGFS.EXE
GOTO END
:ERROR1
ECHO Cannot find %TOP_ROOT%\BIN\FGFS.EXE
GOTO END
:END
HTH
Cheers
Innis
_
We've 100s of NEW questions! Play Millionaire online to win . Click here
http://sites.ninemsn.com.au/minisite/millionaire/default.asp
___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel