[Perl]Font::Freetype 模块安装 以及 示例
发表于 : 2017年05月14日 18:46
转载请注明出处:http://code-by.org/viewtopic.php?f=59&t=283
By 523066680@163.com
[Perl]Font::Freetype 模块安装 以及 示例
By 523066680@163.com
[Perl]Font::Freetype 模块安装 以及 示例
- 环境 Win7, Strawberry Perl V5.24 Portable
参考 Strawberry Perl 环境配置 以及 版本推荐
- 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