g++ -Wall -pedantic -I/usr/include/freetype2 -march=athlon-xp -mfpmath=sse,387 -pipe -fomit-frame-pointer -ffast-math -ftracer -c ttf.cpp -fPIC -DPIC -o .libs/ttf.o In file included from ttf.h:6, from ttmkfdir.cpp:8: /usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!" /usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files." /usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:" /usr/include/freetype2/freetype/freetype.h:23:2: #error " #include <ft2build.h>" /usr/include/freetype2/freetype/freetype.h:24:2: #error " #include FT_FREETYPE_H" In file included from ttmkfdir.cpp:8: ttf.h:11:31: freetype/ftmodule.h: No such file or directory make: *** [ttmkfdir.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from ttf.cpp:8: ttf.h:11:31: freetype/ftmodule.h: No such file or directory ttf.cpp: In destructor `ttf::Face::~Face()': ttf.cpp:632: error: `FT_Done_Library' undeclared (first use this function) ttf.cpp:632: error: (Each undeclared identifier is reported only once for each function it appears in.) make: *** [ttf.o] Error 1
I'm pushing a masked ttmkfdir in a moment. It looks to me as though your version of freetype is the masked one, which is why this is failing. As an aside, your -mfmpath=sse,387 is just ASKING for trouble.
yes its a know problem with the masked version.. masked still stands for 'known broken & under development' doesn't it ? The freetype patch can be applied to the unmasked version as well, it should work with both masked & unmasked versions of freetype *** This bug has been marked as a duplicate of 44119 ***