Opened 3 years ago

Closed 3 years ago

#1106 closed defect (invalid)

error: ‘GEOSDensify_r’ was not declared in this scope

Reported by: strk Owned by: geos-devel@…
Priority: blocker Milestone: 3.10.0
Component: Build/Install (cmake) Version: main
Severity: Unassigned Keywords:
Cc:

Description

usr/src/geos/geos/src/master/capi/geos_c.cpp: In function ‘geos::geom::Geometry* GEOSDensify(const geos::geom::Geometry*, double)’:
/usr/src/geos/geos/src/master/capi/geos_c.cpp:433:16: error: ‘GEOSDensify_r’ was not declared in this scope
         return GEOSDensify_r(handle, g, tolerance);
                ^~~~~~~~~~~~~
/usr/src/geos/geos/src/master/capi/geos_c.cpp:433:16: note: suggested alternative: ‘GEOSDensify’
         return GEOSDensify_r(handle, g, tolerance);
                ^~~~~~~~~~~~~
                GEOSDensify

This is with current master branch [c6abbf9f980bd21d4a0ce2818bc0480a4707afc9/git]

Change History (2)

comment:1 by pramsey, 3 years ago

Check your ./capi directory and make sure there isn't a generated geos_c.h file hiding in there.

comment:2 by strk, 3 years ago

Resolution: invalid
Status: newclosed

Good catch. That was the culprit!

Note: See TracTickets for help on using tickets.