[geos-devel] [GEOS] #753: cannot build geos 3.5.0
GEOS
geos-trac at osgeo.org
Tue Jun 20 04:48:02 PDT 2017
#753: cannot build geos 3.5.0
-----------------------------------+---------------------------
Reporter: rashadkm | Owner: geos-devel@…
Type: defect | Status: closed
Priority: major | Milestone: 3.6.2
Component: Build/Install (cmake) | Version: 3.6.1
Severity: Unassigned | Resolution: fixed
Keywords: |
-----------------------------------+---------------------------
Comment (by manuelgrizonnet):
Replying to [comment:17 mloskot]:
> > I'm perhaps missing something here.
>
> Just do not use CMake to build GEOS, especially if 0) you don't want to
use experimental build configuration 1) it is not working for you 2) you
are not able to patch & fix it.
>
> It is indicated in red that **The official build system is the GNU
Automake** - https://trac.osgeo.org/geos/wiki/BuildingOnUnixWithCMake
Sorry I did not put much context to explain why I reopened the discussion.
I was updating the geos version from 3.5 to 3.6 in the orfeo toolbox
superbuild which compiles geos using cmake.
I was able to patch & fix the issue by just adding the cmake macro
GenerateSourceGroups to the geos source tree:
https://github.com/orfeotoolbox/OTB/blob/update_superbuild_6.2/SuperBuild/patches/GEOS/geos-1
-fixes-all.diff
geos 3.6.1 compiles with cmake without error now. Let me know if there is
something I can contribute upstream to improve the support of cmake.
Best,
Manuel
--
Ticket URL: <https://trac.osgeo.org/geos/ticket/753#comment:19>
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