Skip to content
This repository was archived by the owner on Oct 7, 2025. It is now read-only.
This repository was archived by the owner on Oct 7, 2025. It is now read-only.

Is this tool still supported? - make error #6

Description

@serbinsh
/include   -g -O2 -MT traverser.o -MD -MP -MF .deps/traverser.Tpo -c -o traverser.o `test -f 'src/traverser/traverser.cc' || echo './'`src/traverser/traverser.cc
src/traverser/traverser.cc: In member function ‘void Traverser::processPolygon(OGRPolygon*)’:
src/traverser/traverser.cc:409:55: error: no matching function for call to ‘OGRPolygon::exportToGEOS()’
  Geometry* geos_geom = (Geometry*) poly->exportToGEOS();
                                                       ^
In file included from /data/software/gdal/2.2.2/include/ogr_feature.h:36:0,
                 from /data/software/gdal/2.2.2/include/ogrsf_frmts.h:35,
                 from ./src/vector/Vector.h:8,
                 from src/traverser/traverser.h:12,
                 from src/traverser/traverser.cc:9:
/data/software/gdal/2.2.2/include/ogr_geometry.h:217:22: note: candidate: virtual GEOSGeom_t* OGRGeometry::exportToGEOS(GEOSContextHandle_t) const
     virtual GEOSGeom exportToGEOS( GEOSContextHandle_t hGEOSCtxt )
                      ^
/data/software/gdal/2.2.2/include/ogr_geometry.h:217:22: note:   candidate expects 1 argument, 0 provided
make: *** [traverser.o] Error 1
[sserbin@modex starspan]$ module list
Currently Loaded Modulefiles:
  1) /gcc/5.4.0         3) /json-c/main       5) /perl/5.22.1       7) /git-lfs/1.3.1     9) /udunits/2.2.25   11) /libtiff/4.0.8    13) /libkml/devel     15) /gdal/2.2.2       17) /jags/4.3.0
  2) /gfortran/5.4.0    4) /ruby/ruby-2.1.0   6) /git/2.10.0-rc0    8) /python/2.7.14    10) /proj/4.9.3       12) /geotiff/1.4.2    14) /geos/3.6.2       16) /libxml2/2.9.7    18) /maui/3.3.1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions