Install libnfc-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libnfc-dev
Near Field Communication (NFC) library (development files)
libnfc is a library for Near Field Communication. It abstracts the low-level details of communicating with the devices away behind an easy-to-use high-level API. It supports most hardware based on the NXP PN531, PN532 or PN533 controller chips. . This package contains the header and development files needed to build programs and packages using libnfc.