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:
19 nmake /f makefile.vc MSVC_VER=1400
21 where 1400 is version number of Visual C++ compiler, here Visual C++ 8.0
22 from Visual Studio 2005 (supported versions are 1300, 1310, 1400 and 1500).
23 The bootstrap.bat step is required to generate a couple of header files.
25 In order to build debug configuration of GEOS, additional flag DEBUG=1
28 nmake /f makefile.vc MSVC_VER=1400 DEBUG=1
34 Using the C interface (recommended)
35 -----------------------------------
37 To compile programs against the C lib (recommended):
39 CFLAGS += `geos-config --cflags`
40 LDFLAGS += `geos-config --ldflags` -lgeos_c
45 capi/geostest.c contains basic usage
48 Using the C++ interface (discouraged)
49 -------------------------------------
51 To compile programs against the C++ lib:
53 CFLAGS += `geos-config --cflags`
54 LDFLAGS += `geos-config --ldflags` -lgeos
59 doc/example.cpp contains basic usage
66 # cd doc; make doxygen-html
68 http://trac.osgeo.org/geos