首页 > 代码库 > 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