1 You need to have the GPC library installed on your system to build
2 some of the scenery generation tools, otherwise you won't be able to
5 You can get the library from:
7 http://www.cs.man.ac.uk/aig/staff/alan/software/
9 Unfortunately, because of some of the wording in the GPC licensing
10 terms we are unable to include the GPC library with the Flight Gear
13 This library comes as a single source file and header with no build
14 directions. So, here are some directions contributed by Riley Rainey
15 <riley.rainey@websimulations.com> with additional notes by Curt Olson:
18 1. Download the GPC library source code from URL:
20 http://www.cs.man.ac.uk/aig/staff/alan/software
22 2. Unpack it; the current version seems to be 2.30:
24 $ zcat gpc231.tar.Z | tar xvf -
26 3. ***IMPORTANT STEP*** ***DO NOT SKIP***
28 This is important step if you want to use gpc to generate quality
31 Before building the library, edit the gpc.h file and change
32 GPC_EPSILON to something bigger. You may experiment with this
33 value, but the following seems to work well for me:
35 #define GPC_EPSILON (0.000001)
37 4. Copy in the Makefile attached to this message:
39 $ cp Makefile ./gpc231
41 5. Check install paths. Edit the Makefile and make sure the install
42 paths are satisfactory. Also make sure that all the make commands
43 have leading tabs (i.e. that the tabs aren't expanded out into 8
44 spaces) otherwise the make will fail.
46 6. Build and install it:
55 -------------------------- snip ------------------------------
57 # Unix/Linux makefile for GPC 2.31
59 # Riley Rainey (riley.rainey@websimulations.com)
69 rm -f libgpc.a *.o core *~
72 -mkdir -p /usr/local/lib
73 -mkdir -p /usr/local/include
74 install libgpc.a /usr/local/lib/libgpc.a
75 install gpc.h /usr/local/include/gpc.h