Ft2build.h: No such file or directory

The problem is pretty much the title. The file ft2build.h is in /usr/include/freetype2 and I pass this include path to the compiler and it still can’t find it. Any ideas?

Distro: Fedora 33

Do you have permissions to read/write in that directory? You may need to edit the configure file or the make file.

Hi, apologies for the late reply. Apparently Fedora has modified the freetype headers as this usually compiles fine on ubuntu. I had to remove references to functions that were removed by fedora. Here is the commit for future reference - akhaitov pushed to ghostscript (f32). "Drop use of FT_CALLBACK_DEF() def" - scm-commits - Fedora Mailing-Lists

1 Like