Fields2Cover: Build Failure

I was following the instructions to build the lib. I’m using cmake version 3.23.2 on Ubuntu 18.04.

While Building this is the error I see:

/home/user/Fields2Cover/include/fields2cover/types/Geometry_impl.hpp:231:28: error: no matching function for call to ‘OGRPoint::exportToWkt()’
   return data->exportToWkt();

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 17 (7 by maintainers)

Most upvoted comments

Just for the record, I was able to run the library on GDAL 2.2.3 commenting some lines (exportWkt has no direct equivalence) and changing custom castings like toPolygon() by static_cast<OGRPolygon*>. All those changes are on src/fields2cover/types folder and on utils. Planning to commit a test version this week.