[Perl]Can't link/include C library 'ft2build.h', 'freetype', aborting.
原文:http://www.code-by.org/viewtopic.php?f=60&t=284
错误提示
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.
解决方法:
找到
$config->{default}{INC} = '-I/usr/include/freetype2';
改为
$config->{default}{INC} = '-IC:/Strawberry/c/include/freetype2';
然后
> perl Makefile.PL
> dmake
> dmake install