首页 > 代码库 > freetype/fterrors.h: No such file or directory
freetype/fterrors.h: No such file or directory
building ‘_imagingft‘ extension gcc -pthread -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fPIC -I/usr/include/freetype2 -IlibImaging -I/home/cafeerp/instances/cafeerp_ocb7/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c _imagingft.c -o build/temp.linux-x86_64-2.7/_imagingft.o _imagingft.c:73:31: fatal error: freetype/fterrors.h: No such file or directory #include <freetype/fterrors.h> ^ compilation terminated.
解决:
I‘m using ArchLinux and the default "include" folder there‘s no folder freetype only freetype2.
I have created a symbolic link and everything works.
Maybe it‘s works in another distros like Ubuntu and etc.
cd /usr/include ln -s freetype2 freetype
freetype/fterrors.h: No such file or directory
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。