Hi Francesco,

strcasecmp doesn't exist under Windows but I think there is a #define in fgrun 
because the problem already happened. I was just not enough careful this time.

re the command line options, they are only used by the installer to setup the 
initial configuration. Look in main.cxx. There is no known problem with them.

regards
-Fred

-- message original --
Sujet:  [Flightgear-devel] little problem on compiling fgrun under linux
De:     Brisa Francesco
Date:           03.02.2009 17:19

Hi I am trying to compile fgrun from svn under linux but it breaks with
this error:

wizard_funcs.cxx:2315: error: ‘stricmp’ was not declared in this scope

inspecting at that file I think that at row 2315 the row:

        if ( apt && stricmp( apt->id_.c_str(), prefetch_apt->value() )
== 0 )

should be:

        if ( apt && strcasecmp( apt->id_.c_str(), prefetch_apt->value()
) == 0 )

in this way it can compile under linux (I think under windows too)


an other minor issue is this:

launching fgrun and giving it options --fg-exe=/some/path   and   
--fg-root=/some/otherpath
fgrun seems to ignore theme both causing fgrun not being able to launch
fgfs at all.

Hope I could debug it better, but that is all I got for now.


Cheers
Francesco

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to