1 [This file is mirrored in both the FlightGear and SimGear packages.]
3 You *must* have plib version 1.8.4 or later installed on your system
4 to build FlightGear!" Flight Gear is no longer compatible with the
5 earlier versions of the library.
7 You can get the latest version of plib from:
9 http://plib.sourceforge.net
13 You should be able to just run "./configure" to configure the package
14 and use all of plib's defaults. Then run "make" followed by "make
15 install". By default, plib installs itself into /usr so if you don't
16 like this, be sure to specify an alternate prefix such as --prefix=/usr/local
18 As of this writing (2007-11-18), many linux distributions are shipped with a
19 working version of plib, so chances are that this library is already
20 installed. It should be noted, that currently plib version no longer compiles
21 using recent versions of gcc (confirmed on version gcc 4.1.2, as shipped with
22 SuSe 10.2). As a workaround, it is possible to either use plib SVN. Run the
26 svn co https://plib.svn.sourceforge.net/svnroot/plib/trunk plib
33 Alternatively, it is relatively straightforward to fix the compilation
36 The two errors reported are the following:
37 ssgaSky.h:107: error: extra qualification ‘ssgaCelestialBodyList::’ on member ‘ssgaCelestialBodyList’
38 ssgaSky.h:195: error: extra qualification ‘ssgaCloudLayerList::’ on member ‘ssgaCloudLayerList’
40 To fix, open the file plib-1.8.4/src/ssgAux/ssgaSky.h
42 and change line 107 to read:
43 ~ssgaCelestialBodyList () { removeAll(); }
44 and change line 195 to read:
45 ~ssgaCloudLayerList () { removeAll(); }
47 In other words, remove the "extra qualification" parts from both lines.
48 After these changes, plib-1.8.4. should build and install correctly.