1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
|
BUILDING, TESTING, INSTALLING
=============================
Unix
-----
# ./configure
# make
# make check
# make install
Win32
-----
Win32 Visual Studio Builds:
source\makefile.vc
CLIENT APPLICATIONS
===================
Using the C interface (recommended)
-----------------------------------
To compile programs against the C lib (recommended):
CFLAGS += `geos-config --cflags`
LDFLAGS += `geos-config --ldflags` -lgeos_c
#include <geos_c.h>
Example usage:
capi/geostest.c contains basic usage
examples.
Using the C++ interface (discouraged)
-------------------------------------
To compile programs against the C++ lib:
CFLAGS += `geos-config --cflags`
LDFLAGS += `geos-config --ldflags` -lgeos
#include <geos.h>
Example usage:
doc/example.cpp contains basic usage
examples.
DOCUMENTATION
=============
# cd doc; make doxygen-html
http://geos.refractions.net
|