原文:http://www.code-by.org/viewtopic.php?f=60&t=284php
錯誤提示ui
Font-FreeType-0.07>perl Makefile.PL Build config: default Build flag LIB: -lfreetype Build flag INC: -I/usr/include/freetype2 Can't link/include C library 'ft2build.h', 'freetype', aborting.
解決方法:code
找到 $config->{default}{INC} = '-I/usr/include/freetype2'; 改成 $config->{default}{INC} = '-IC:/Strawberry/c/include/freetype2'; 而後 > perl Makefile.PL > dmake > dmake install