Install libgps-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libgps-dev
Description:
Global Positioning System - development files
The gpsd service daemon can monitor one or more GPS devices connected to a host computer, making all data on the location and movements of the sensors available to be queried on TCP port 2947. . This package contains the header and development files needed to build programs and packages using libgps.
Homepage: http://www.catb.org/gpsd/
Version: 3.17-5
Section: universe/libdevel