Install libsdl2-ttf-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libsdl2-ttf-dev
Description:
TrueType Font library for Simple DirectMedia Layer 2, development files
Wrapper around FreeType 2.0 library, making possible to use TrueType fonts to render text in SDL applications. . This package contains the development files.
Homepage: http://www.libsdl.org/projects/SDL_ttf/
Version: 2.0.14+dfsg1-2
Section: universe/libdevel