Skip to content

Instantly share code, notes, and snippets.

@blazetopher
Created August 13, 2012 17:16
Show Gist options
  • Save blazetopher/3342566 to your computer and use it in GitHub Desktop.
Save blazetopher/3342566 to your computer and use it in GitHub Desktop.
matplotlib error
In file included from src/ft2font.cpp:3:
src/ft2font.h:16:22: error: ft2build.h: No such file or directory
src/ft2font.h:17:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:18:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:19:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:20:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:21:10: error: #include expects "FILENAME" or <FILENAME>
In file included from src/ft2font.cpp:3:
src/ft2font.h:35: error: ‘FT_Bitmap’ has not been declared
src/ft2font.h:35: error: ‘FT_Int’ has not been declared
src/ft2font.h:35: error: ‘FT_Int’ has not been declared
src/ft2font.h:91: error: expected ‘,’ or ‘...’ before ‘&’ token
src/ft2font.h:91: error: ISO C++ forbids declaration of ‘FT_Face’ with no type
src/ft2font.h:138: error: ‘FT_Face’ does not name a type
src/ft2font.h:139: error: ‘FT_Matrix’ does not name a type
src/ft2font.h:140: error: ‘FT_Vector’ does not name a type
src/ft2font.h:141: error: ‘FT_Error’ does not name a type
src/ft2font.h:142: error: ‘FT_Glyph’ was not declared in this scope
src/ft2font.h:142: error: template argument 1 is invalid
src/ft2font.h:142: error: template argument 2 is invalid
src/ft2font.h:143: error: ‘FT_Vector’ was not declared in this scope
src/ft2font.h:143: error: template argument 1 is invalid
src/ft2font.h:143: error: template argument 2 is invalid
src/ft2font.h:149: error: ‘FT_BBox’ does not name a type
src/ft2font.cpp:51: error: ‘FT_Library’ does not name a type
src/ft2font.cpp:114: error: variable or field ‘draw_bitmap’ declared void
src/ft2font.cpp:114: error: ‘FT_Bitmap’ was not declared in this scope
src/ft2font.cpp:114: error: ‘bitmap’ was not declared in this scope
src/ft2font.cpp:115: error: ‘FT_Int’ was not declared in this scope
src/ft2font.cpp:116: error: ‘FT_Int’ was not declared in this scope
/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include/numpy/__multiarray_api.h:1532: warning: ‘int _import_array()’ defined but not used
In file included from src/ft2font.cpp:3:
src/ft2font.h:16:22: error: ft2build.h: No such file or directory
src/ft2font.h:17:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:18:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:19:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:20:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:21:10: error: #include expects "FILENAME" or <FILENAME>
In file included from src/ft2font.cpp:3:
src/ft2font.h:35: error: ‘FT_Bitmap’ has not been declared
src/ft2font.h:35: error: ‘FT_Int’ has not been declared
src/ft2font.h:35: error: ‘FT_Int’ has not been declared
src/ft2font.h:91: error: expected ‘,’ or ‘...’ before ‘&’ token
src/ft2font.h:91: error: ISO C++ forbids declaration of ‘FT_Face’ with no type
src/ft2font.h:138: error: ‘FT_Face’ does not name a type
src/ft2font.h:139: error: ‘FT_Matrix’ does not name a type
src/ft2font.h:140: error: ‘FT_Vector’ does not name a type
src/ft2font.h:141: error: ‘FT_Error’ does not name a type
src/ft2font.h:142: error: ‘FT_Glyph’ was not declared in this scope
src/ft2font.h:142: error: template argument 1 is invalid
src/ft2font.h:142: error: template argument 2 is invalid
src/ft2font.h:143: error: ‘FT_Vector’ was not declared in this scope
src/ft2font.h:143: error: template argument 1 is invalid
src/ft2font.h:143: error: template argument 2 is invalid
src/ft2font.h:149: error: ‘FT_BBox’ does not name a type
src/ft2font.cpp:51: error: ‘FT_Library’ does not name a type
src/ft2font.cpp:114: error: variable or field ‘draw_bitmap’ declared void
src/ft2font.cpp:114: error: ‘FT_Bitmap’ was not declared in this scope
src/ft2font.cpp:114: error: ‘bitmap’ was not declared in this scope
src/ft2font.cpp:115: error: ‘FT_Int’ was not declared in this scope
src/ft2font.cpp:116: error: ‘FT_Int’ was not declared in this scope
/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include/numpy/__multiarray_api.h:1532: warning: ‘int _import_array()’ defined but not used
lipo: can't open input file: /var/folders/9v/9v+71E0CFjueNS2Ch5a-Q++++TI/-Tmp-//ccz9ekL0.out (No such file or directory)
error: command '/usr/bin/gcc-4.2' failed with exit status 1
----------------------------------------
Command /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -c "import setuptools;__file__='/Users/cmueller/Development/OOI/Dev/code/coi-services/build/matplotlib/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /var/folders/9v/9v+71E0CFjueNS2Ch5a-Q++++TI/-Tmp-/pip-6wN3rt-record/install-record.txt failed with error code 1 in /Users/cmueller/Development/OOI/Dev/code/coi-services/build/matplotlib
Storing complete log in /Users/cmueller/.pip/pip.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment