syd

> 
> Hi
> Ive been trying to build flightgear with ccmake , no luck yet.
> The first error was SIMGEAR_VERSION_OK not found , but with some help on
> irc,
> I managed to get past this by adding set(SIMGEAR_VERSION_OK 1) to the
> CMakeLists.txt.
> Now i get these error messages :
> 
> WARNING: Target "fgfs" requests linking to directory "/home/syd/FG/lib".
>  Targets may link only to libraries.  CMake is dropping the item.
> 
>  WARNING: Target "metar" requests linking to directory "/home/syd/FG/lib".
>  Targets may link only to libraries.  CMake is dropping the item.
> 
>  WARNING: Target "fgviewer" requests linking to directory
> "/home/syd/FG/lib".
>  Targets may link only to libraries.  CMake is dropping the item.
> 
> As you can see , i keep FG in my home folder.Simgear built and
> installed without errors.
> Any suggestions 

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

Works here to solve exactly the problems you describe. I would have told you
on IRC, but you seem to have left before I could do so.

HTH

Vivian
 






------------------------------------------------------------------------------
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