43 | | === Unix === |
44 | | |
45 | | The following instructions are dedicated to users of Unix-like systems (Linux, Mac OS X, Solaris, etc.) |
46 | | |
47 | | Download the latest source code release and issue following commands: |
48 | | |
49 | | {{{ |
50 | | ./configure |
51 | | make |
52 | | make install |
53 | | }}} |
54 | | |
55 | | Note, if you are building GEOS downloaded from SVN, you need to have [http://en.wikipedia.org/wiki/GNU_build_system autotools] available in your system, so you can first generate ''./configure'' script using the following command: |
56 | | {{{ |
57 | | ./autogen.sh |
58 | | }}} |
59 | | Then, you will be able to execute''./configure'' and later ''make'' and ''make install'' commands |
60 | | |
61 | | For more details about configuration options run: |
62 | | {{{ |
63 | | ./configure --help |
64 | | }}} |
65 | | |
66 | | === Windows === |
67 | | |
68 | | If you use [http://en.wikipedia.org/wiki/Microsoft_Visual_Studio Microsoft Visual C++] (7.1 or later) compiler, you can build GEOS using [http://msdn.microsoft.com/en-us/library/dd9y37ha.aspx NMAKE] program and provided makefile.vc files: |
69 | | |
70 | | {{{ |
71 | | autogen.bat |
72 | | nmake /f makefile.vc MSVC_VER=1400 |
73 | | }}} |
74 | | |
75 | | where 1400 is version number of Visual C++ compiler, here [http://en.wikipedia.org/wiki/Visual_C%2B%2B Visual C++ 8.0] from [http://msdn.microsoft.com/en-us/library/ms950416.aspx Visual Studio 2005] (supported versions are 1300, 1310, 1400 and 1500). The ''autogen.bat'' step is required to generate a couple of header files (''note:'' autogen.bat is available in SVN only). |
76 | | |
77 | | In order to build debug configuration of GEOS, additional flag ''DEBUG=1'' is required: |
78 | | {{{ |
79 | | nmake /f makefile.vc MSVC_VER=1400 DEBUG=1 |
80 | | }}} |
| 43 | * [wiki:BuildingOnUnixWithAutotools Building on Unix with Autotools] |
| 44 | * [wiki:BuildingOnUnixWithCMake Building on Unix with CMake] |
| 45 | * [wiki:BuildingOnUnixWithCMake Building on Windows with NMake] using Visual C++ 7.1 compiler or later |
| 46 | * [wiki:BuildingOnUnixWithCMake Building on Windows with CMake] |