Board index FlightGear Support Compiling

[Solved] Fedora 17: FG 2.8.0: Problems Compiling  Topic is solved

Building FlightGear from source, and in the need for help?

Re: Fedora 17: FG 2.8.0: Problems Compiling  

Postby greno » Tue Sep 11, 2012 4:53 pm

Yes, the INSTALL cmake command in simgear says this:

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.

.
greno
 
Posts: 25
Joined: Mon Sep 03, 2012 8:40 pm

Re: [Solved] Fedora 17: FG 2.8.0: Problems Compiling

Postby polly » Tue Sep 11, 2012 5:31 pm

That's fair comment, thank you; I'll add a pointer in the bug list . In defence I can only say that if you get your source tree from git then the created subdirectories are 'simgear' and 'flightgear' and things work OK but you're right, showing the cmake commands your way would avoid any possible confusion.

http://code.google.com/p/flightgear-bug ... 1347385922
User avatar
polly
 
Posts: 455
Joined: Thu Nov 04, 2010 2:45 pm

Re: [Solved] Fedora 17: FG 2.8.0: Problems Compiling

Postby C032H272JB » Sat Jul 15, 2017 5:57 pm

*
C032H272JB
 
Posts: 26
Joined: Sat Jun 10, 2017 8:30 am

Previous

Return to Compiling

Who is online

Users browsing this forum: No registered users and 1 guest