Mateusz Loskot :: hacking on, working out, living up

GEOS 3.0.0rc4 and Visual C++

26 Nov 2007 | mloskot

A few days ago, one of GEOS users reported that he is not able to build GEOS 3.0.0rc4 using Visual C++ compiler. The problem was caused by broken NMAKE makefile included in this package.

Here is package with two files included: and In order to fix the problem, download this Zip, unpack and copy the two files to the source subdirectory of unpacked GEOS sources tree, overwriting existing Now, make complete rebuild using Visual C++:

cd source
nmake /f clean
nmake /f

For Visual C++ 2005 (8.0), you it’s a good idea to call nmake as follows:

nmake /f MSVC_VER=1400

If you’ll encounter any GEOS issues, please report them to the brand new GEOS bug tracker:

Fork me on GitHub