- Code: Select all
cmake ../simgear -DCMAKE_BUILD_TYPE=Release
and when you look at the SimGear-2.8.0/ directory you see underneath a directory named "simgear" so that cmake command makes you think that your build directory should be parallel to it. And that is what I did. This is why originally I had sgbuild underneath SimGear-2.8.0.
It would be better in both simgear and flightgear that the INSTALL said this:
- Code: Select all
cmake ../simgear-VERSION -DCMAKE_BUILD_TYPE=Release # replace VERSION with the version number
cmake ../flightgear-VERSION -DCMAKE_BUILD_TYPE=Release # replace VERSION with the version number
that would be it much clearer as to which "${sim,flight}gear" directory was being referred to.
-----
Also, here is what I did for the FlightGear data:
- Code: Select all
$ cd $HOME/build
$ tar xjf $HOME/Downloads/FlightGear-data-2.8.0.tar.bz2 # extracts into "data" directory
$ ln -s data FlightGear-data-2.8.0
$ su -c "cd /usr/local/lib; ln -s $HOME/build/FlightGear-data-2.8.0 FlightGear"
maybe this will help someone else.
.