Install libcec-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libcec-dev
Description:
USB CEC Adaptor communication Library (development files)
This library provides support for the Pulse-Eight USB-CEC adapter and other CEC capable hardware, like the Raspberry Pi. . This package provides the necessary files needed for development.
Homepage: http://libcec.pulse-eight.com/
Version: 4.0.2+dfsg1-2ubuntu1
Section: universe/libdevel