Install libosmgpsmap-1.0-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libosmgpsmap-1.0-dev
GTK+ library to embed OpenStreetMap maps - development files
libosmgpsmap is a library to embed maps in applications that when given GPS co-ordinates, draws a GPS track, and points of interest on a moving map display. Downloads map data from a number of websites, including openstreetmap.org, openaerialmap.org and others. . These are the development files for libosmgpsmap0, needed only if you're writing or compiling an application which will use it.