Board index FlightGear Development

How to compile OSG with GTA

FlightGear is opensource, so you can be the developer. In the need for help on anything? We are here to help you.
Forum rules
Core development is discussed on the official FlightGear-Devel development mailing list.

Bugs can be reported in the bug tracker.

How to compile OSG with GTA

Postby Quix0r » Sat Sep 22, 2012 1:54 pm

I found out how to compile OSG (the required library for FGFS) with libgta support:
- First fetch the GIT version (for OSG/git master builds): http://gta.nongnu.org/download.html
- Do the configure stuff for it as usual, e.g.
Code: Select all
mkdir --parent build/libgta
cd build/libgta
../../gta/libgta/configure --prefix=/opt

- Compile and install it:
make -j8 && make install
- Still OSG won't find it, to fix this continue:
- Go back to build directory of libgta
- Become root or do it with 'sudo':
Code: Select all
sudo cp src/gta.pc /usr/share/pkg-config/

- Now OSG should find libgta.
Admin of mpserver08: mpserver08.flightgear.org:5000 running latest GIT version: v0.13.6 - User:Quix0r
Quix0r
 
Posts: 113
Joined: Tue Sep 22, 2009 9:49 pm
Location: Krefeld
Callsign: D-Quix0r
Version: next
OS: Devuan

Return to Development

Who is online

Users browsing this forum: No registered users and 8 guests