[Flightgear-devel] Problem with FG_ROOT in runfgfs.bat under cygwin build
Hi, This is my first post so I apologise for it being trivial, I've built FlightGear under windows xp/cygwin following all the instructions in the manual (apart from building metakit which is not in the source files??). It compiles but a runfgfs.bat file wasn't produced. No problem - I created one with the two lines: SET FG_ROOT=c:\cygwin\usr\local\FlightGear %FG_ROOT%\BIN\FGFS.EXE but when I come to run it I get the following error: - C:\cygwin\usr\local\FlightGearSET FG_ROOT=c:\cygwin\usr\local\FlightGear C:\cygwin\usr\local\FlightGearc:\cygwin\usr\local\FlightGear\BIN\FGFS.EXE WARNING: ssgLoadAC: Failed to open './c:/cygwin/usr/local/FlightGear/data/Aircra ft/c172p/Models/c172p.ac' for reading Failed to load aircraft from Aircraft/c172p/Models/c172p.xml (Falling back to glider.ac.) WARNING: ssgLoadAC: Failed to open './c:/cygwin/usr/local/FlightGear/data/Models /Geometry/glider.ac' for reading Fatal error: Failed to load 3D model (received from ) C:\cygwin\usr\local\FlightGearpause Press any key to continue . . . So it looks like flightgear looks for the data path as ./c/ when trying to use the environment variable FG_ROOT. Which isn't a recongised windows path Any suggestions? Oh, I've tried a VS .NET build but no luck so farbut first things first ;-)! Neil. ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] Problem with FG_ROOT in runfgfs.bat under cygwin build
Cooke N. [EMAIL PROTECTED] writes: Hi, This is my first post so I apologise for it being trivial, Not being able to run FlightGear ain't trivial ;-) I've built FlightGear under windows xp/cygwin following all the instructions in the manual (apart from building metakit which is not in the source files??). It compiles but a runfgfs.bat file wasn't produced. No problem - I created one with the two lines: SET FG_ROOT=c:\cygwin\usr\local\FlightGear %FG_ROOT%\BIN\FGFS.EXE Just a shot in the dark, but you could try SET FG_ROOT=/cygdrive/c/cygwin/usr/local/FlightGear etc. Are you executing runfgfs.bat from a windows command prompt or from Cygwin's bash shell BTW. FWIW, I have export FG_ROOT=/cvs_clean/data in my .profile (a hidden file in the cygwin home directory) and just run bin/fgfs from a bash prompt after changing to the right directory. Cheers - Dave ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel