Cannot Build SDL_ttf, Missing ft2build.h

I downloaded the source of two different SDL_ttf releases (2.24 and 2.22), but with the same results. Building on debian-based system.

configure.sh successfully completes, but when I type “make”, I get error: SDL_ttf.c:28:10: fatal error: ft2build.h: No such file or directory

I tried installing libfreetype-dev libfreetype6 libfreetype6-dev, but no effect.

Any thoughts on how to fix this error?

try to run ./configure again after installed freetype. it will reescan the system and find the library

I’m not familiar with autotools, so this is as far my knowledge goes.

Thanks, I did try that.

I’m not even sure that the system FreeType matters, as ./configure prints a message that included FreeType will be used.

No one else has seen this issue?