Install libfreetype6-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libfreetype6-dev
Description:
FreeType 2 font engine, development files
The FreeType project is a team of volunteers who develop free, portable and high-quality software solutions for digital typography. They specifically target embedded systems and focus on bringing small, efficient and ubiquitous products. . This package contains all supplementary files (static library, headers and documentation) you need to develop your own programs using the FreeType 2 library.
Homepage: http://www.freetype.org
Version: 2.8.1-2ubuntu2
Section: libdevel