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

David T. Lewis lewis at mail.msen.com
Wed Apr 28 00:59:26 UTC 2010


On Wed, Apr 28, 2010 at 02:51:58AM +0300, Igor Stasenko wrote:
>  
> 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/platforms/Cross/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:
> 
> -I/use/include/freetype2

See platforms/unix/plugins/FT2Plugin/FT2PluginHeaderFix-ikp.1.cs for the
patch that Ian used to address this. I cannot say if it works on Windows,
if so Ian's patch should be included in the FT2Plugin. Otherwise it
presumably should be addressed in CMake to get the include path right.

I'm not sure who is the maintainer of FT2Plugin. I have the VMMaker
configuration map pointing at source.impara.de/freetype, but I'm not
sure if this is being actively maintained.

Dave



More information about the Vm-dev mailing list