Re: [問題] compile 出現 freetype2 error

看板LinuxDev作者 (qqq)時間10年前 (2014/06/21 22:22), 10年前編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
您好: ※ 引述《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://www.ptt.cc/bbs/LinuxDev/M.1403360570.A.F9E.html ※ 編輯: robinliao (218.161.96.2), 06/21/2014 22:26:34
文章代碼(AID): #1JfPKw-U (LinuxDev)
文章代碼(AID): #1JfPKw-U (LinuxDev)