Install libsaga-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libsaga-dev
SAGA GIS development files
SAGA GIS (System for Automated Geoscientific Analyses) is a geographic information system used for editing and analysing spatial data. . This package contains the header files for developing with SAGA. Install this package if you wish to develop software that uses the SAGA API.