Subject: | #error "`ft2build.h' hasn't been included yet!" |
If building on a freebsd 9.2 system with freetype2-2.5.3_2 installed, then compilation of fontft1.c fails with:
In file included from fontft1.c:52:
/usr/local/include/freetype2/freetype.h:24:2: error: #error "`ft2build.h' hasn't been included yet!"
/usr/local/include/freetype2/freetype.h:25:2: error: #error "Please always use macros to include FreeType header files."
/usr/local/include/freetype2/freetype.h:26:2: error: #error "Example:"
/usr/local/include/freetype2/freetype.h:27:2: error: #error " #include <ft2build.h>"
/usr/local/include/freetype2/freetype.h:28:2: error: #error " #include FT_FREETYPE_H"
*** [fontft1.o] Error code 1