ft2build.h位于:
C:\ Program Files\GnuWin32\include
最初,我犯了同样的错误:
致命错误C1083:无法打开包含文件:'tiffio.h':没有这样的文件或目录VC++ 2008
但从那时起,我已经纠正了这个特定的错误(我已将上面的目录添加到"include"列表,而不是"可执行文件"列表),但我仍然收到错误.完整的输出是这样的:
BUILDING MATPLOTLIB
matplotlib: 0.98.5.2
python: 2.6.2 Stackless 3.1b3 060516 (release26-maint, Apr
14 2009, 21:19:36) [MSC v.1500 32 bit (Intel)]
platform: win32
Windows version: (5, 1, 2600, 2, 'Service Pack 3')
REQUIRED DEPENDENCIES
numpy: 1.3.0
freetype2: found, but unknown version (no pkg-config)
* WARNING: Could not find 'freetype2' headers in any
* of '.', '.\freetype2'.
OPTIONAL BACKEND DEPENDENCIES
libpng: found, but unknown version (no pkg-config)
* Could not find 'libpng' headers in …Run Code Online (Sandbox Code Playgroud) 我正在尝试使用“make”命令安装一个名为“ROOT”(http://root.cern.ch/drupal/content/installing-root-source)的程序,但出现以下错误:
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
Run Code Online (Sandbox Code Playgroud)
但是,我检查了一下,我的系统已经有了 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
Run Code Online (Sandbox Code Playgroud)
我该怎么做才能让安装找到 ft2build.h 文件?