On Friday, November 23, 2012 14:33:58 Renk Thorsten wrote: > 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 >
Hi Thorsten, I have a similar setup and I do set -D CMAKE_PREFIX_PATH="/path/to/OpenSceneGraph3;/path/to/plib;/path to/simgear;/path/to/openrti" along with CMAKE_INSTALL_PREFIX:PATH of course. That goes for simgear too, since I have multiple OSG builds. Cheers, Adrian ------------------------------------------------------------------------------ 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