Install libmtdev-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libmtdev-dev
Multitouch Protocol Translation Library - dev files
libmtdev is a library for translating evdev multitouch events using the legacy protocol to the new multitouch slots protocol. This is necessary for kernel drivers that have not been updated to use the newer protocol. . This package contains files that are needed to build applications.