воскресенье, 6 июля 2014 г.

cl-freetype2

Может кому-нибудь сохранит минут 15 времени -

(ql:quickload "cl-freetype2")
error:
  ("External process exited with code 1.\nCommand was: \"cc\" \"-m64\" \"-I/Users/user/quicklisp/dists/quicklisp/software/cl-freetype2-20120305-git/src/ffi/grovel/\" \"-I/usr/include/freetype2\" \"-I/Users/user/quicklisp/dists/quicklisp/software/cffi_0.10.6/\" \"-fPIC\" \"-o\" \"/Users/user/.cache/common-lisp/sbcl-1.1.14-macosx-x64/Users/user/quicklisp/dists/quicklisp/software/cl-freetype2-20120305-git/src/ffi/grovel/grovel-freetype2\" \"/Users/user/.cache/common-lisp/sbcl-1.1.14-macosx-x64/Users/user/quicklisp/dists/quicklisp/software/cl-freetype2-20120305-git/src/ffi/grovel/grovel-freetype2.c\"\nOutput was:\nIn file included from /Users/user/.cache/common-lisp/sbcl-1.1.14-macosx-x64/Users/user/quicklisp/dists/quicklisp/software/cl-freetype2-20120305-git/src/ffi/grovel/grovel-freetype2.c:6:\n/Users/user/quicklisp/dists/quicklisp/software/cl-freetype2-20120305-git/src/ffi/grovel/grovel-freetype.h:2:10: fatal error: 'ft2build.h' file not found\n#include <ft2build.h>\n         ^\n1 error generated." "   [Condition of type SIMPLE-ERROR]" nil)
Решение -
sudo ln -s /opt/local/include/freetype2 /usr/include/freetype2
Если не знаете где лежит freetype2 -
locate ft2build.h 
 

Комментариев нет:

Отправить комментарий