Install libdirectfb-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libdirectfb-dev
Description:
direct frame buffer graphics library - development files
DirectFB is a graphics library which was designed with embedded systems in mind. It offers maximum hardware accelerated performance at a minimum of resource usage and overhead. . This package contains the files needed to compile and link programs which use DirectFB.
Homepage: http://www.directfb.net
Version: 1.7.7-8
Section: universe/libdevel