Hi Fred,

Thanks for the svn repo update of 
...
G   src/wizard_funcs.cxx
...
Updated to revision 629.

FGRUN now compiles fine...

However, on running it, using my ./run_fgrun.sh I
had to use [Prev] button to get back to the setting 
of the exe and fg-root paths, since I had previously 
run it using another fgfs, with a different OSG...

The script run_fgrun.sh _DOES_ have the commands 
--fg-exe=/home/geoff/fg/fg16/install/fgfs/bin/fgfs and 
--fg-root=/home/geoff/fg/fg16/fgfs/data
and NORMALLY command line items should OVERRIDE any 
previous Fl_Preferences saves, but _NOT_ in this 
case ;=((

On reading the code in src/main.cxx it seems it 
SHOULD, so do not quite understand??? So can 
not immediately offer a solution... but remember 
others sort of mentioning this... maybe Brisa IIRC, 
who uses a similar run_fgrun.sh script...

But of course there was no problem once I used 
the [Prev] button to 'correct' these paths...
but felt they should have been set by the 
command line options... 

Maybe something to do with doing a prefs.set() 
'flush'/'sync', to force these command line 
items to disk, or something...

Anyway, as always, thanks for a great GUI 'tool' 
to run fgfs...

Regards,
Geoff.


On Thu, 2011-09-08 at 11:59 +0000, TDO_Brandano - wrote:
> I have also had this error, building on Ubuntu 10.10 AMD64. I think it
> might have been an update in either SimGear or OSG, but I did not
> follow it up because my older FGRUN build was still running fine
> 
> > From: ubu...@geoffair.info
> > To: flightgear-devel@lists.sourceforge.net
> > Date: Thu, 8 Sep 2011 01:30:07 +0200
> > Subject: [Flightgear-devel] Compiling FGRUN...
> > 
> > Hi Fred,
> > 
> > In compiling FGRUN from an svn of yesterday, I got 
> > the gcc error :-
> > 
> > wizard_funcs.cxx:1162: error: ‘errno’ was not declared in this scope
> > 
> > Not sure why, but to compile FGRUN I had to add 
> > to src/wizard_funcs.cxx -
> > 
> > #include <errno.h>
> > 
> > Maybe in other systems, this header is pulled in by other 
> > includes???
> > 
> > Regards,
> > Geoff.
> > 




------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry&reg; mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry&reg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to