On 9 Nov 2011, at 08:33, Vivian Meazza wrote:

> You need ALL of the following:
> 
> CMAKE_PREFIX_PATH - path/to/simgear e.g. D:/Cygwin/simgear
> SIMGEAR_INCLUDE_DIR - path/to/simgear/include e.g. D:/Cygwin/simgear/include
> SIMGEAR_LIBRARIES - SIMGEAR_LIBRARIES-NOTFOUND
> SIMGEAR_VERSION_OK - true

Just for the benefit of anyone reading the archives in the future, there's 
definitely a bug in the SimGear detection script right now, affecting Windows, 
and the above works around the issue, but it's likely to cause other problems 
down the line. Unfortunately the problem only seems to affect certain 
installations / configurations, so right now more research is needed, on an 
affected machine, as to why the automatic detection fails.

The above variables short circuit the problematic detection, but is setting 
some variables that are not intended to be set manually, and setting them 
manually will lead to confusing behaviour when the bug is fixed - you will need 
to ensure you remove the Cmake cache files or these options will 'stick'.

Obviously the idea solution, would be for someone on Windows to dig into the 
FindSimGear module, and pin down why the detection is screwing up!

James

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to