Re: [問題] compile 出現 freetype2 error

作者: robinliao (qqq)   2014-06-21 22:22:48
您好:
※ 引述《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
這點我是覺得有點怪異就是了。

Links booklink

Contact Us: admin [ a t ] ucptt.com