Mercurial > forge
comparison main/geometry/README @ 0:6b33357c7561 octave-forge
Initial revision
author | pkienzle |
---|---|
date | Wed, 10 Oct 2001 19:54:49 +0000 |
parents | |
children | 27df8049e844 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:6b33357c7561 |
---|---|
1 These are some function for computational geometry. They depend on | |
2 the qhull library [1]. | |
3 | |
4 Build Instructions | |
5 ------------------ | |
6 | |
7 First you need the qhull library. | |
8 | |
9 a.) install the qhull program from [2]. | |
10 | |
11 Add the following target to src/Makefile: | |
12 | |
13 libqhull.so: $(OBJS) | |
14 c++ -shared -Xlinker -soname -Xlinker $@ -o libqhull.so $(OBJS) | |
15 | |
16 Build the shared library | |
17 | |
18 make libqhull.so | |
19 | |
20 Install the lib to place where the linker can find it. | |
21 cp libqhull.so /usr/local/lib | |
22 ldconfig -v. | |
23 | |
24 Copy all the header files where the C compiler can find them | |
25 mkdir /usr/local/include/qhull | |
26 cp qhull/src/*.h /usr/local/include/qhull | |
27 | |
28 b.) Download a qhull 'lite' package from my homepage. [3] | |
29 | |
30 make | |
31 make install | |
32 | |
33 The lite package contains only the files needed to build the | |
34 lib and a adapted Makefile. I have removed all docfiles, too. | |
35 So, if you want to develop with qhull choose the package from [2]. | |
36 | |
37 Next you need to build the geometry toolbox. | |
38 | |
39 a.) if you are using this package as part of OctaveSF, return the root | |
40 of the OctaveSF tree and follow the instructions in INSTALL | |
41 | |
42 b.) if you are using this package independently, just type | |
43 | |
44 make | |
45 | |
46 and either copy the m-files and oct-files from the current | |
47 directory onto your octave LOADPATH or update your LOADPATH | |
48 to include the current directory. | |
49 | |
50 | |
51 [1] http://www.geom.umn.edu/software/qhull/ | |
52 [2] ftp://ftp.geom.umn.edu/pub/software/qhull.tar.Z | |
53 [3] http://user.berlin.de/~kai.habel/libqhull.tar.gz | |
54 | |
55 Kai Habel | |
56 kai.habel@gmx.de | |
57 | |
58 2001-09-19 Paul Kienzle | |
59 * Instructions for build within unified octaveSF tree | |
60 |