Install libgeos++-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libgeos++-dev
Description:
Geometry engine for GIS - C++ development files
GEOS provides a spatial object model and fundamental geometric functions. It implements the geometry model defined in the OpenGIS Consortium Simple Features Specification for SQL. . This package contains the headers and libraries needed to develop programs using GEOS in C++. Note that third-parties programs should use the stable C API instead of the unstable C++ one.
Homepage: https://trac.osgeo.org/geos/
Version: 3.6.2-1build2
Section: universe/libdevel