11Name
22
3- qhull, rbox Version 3 .1 October 4, 2001
3+ qhull, rbox 2002 .1 August 20, 2002
44
55Convex hull, Delaunay triangulation, Voronoi diagrams, Halfspace intersection
66
7- Documentation:
8- qhull3.0/ html/index.htm
7+ Documentation:
8+ html/index.htm
99
1010 Available from:
11- <http://www.geom.umn.edu/locate /qhull>
12- <ftp ://geom.umn.edu/pub/software/ qhull.tar.Z >
13- <ftp ://geom.umn.edu/pub/ software/qhull3-0.zip >
11+ <http://www.geom.umn.edu/software /qhull>
12+ <http ://savannah.gnu.org/projects/ qhull>
13+ <http ://www.thesa.com/ software/qhull >
1414
1515 Version 1 (simplicial only):
16- <ftp ://geom.umn.edu/pub/ software/qhull-1.0.tar.Z >
17- <ftp ://geom.umn.edu/pub/ software/qhull.sit.hqx>
16+ <http ://www. geom.umn.edu/software/qhull/qhull -1.0.tar.gz >
17+ <http ://www. geom.umn.edu/software/qhull /qhull.sit.hqx>
1818
1919 News and a paper:
2020 <http://www.geom.umn.edu/~bradb/qhull-news.html>
21- <ftp ://geom.umn.edu/pub/ software/qhull-96.ps.gz >
21+ <http ://www. geom.umn.edu/software/qhull/qhull -96.ps>
2222
2323Purpose
2424
@@ -45,8 +45,11 @@ Environment requirements
4545 Qhull is copyrighted software. Please read COPYING.txt and REGISTER.txt
4646 before using or distributing Qhull.
4747
48+ To contribute to Qhull
4849
49- Qhull on Windows 95, 98, ME, NT, 2000
50+ Qhull is on Savannah, http://savannah.gnu.org/projects/qhull/
51+
52+ Qhull on Windows 95, 98, ME, NT, 2000, XP
5053
5154 The zip file contains rbox.exe, qhull.exe, qconvex.exe, qdelaunay.exe,
5255 qhalf.exe, qvoronoi.exe, documentation files, and source files.
@@ -55,68 +58,82 @@ Qhull on Windows 95, 98, ME, NT, 2000
5558 - Unzip the files into a directory. You may use WinZip32 <www.hotfiles.com>
5659 - Open a DOS window for the directory.
5760 - In Windows 95, the DOS window needs improvement.
58- - Double-click on qhull3.0 \eg\qhull-go.bat to call doskey (arrow keys).
61+ - Double-click on qhull \eg\qhull-go.bat to call doskey (arrow keys).
5962 - Increase the size of the screen font to 8x12.
60- - If the text is too dim, fix the screen colors with shareware (crt.exe)
61- - If you use qhull a lot, consider using the Unix shell,
62- tcsh (ftp.gw.com/pub/unix/tcsh) and the
63+ - If the text is too dim, fix the screen colors with shareware (e.g., crt.exe)
64+ - If you use qhull a lot, consider using the Cygwin Unix shell,
6365 Cygwin tools (http://sources.redhat.com/cygwin/)
6466 - Execute 'qconvex' for a synopsis and examples.
6567 - Execute 'rbox 10 | qconvex' to compute the convex hull of 10 random points.
6668 - Execute 'rbox 10 | qconvex i TO file' to write results to 'file'.
6769 - If an error occurs, Windows 95 sends the error to stdout instead of stderr
6870 - use 'TO xxx' to send normal output to xxx and error output to stdout
69- - Browse the documentation: qhull3.0 \html\index.htm
71+ - Browse the documentation: qhull \html\index.htm
7072
7173Compiling for Unix
7274
73- The gzip file, qhull.tar.gz , contains documentation and source files for
75+ The gzip file, qhull.tgz , contains documentation and source files for
7476 qhull and rbox.
7577
7678 To unpack the gzip file
77- - gunzip qhull.tar.gz
78- - tar xf qhull.tar
79- - cd qhull3.0
79+ - tar zxf qhull.tgz
80+ - cd qhull
8081
81- To compile qhull, qconvex, qdelaunay, qhalf, qvoronoi, and rbox
82- - cd qhull3.0/src
82+ Compiling with the Debian Make:[R. Laboissiere]
83+ - cd src
84+ - ./Make-config.sh
85+ - cd ..
86+ - configure
87+ - make
88+
89+ Compiling with Makefile (i.e., Makefile.txt)
90+ - cd src
8391 - in Makefile, check the CC, CCOPTS1, PRINTMAN, and PRINTC defines
8492 - the defaults are gcc and enscript
8593 - CCOPTS1 should include the ANSI flag. It defines __STDC__
8694 - in user.h, check the definitions of qh_SECticks and qh_CPUclock.
8795 - use '#define qh_CLOCKtype 2' for timing runs longer than 1 hour
88- - type: make doc
89- - this prints the documentation.
90- - See also qhull3.0/html/index.htm
91- - type: make
96+ - type: make
9297 - this builds: qhull qconvex qdelaunay qhalf qvoronoi rbox libqhull.a
98+ - type: make doc
99+ - this prints the man page
100+ - See also qhull/html/index.htm
93101 - if your compiler reports many errors, it is probably not a ANSI C compiler
94102 - you will need to set the -ansi switch or find another compiler
95103 - if your compiler warns about missing prototypes for fprintf() etc.
96104 - this is ok, your compiler should have these in stdio.h
97105 - if your compiler warns about missing prototypes for memset() etc.
98106 - include memory.h in qhull_a.h
107+ - if your compiler is gcc-2.95.1, you need to set flag -fno-strict-aliasing.
108+ - This flag is set by default for other versions [Karas, Krishnaswami]
99109 - if your compiler reports "global.c: storage size of 'qh_qh' isn't known"
100110 - delete the initializer "={0}" in global.c, stat.c and mem.c
101111 - if your compiler warns about "stat.c: improper initializer"
102112 - this is ok, the initializer is not used
103113 - if you have trouble building libqhull.a with 'ar'
104- - try 'make qhullx'
114+ - try 'make -f Makefile.txt qhullx'
105115 - if the code compiles, the qhull test case will automatically execute
106116 - if an error occurs, there's an incompatibility between machines
107- - if you can, try a different compiler
108- - you can turn off the Qhull memory manager with qh_NOmem in mem.h
109- - you can turn off compiler optimization (-O2 in Makefile)
110- - if you find the source of the problem, please let us know
111- - if you have Geomview,
117+ - For gcc-2.95.1, you need to set flag -fno-strict-aliasing.
118+ It is set by default for other versions of gcc [Karas, Krishnaswami]
119+ - If you can, try a different compiler
120+ - You can turn off the Qhull memory manager with qh_NOmem in mem.h
121+ - You can turn off compiler optimization (-O2 in Makefile)
122+ - If you find the source of the problem, please let us know
123+ - if you have Geomview (www.geomview.org)
112124 - try 'rbox 100 | qconvex G >a' and load 'a' into Geomview
113125 - run 'q_eg' for Geomview examples of Qhull output (see qh-eg.htm)
114126 - to install the programs and their man pages:
115127 - define MANDIR and BINDIR
116128 - type 'make install'
117129
130+ Compiling for Windows NT, 2000, XP with cygwin (www.cygwin.com)
131+
132+ - install cygwin with gcc, make, ar, and ln
133+ - cd qhull/src
134+ - make -f Makefile.txt
118135
119- Compiling for Windows 95, 98, NT, 2000
136+ Compiling for Windows 95, 98, NT, 2000, XP
120137
121138 Qhull compiles as a console application in Visual C++ 5.0 at warning
122139 level 3.
@@ -129,32 +146,38 @@ Compiling for Windows 95, 98, NT, 2000
129146 - create a "Win32 console application" called "rbox"
130147 - add rbox.c
131148
132- Visual C++ quickstart for qhull library, qconvex, etc.
149+ Visual C++ quickstart for qhull library, qconvex.exe , etc.
133150 - To simplify setting up lots of projects,
134- create a "Win32 console application" called "qhull source"
135- add all .c files from .../src/...
136- change Project:Settings... when done
151+ - create a temporary "Win32 console application" called "source"
152+ - add all .c files from .../src/...
153+ - In Tools::Options::Tab
154+ Set tab size to 8 and indent size to 2
137155
138156 - create a "Win32 console application" called "rbox"
139157 - move rbox.c from "qhull source"
158+ - for Project:Settings..., Link
159+ you only need the default libraries
140160 - build the project
141161
142162 - create a "Win32 static library" called "library"
143163 - move these files from "qhull source"
144164 geom.c geom2.c global.c io.c mem.c merge.c poly.c poly2.c qhull.c
145165 qset.c stat.c user.c
166+ - set the library file (use the same for debug and release)
146167 - build the project
147168
148169 - create a "Win32 console application" called "qhull"
149170 - move unix.c from "qhull source"
150- - add "qhull library.lib" from Visual C++'s build directory
171+ - Set the library file in Project:Settings..., Link
172+ - Qhull does not use other libraries
151173
152174 - create a "Win32 console application" called "qconvex"
153175 - move qconvex.c from "qhull source"
154- - copy "qhull library.lib" from "qhull"
176+ - Set the library file in Project:Settings..., Link
155177
156178 - do the same for qdelaun.c, qhalf, qvoronoi.c, user_eg.c, user_eg2.c
157179 - delete "qhull sources" since it is no longer needed
180+ - Set the library file in Project:Settings..., Link
158181 - use Project:Settings to make any changes
159182 - use batch build to rebuild everything
160183
@@ -182,7 +205,7 @@ Compiling for the Power Macintosh
182205 Windows 95'. Instead of using SIOUX, Qhull may be embedded within an
183206 application.
184207
185- Version 1 is available for Macintosh computers by ftp of qhull.sit.hqx
208+ Version 1 is available for Macintosh computers by download of qhull.sit.hqx
186209 It reads point coordinates from a standard file and returns output
187210 to a standard file. There is no graphical output.
188211
@@ -205,12 +228,15 @@ Distributed files
205228 COPYING.txt // copyright notice
206229 Announce.txt // announcement
207230 Changes.txt // change history for Qhull and rbox
208- Makefile // Makefile for Unix 'make'
209- MBorland // Makefile for Borland C++/Win32
210231 qh-faq.htm // Frequently asked questions
211232 qh-home.htm // Home page
233+ qh-get.htm // Download page
212234 html/index.htm // Manual
213-
235+ Makefile.txt // Makefile for Unix or cygwin 'make'
236+ MBorland // Makefile for Borland C++/Win32
237+ Make-config.sh // Create Debian configure and automake
238+
239+ src/
214240 rbox consists of:
215241 rbox.exe // Win32 executable (.zip only)
216242 rbox.htm // html manual
@@ -254,7 +280,7 @@ Distributed files
254280 user.c // user re-definable functions
255281 user_eg.c // example of incorporating qhull into a user program
256282 user_eg2.c // more complex example
257- qhull_interface.cpp // call Qhull from C++
283+ qhull_interface.cpp // call Qhull from C++
258284
259285 other source files:
260286 qhull_a.h // include file for *.c
0 commit comments