码迷,mamicode.com
首页 > 其他好文 > 详细

freetype/fterrors.h: No such file or directory

时间:2014-10-31 16:11:08      阅读:128      评论:0      收藏:0      [点我收藏+]

标签:style   io   color   os   ar   sp   on   bs   ad   

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

标签:style   io   color   os   ar   sp   on   bs   ad   

原文地址:http://my.oschina.net/zuoan001/blog/339210

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!