I am trying to install a program called "ROOT" (http://root.cern.ch/drupal/content/installing-root-source) using the "make" command, but I get the following error:
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
however, I checked and my system has the ft2build.h already:
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
How can I do so that the installation can find the ft2build.h file?
brew install freetype --with-freetype-dir=/usr/local/Cellar/freetype
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With