I'm just trying to get a working devel environment on my new machine, and I've 
succeeded in compiling simgear, but flightgear refuses the cmake configuration. 
Basically I want to have the simgear libs inside a user directory and not 
system-wide. So what I did is cloning the repositories, changing to separate 
build directories and using

cmake ../../simgear -DCMAKE_INSTALL_PREFIX:PATH=/home/fgfs/FGLib

followed by 

make CXXFLAGS="-s -O3"
make install

This created 

/home/fgfs/FGLib/lib64
/home/fgfs/FGLib/include

directories which contain all the hxx files and the lib64/ directory contains  
libSimGearCore.a  libSimGearScene.a, i.e things look normal.

When I change to my flightgear build directory and do 

cmake ../../flightgear 

I get 

  Cannot find SimGear includes! (Forgot 'make install' for SimGear?) Compile
  & INSTALL SimGear before configuring FlightGear.  When using non-standard
  locations, use 'SIMGEAR_DIR' to configure the SimGear location.

which is as expected, so I do 


 cmake ../../flightgear -DSIMGEAR_DIR:PATH=/home/fgfs/FGLib

I still get


CMake Error at CMakeModules/FindSimGear.cmake:91 (message):
  Cannot find SimGear includes! (Forgot 'make install' for SimGear?) Compile
  & INSTALL SimGear before configuring FlightGear.  When using non-standard
  locations, use 'SIMGEAR_DIR' to configure the SimGear location.
Call Stack (most recent call first):
  CMakeLists.txt:201 (find_package)


I'm not really a cmake wizard - what am I not seeing here? Should this not be 
pointing to the same directory I specified as install path earlier?

Thanks,

* Thorsten


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to