作者robinliao (qqq)
看板LinuxDev
标题Re: [问题] compile 出现 freetype2 error
时间Sat Jun 21 22:22:48 2014
您好:
※ 引述《SkyRS (亮蓝色RS)》之铭言:
: /home/daniel/vlc/contrib/i686-w64-mingw32/include/ft2build.h:56:38: fatal
: error: freetype/config/ftheader.h: No such file or directory
: #include <freetype/config/ftheader.h>
字面上的翻译说找不到ftheader.h造成编译出错。
如果您不是cross-compile的话,在Ubuntu下面可以安装apt-file这个套件。
然後再使用apt-file search ftheader.h可以列出该档案属於哪个套件,安
装缺少套件後就可以解决这个错误。
: compilation terminated.
: make[1]: *** [/home/daniel/vlc/contrib/win32/freetype/objs/ftsystem.lo] Error
: 1
: make[1]: Leaving directory `/home/daniel/vlc/contrib/win32/freetype'
: make: *** [.freetype2] Error 2
: daniel@ubuntu:~/vlc/contrib/win32$
不过为什麽是在Ubuntu下面跑到win32目录编译,然後include到i686-w64-mingw32
这点我是觉得有点怪异就是了。
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 218.161.96.207
※ 文章网址: http://webptt.com/cn.aspx?n=bbs/LinuxDev/M.1403360570.A.F9E.html
※ 编辑: robinliao (218.161.96.2), 06/21/2014 22:26:34