[geos-devel] [GEOS] #1061: Cannot build GEOS on Windows 10 under MinGW

GEOS geos-trac at osgeo.org
Sat Nov 28 12:11:43 PST 2020

#1061: Cannot build GEOS on Windows 10 under MinGW
 Reporter:  twrackers        |       Owner:  geos-devel@…
     Type:  defect           |      Status:  new
 Priority:  major            |   Milestone:
Component:  Default          |     Version:  3.6.2
 Severity:  Unassigned       |  Resolution:
 Keywords:  MinGW geos make  |

Comment (by robe):

 Sorry been distracted of late so just seeing this.  I haven't tested with
 the latest mingw64.  I've been using mingw64 gcc 8.1 and msys2.

 Which CMake are you using?  For some reason I could never get CMake to
 work with the ones I install in mingw as they seemed to be missing the
 msys makefiles.

 So I always used the 32-bit cmake windows binaries from

 I'm currently using the cmake-3.15.4-win32-x86 but the latest on the
 download site
 should work fine.

 I'm guessing the 64-bit would work as well.  The main reason I use the
 32-bit is so I can use it under my msys 32-bit /mingw64-w32 builders.

 My build script looks like this very similar to yours.
 export GCC_TYPE=81
   cmake -G "MSYS Makefiles" -DCMAKE_BUILD_TYPE=Release

 I'm using GCC 8.1

Ticket URL: <https://trac.osgeo.org/geos/ticket/1061#comment:2>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).

More information about the geos-devel mailing list