我正在尝试安装一个名为“ROOT”的程序(http://root.cern.ch/drupal/content/installing-root-source http://root.cern.ch/drupal/content/installing-root-source)使用“make”命令,但出现以下错误:
clang++ -O2 -m64 -pipe -Wshadow -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Iinclude -pthread -I/Users/builder/pisi-64bit/tmp/freetype-2.4.4-1/install/include/freetype2 -I/Users/builder/pisi-64bit/tmp/freetype-2.4.4-1/install/include -o graf2d/graf/src/TMathText.o -c /Users/alex/root/graf2d/graf/src/TMathText.cxx
/Users/alex/root/graf2d/graf/src/TMathText.cxx:15:12: fatal error:
'ft2build.h' file not found
但是,我检查过,我的系统已经有 ft2build.h:
locate ft2build.h
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/X11/include/ft2build.h
/opt/X11/include/ft2build.h
/opt/local/include/ft2build.h
/usr/X11/include/ft2build.h
如何才能让安装程序找到 ft2build.h 文件?
brew install freetype --with-freetype-dir=/usr/local/Cellar/freetype
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)