[Vm-dev] Problems with building a freetype plugin on linux

Igor Stasenko siguctua at gmail.com
Tue Apr 27 23:51:58 UTC 2010

gcc -g -O2 -fomit-frame-pointer -DLSB_FIRST=1 -DHAVE_CONFIG_H
-I/home/sig/squeak/src/build -I/home/sig/squeak/src/platforms/unix/vm
-I/home/sig/squeak/src/src/vm -c
/home/sig/squeak/src/src/plugins/FT2Plugin/FT2Plugin.c  -fPIC -DPIC
-DPIC -o FT2Plugin.o

In file included from /home/sig/squeak/src/src/plugins/FT2Plugin/FT2Plugin.c:30:
/usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No
such file or directory

and ftheader.h contents says:

  /* `<prefix>/include/freetype2' must be in your current inclusion path */
#include <freetype/config/ftheader.h>

So, it looks like a gcc flags missing the include option:


Best regards,
Igor Stasenko AKA sig.

More information about the Vm-dev mailing list