Install libnm-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libnm-dev
GObject-based client library for NetworkManager (development files)
NetworkManager is a system network service that manages your network devices and connections, attempting to keep active network connectivity when available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE devices, and provides VPN integration with a variety of different VPN services. . This package contains header and development files.