1 BUILDING, TESTING, INSTALLING
2 =============================
15 If you use Microsoft Visual C++ (7.1 or later) compiler, you can build
16 GEOS using NMAKE program and provided makefile.vc files.
18 If you are building from SVN checkout, first run: autogen.bat
21 nmake /f makefile.vc MSVC_VER=1400
23 where 1400 is version number of Visual C++ compiler, here Visual C++ 8.0
24 from Visual Studio 2005 (supported versions are 1300, 1310, 1400 and 1500).
25 The bootstrap.bat step is required to generate a couple of header files.
27 In order to build debug configuration of GEOS, additional flag DEBUG=1
30 nmake /f makefile.vc MSVC_VER=1400 DEBUG=1
36 Using the C interface (recommended)
37 -----------------------------------
39 To compile programs against the C lib (recommended):
41 CFLAGS += `geos-config --cflags`
42 LDFLAGS += `geos-config --ldflags` -lgeos_c
47 capi/geostest.c contains basic usage
50 Using the C++ interface (discouraged)
51 -------------------------------------
53 To compile programs against the C++ lib:
55 CFLAGS += `geos-config --cflags`
56 LDFLAGS += `geos-config --ldflags` -lgeos
61 doc/example.cpp contains basic usage
64 Scripting language bindings
65 ---------------------------
67 Ruby bindings are fully supported. To build, use the --enable-ruby option when
70 # ./configure ... --enable-ruby
72 Since version 3.0, the Python bindings are unsupported. Recommended options:
74 1. Become or recruit a new maintainer.
75 2. Use Shapely (http://pypi.python.org/pypi/Shapely) with Python versions 2.4 or greater.
76 3. Simply call functions from libgeos_c via Python ctypes.
81 # cd doc; make doxygen-html
83 http://trac.osgeo.org/geos