]> git.mxchange.org Git - flightgear.git/commitdiff
Minor documentation update.
authordurk <durk>
Sun, 18 Nov 2007 14:22:40 +0000 (14:22 +0000)
committerdurk <durk>
Sun, 18 Nov 2007 14:22:40 +0000 (14:22 +0000)
README.OpenAL
README.plib

index 0037796ec0d7ae67ba3aa64c1702a374e6e44d5c..ab8409f359aba99d630939f80b8ee94bbdc47058 100644 (file)
@@ -12,7 +12,6 @@ http://www.openal.org/downloads.html. Download the openal source,
 release 0.0.8 (dated February 11, 2006) and run:  
 tar xzvf openal-0.0.8.tar.gz
 cd openal-0.0.8
-./autogen.sh
 ./configure
 make
 sudo make install
@@ -22,10 +21,9 @@ freelut-1.1.0.tar.gz. This package can be downloaded from the same page
 (http://www.openal.org/downloads.html). Download and run:
 tar xzvf freelut-1.1.0.tar.gz
 cd freelut-1.1.0
-./autogen.sh
 ./configure
 make
 sudo make install
 
 Alternatively, you can use the CVS version (follow the instructions at
-the OpenAL web site) and build/install that.
+the OpenAL web site) and build/install that one. 
index 18ecdd65442910cc1f3b451d46da56a2c6da76f4..6743ce9808b7d2f83ebcc5ddf7d1b11579ecf0f9 100644 (file)
@@ -14,3 +14,35 @@ You should be able to just run "./configure" to configure the package
 and use all of plib's defaults.  Then run "make" followed by "make
 install".  By default, plib installs itself into /usr so if you don't
 like this, be sure to specify an alternate prefix such as --prefix=/usr/local
+
+As of this writing (2007-11-18), many linux distributions are shipped with a 
+working version of plib, so chances are that this library is already 
+installed. It should be noted, that currently plib version no longer compiles
+using recent versions of gcc (confirmed on version gcc 4.1.2, as shipped with 
+SuSe 10.2). As a workaround, it is possible to either use plib SVN. Run the 
+following commands: 
+
+
+svn co https://plib.svn.sourceforge.net/svnroot/plib/trunk plib
+cd plib
+./autogen.sh
+./configure
+make
+make install
+
+Alternatively, it is relatively straightforward to fix the compilation 
+problems in plib
+
+The two errors reported are the following:
+ssgaSky.h:107: error: extra qualification ‘ssgaCelestialBodyList::’ on member ‘ssgaCelestialBodyList’
+ssgaSky.h:195: error: extra qualification ‘ssgaCloudLayerList::’ on member ‘ssgaCloudLayerList’
+
+To fix, open the file plib-1.8.4/src/ssgAux/ssgaSky.h
+
+and change line 107 to read:
+  ~ssgaCelestialBodyList () { removeAll(); }
+and change line 195 to read:
+  ~ssgaCloudLayerList () { removeAll(); }
+
+In other words, remove the "extra qualification" parts from both lines. 
+After these changes, plib-1.8.4. should build and install correctly.