On Wednesday 31 October 2007 20:12, leee wrote:
> Hi all,
>
> I'm getting the following error when trying to compile Atlas (from cvs)
>
> Preferences.cxx: In member function ‘bool
> Preferences::_loadPreferences(int, char**)’:
> Preferences.cxx:346: error: ‘optreset’ was not declared in this scope
>
> Any ideas anyone?
This is a quote from a recent post to the Atlas developers list. I tried it
this morning, and it seems to work well.
FWIW, I spent the better part of the weekend trying to get Atlas to build on
cygwin again. That works now in my local copy, but I haven't committed those
changes yet. Probably after FSWeekend....
===============================================
(1) The compile error because of 'optreset' is due to different
versions of the getopt library. I'm on OS X, which uses a
different version than you have on Linux, apparently. I think if,
in _loadPreferences(), you replace:
optreset = 1;
optind = 1;
by
optind = 0;
it should compile. I think.
===============================================
Cheers,
Durk
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel