Hi there,
I’m having a problem installing matplotlib, I’m guessing that I am missing some dependency, but I am having trouble figuring out what the issue is (I don’t have a ton of experience dealing with python libraries and troubleshooting install issues).
I’m using Mac OSX 10.6.4 (Snow Leopard)
I’m trying to install matplotlib 1.0.0, which I downloaded as a tar.gz file from the website.
So, hopefully this won’t be too annoying, but here is the full output from when I try to install the library - it is very possible that I am doing something really stupid, so please be nice! Thanks so much for any help that anyone can provide.
Terminal Output:
dnab434de2:matplotlib-1.0.0 skairam$ python setup.py install
basedirlist is: []
···
============================================================================
BUILDING MATPLOTLIB
matplotlib: 1.0.0
python: 2.6.6 (r266:84374, Aug 31 2010, 11:00:51) [GCC
4.0.1 (Apple Inc. build 5493)]
platform: darwin
REQUIRED DEPENDENCIES
numpy: 1.5.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 any of ‘.’
Tkinter: Tkinter: 73770, Tk: 8.4, Tcl: 8.4
wxPython: no
* wxPython not found
Gtk+: no
* Building for Gtk+ requires pygtk; you must be able
* to “import gtk” in your build/install environment
Mac OS X native: yes
Qt: no
Qt4: no
Cairo: no
OPTIONAL DATE/TIMEZONE DEPENDENCIES
datetime: present, version unknown
dateutil: matplotlib will provide
pytz: matplotlib will provide
adding pytz
OPTIONAL USETEX DEPENDENCIES
dvipng: no
ghostscript: 8.63
latex: no
[Edit setup.cfg to suppress the above messages]
pymods [‘pylab’]
packages [‘matplotlib’, ‘matplotlib.backends’, ‘matplotlib.backends.qt4_editor’, ‘matplotlib.projections’, ‘matplotlib.testing’, ‘matplotlib.testing.jpl_units’, ‘matplotlib.tests’, ‘mpl_toolkits’, ‘mpl_toolkits.mplot3d’, ‘mpl_toolkits.axes_grid’, ‘mpl_toolkits.axes_grid1’, ‘mpl_toolkits.axisartist’, ‘matplotlib.sphinxext’, ‘matplotlib.numerix’, ‘matplotlib.numerix.mlab’, ‘matplotlib.numerix.ma’, ‘matplotlib.numerix.linear_algebra’, ‘matplotlib.numerix.random_array’, ‘matplotlib.numerix.fft’, ‘matplotlib.tri’, ‘matplotlib.delaunay’, ‘pytz’, ‘dateutil’, ‘dateutil/zoneinfo’]
running install
running build
running build_py
copying lib/matplotlib/mpl-data/matplotlibrc -> build/lib.macosx-10.3-fat-2.6/matplotlib/mpl-data
copying lib/matplotlib/mpl-data/matplotlib.conf -> build/lib.macosx-10.3-fat-2.6/matplotlib/mpl-data
running build_ext
building ‘matplotlib.ft2font’ extension
gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -arch ppc -arch i386 -g -O2 -DNDEBUG -g -O3 -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c src/ft2font.cpp -o build/temp.macosx-10.3-fat-2.6/src/ft2font.o
In file included from /usr/include/architecture/i386/math.h:626,
from /usr/include/math.h:28,
from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pyport.h:235,
from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:58,
from ./CXX/WrapPython.h:61,
from ./CXX/Extensions.hxx:37,
from src/ft2font.h:4,
from src/ft2font.cpp:1:
/usr/include/AvailabilityMacros.h:108:14: warning: #warning Building for Intel with Mac OS X Deployment Target < 10.4 is invalid.
In file included from src/ft2font.cpp:1:
src/ft2font.h:14:22: error: ft2build.h: No such file or directory
src/ft2font.h:15:10: error: #include expects “FILENAME” or
src/ft2font.h:16:10: error: #include expects “FILENAME” or
src/ft2font.h:17:10: error: #include expects “FILENAME” or
src/ft2font.h:18:10: error: #include expects “FILENAME” or
src/ft2font.h:19:10: error: #include expects “FILENAME” or
In file included from src/ft2font.cpp:1:
src/ft2font.h:14:22: error: ft2build.h: No such file or directory
src/ft2font.h:15:10: error: #include expects “FILENAME” or
src/ft2font.h:16:10: error: #include expects “FILENAME” or
src/ft2font.h:17:10: error: #include expects “FILENAME” or
src/ft2font.h:18:10: error: #include expects “FILENAME” or
src/ft2font.h:19:10: error: #include expects “FILENAME” or
src/ft2font.h:33: error: ‘FT_Bitmap’ has not been declared
src/ft2font.h:33: error: ‘FT_Int’ has not been declared
src/ft2font.h:33: error: ‘FT_Int’ has not been declared
src/ft2font.h:89: error: expected ‘,’ or ‘…’ before ‘&’ token
src/ft2font.h:89: error: ISO C++ forbids declaration of ‘FT_Face’ with no type
src/ft2font.h:95: error: expected ‘,’ or ‘…’ before ‘&’ token
src/ft2font.h:95: error: ISO C++ forbids declaration of ‘FT_Face’ with no type
src/ft2font.h:137: error: ‘FT_Face’ does not name a type
src/ft2font.h:138: error: ‘FT_Matrix’ does not name a type
src/ft2font.h:139: error: ‘FT_Vector’ does not name a type
src/ft2font.h:140: error: ‘FT_Error’ does not name a type
src/ft2font.h:141: error: ‘FT_Glyph’ was not declared in this scope
src/ft2font.h:141: error: template argument 1 is invalid
src/ft2font.h:141: error: template argument 2 is invalid
src/ft2font.h:142: error: ‘FT_Vector’ 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:148: error: ‘FT_BBox’ does not name a type
src/ft2font.cpp:45: error: ‘FT_Library’ does not name a type
src/ft2font.cpp:108: error: variable or field ‘draw_bitmap’ declared void
src/ft2font.cpp:108: error: ‘int FT2Image::draw_bitmap’ is not a static member of ‘class FT2Image’
src/ft2font.cpp:108: error: ‘FT_Bitmap’ was not declared in this scope
src/ft2font.cpp:108: error: ‘bitmap’ was not declared in this scope
src/ft2font.cpp:109: error: ‘FT_Int’ was not declared in this scope
src/ft2font.cpp:110: error: ‘FT_Int’ was not declared in this scope
src/ft2font.cpp:110: error: initializer expression list treated as compound expression
src/ft2font.cpp:111: error: expected ‘,’ or ‘;’ before ‘{’ token
src/ft2font.h:33: error: ‘FT_Bitmap’ has not been declared
src/ft2font.h:33: error: ‘FT_Int’ has not been declared
src/ft2font.h:33: error: ‘FT_Int’ has not been declared
src/ft2font.cpp:423: error: expected ‘,’ or ‘…’ before ‘&’ token
src/ft2font.cpp:423: error: ISO C++ forbids declaration of ‘FT_Face’ with no type
src/ft2font.cpp: In constructor ‘Glyph::Glyph(int)’:
src/ft2font.cpp:424: error: ‘ind’ was not declared in this scope
src/ft2font.cpp:428: error: ‘FT_BBox’ was not declared in this scope
src/ft2font.cpp:428: error: expected ;' before ‘bbox’ src/ft2font.cpp:429: error: ‘glyph’ was not declared in this scope src/ft2font.cpp:429: error: ‘ft_glyph_bbox_subpixels’ was not declared in this scope src/ft2font.cpp:429: error: ‘bbox’ was not declared in this scope src/ft2font.cpp:429: error: ‘FT_Glyph_Get_CBox’ was not declared in this scope src/ft2font.cpp:431: error: ‘face’ was not declared in this scope src/ft2font.cpp:451: error: no matching function for call to ‘Glyph::get_path(<type error>)’ src/ft2font.h:95: note: candidates are: Py::Object Glyph::get_path(int) src/ft2font.cpp: At global scope: src/ft2font.cpp:483: error: expected ‘,’ or ‘...’ before ‘&’ token src/ft2font.cpp:483: error: ISO C++ forbids declaration of ‘FT_Face’ with no type src/ft2font.cpp: In member function ‘Py::Object Glyph::get_path(int)’: src/ft2font.cpp:489: error: ‘FT_Outline’ was not declared in this scope src/ft2font.cpp:489: error: ‘outline’ was not declared in this scope src/ft2font.cpp:489: error: ‘face’ was not declared in this scope src/ft2font.cpp:494: error: ‘FT_Vector’ was not declared in this scope src/ft2font.cpp:494: error: expected
;’ before ‘v_last’
src/ft2font.cpp:495: error: expected ;' before ‘v_control’ src/ft2font.cpp:496: error: expected
;’ before ‘v_start’
src/ft2font.cpp:498: error: ‘point’ was not declared in this scope
src/ft2font.cpp:499: error: ‘limit’ was not declared in this scope
src/ft2font.cpp:515: error: ‘v_start’ was not declared in this scope
src/ft2font.cpp:516: error: ‘v_last’ was not declared in this scope
src/ft2font.cpp:518: error: ‘v_control’ was not declared in this scope
src/ft2font.cpp:522: error: ‘FT_CURVE_TAG’ was not declared in this scope
src/ft2font.cpp:525: error: ‘FT_CURVE_TAG_CUBIC’ was not declared in this scope
src/ft2font.cpp:531: error: ‘FT_CURVE_TAG_CONIC’ was not declared in this scope
src/ft2font.cpp:534: error: ‘FT_CURVE_TAG_ON’ was not declared in this scope
src/ft2font.cpp:574: error: ‘FT_CURVE_TAG_ON’ was not declared in this scope
src/ft2font.cpp:587: error: ‘FT_CURVE_TAG_CONIC’ was not declared in this scope
src/ft2font.cpp:595: error: expected ;' before ‘vec’ src/ft2font.cpp:596: error: expected
;’ before ‘v_middle’
src/ft2font.cpp:602: error: ‘vec’ was not declared in this scope
src/ft2font.cpp:626: error: ‘v_middle’ was not declared in this scope
src/ft2font.cpp:660: error: expected ;' before ‘vec1’ src/ft2font.cpp:662: error: ‘FT_CURVE_TAG_CUBIC’ was not declared in this scope src/ft2font.cpp:667: error: ‘vec1’ was not declared in this scope src/ft2font.cpp:669: error: ‘vec2’ was not declared in this scope src/ft2font.cpp:677: error: expected
;’ before ‘vec’
src/ft2font.cpp:679: error: ‘vec’ was not declared in this scope
src/ft2font.cpp: In constructor ‘FT2Font::FT2Font(std::string)’:
src/ft2font.cpp:739: error: ‘_ft2Library’ was not declared in this scope
src/ft2font.cpp:739: error: ‘face’ was not declared in this scope
src/ft2font.cpp:739: error: ‘FT_New_Face’ was not declared in this scope
src/ft2font.cpp:741: error: ‘FT_Err_Unknown_File_Format’ was not declared in this scope
src/ft2font.cpp:748: error: ‘FT_Err_Cannot_Open_Resource’ was not declared in this scope
src/ft2font.cpp:755: error: ‘FT_Err_Invalid_File_Format’ was not declared in this scope
src/ft2font.h:89: error: expected ‘,’ or ‘…’ before ‘&’ token
src/ft2font.h:89: error: ISO C++ forbids declaration of ‘FT_Face’ with no type
src/ft2font.h:95: error: expected ‘,’ or ‘…’ before ‘&’ token
src/ft2font.h:95: error: ISO C++ forbids declaration of ‘FT_Face’ with no type
src/ft2font.cpp:772: error: ‘FT_Set_Char_Size’ was not declared in this scope
src/ft2font.cpp:773: error: ‘FT_Matrix’ does not name a type
src/ft2font.cpp:774: error: ‘transform’ was not declared in this scope
src/ft2font.cpp:774: error: ‘FT_Set_Transform’ was not declared in this scope
src/ft2font.h:137: error: ‘FT_Face’ does not name a type
src/ft2font.h:138: error: ‘FT_Matrix’ does not name a type
src/ft2font.h:139: error: ‘FT_Vector’ does not name a type
src/ft2font.h:140: error: ‘FT_Error’ does not name a type
src/ft2font.h:141: error: ‘FT_Glyph’ was not declared in this scope
src/ft2font.h:141: error: template argument 1 is invalid
src/ft2font.h:141: error: template argument 2 is invalid
src/ft2font.h:142: error: ‘FT_Vector’ 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:148: error: ‘FT_BBox’ does not name a type
src/ft2font.cpp:791: error: ‘FT_Get_Postscript_Name’ was not declared in this scope
src/ft2font.cpp:819: error: ‘FT_IS_SCALABLE’ was not declared in this scope
src/ft2font.cpp: In destructor ‘virtual FT2Font::~FT2Font()’:
src/ft2font.cpp:852: error: ‘face’ was not declared in this scope
src/ft2font.cpp:852: error: ‘FT_Done_Face’ was not declared in this scope
src/ft2font.cpp:854: error: request for member ‘size’ in ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:856: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:856: error: ‘FT_Done_Glyph’ was not declared in this scope
src/ft2font.cpp:45: error: ‘FT_Library’ does not name a type
src/ft2font.cpp: In member function ‘Py::Object FT2Font::clear(const Py::Tuple&)’:
src/ft2font.cpp:893: error: ‘pen’ was not declared in this scope
src/ft2font.cpp:896: error: request for member ‘size’ in ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:898: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:898: error: ‘FT_Done_Glyph’ was not declared in this scope
src/ft2font.cpp:901: error: request for member ‘clear’ in ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp: In member function ‘Py::Object FT2Font::set_size(const Py::Tuple&)’:
src/ft2font.cpp:925: error: ‘face’ was not declared in this scope
src/ft2font.cpp:927: error: ‘FT_Set_Char_Size’ was not declared in this scope
src/ft2font.cpp:928: error: ‘FT_Matrix’ does not name a type
src/ft2font.cpp:929: error: ‘transform’ was not declared in this scope
src/ft2font.cpp:929: error: ‘FT_Set_Transform’ was not declared in this scope
src/ft2font.cpp:108: error: variable or field ‘draw_bitmap’ declared void
src/ft2font.cpp:108: error: ‘int FT2Image::draw_bitmap’ is not a static member of ‘class FT2Image’
src/ft2font.cpp:108: error: ‘FT_Bitmap’ was not declared in this scope
src/ft2font.cpp:108: error: ‘bitmap’ was not declared in this scope
src/ft2font.cpp:109: error: ‘FT_Int’ was not declared in this scope
src/ft2font.cpp:110: error: ‘FT_Int’ was not declared in this scope
src/ft2font.cpp:110: error: initializer expression list treated as compound expression
src/ft2font.cpp:111: error: expected ‘,’ or ‘;’ before ‘{’ token
src/ft2font.cpp: In member function ‘Py::Object FT2Font::set_charmap(const Py::Tuple&)’:
src/ft2font.cpp:956: error: ‘face’ was not declared in this scope
src/ft2font.cpp:960: error: ‘FT_CharMap’ was not declared in this scope
src/ft2font.cpp:960: error: expected ;' before ‘charmap’ src/ft2font.cpp:961: error: ‘face’ was not declared in this scope src/ft2font.cpp:961: error: ‘charmap’ was not declared in this scope src/ft2font.cpp:961: error: ‘FT_Set_Charmap’ was not declared in this scope src/ft2font.cpp: In member function ‘Py::Object FT2Font::select_charmap(const Py::Tuple&)’: src/ft2font.cpp:982: error: ‘face’ was not declared in this scope src/ft2font.cpp:982: error: ‘FT_Encoding’ was not declared in this scope src/ft2font.cpp:982: error: ‘FT_Select_Charmap’ was not declared in this scope src/ft2font.cpp: At global scope: src/ft2font.cpp:989: error: ‘FT_BBox’ does not name a type src/ft2font.cpp: In member function ‘Py::Object FT2Font::get_kerning(const Py::Tuple&)’: src/ft2font.cpp:1048: error: ‘face’ was not declared in this scope src/ft2font.cpp:1048: error: ‘FT_HAS_KERNING’ was not declared in this scope src/ft2font.cpp:1052: error: ‘FT_Vector’ was not declared in this scope src/ft2font.cpp:1052: error: expected
;’ before ‘delta’
src/ft2font.cpp:1054: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1054: error: ‘delta’ was not declared in this scope
src/ft2font.cpp:1054: error: ‘FT_Get_Kerning’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object FT2Font::set_text(const Py::Tuple&, const Py::Dict&)’:
src/ft2font.cpp:1100: error: ‘FT_LOAD_FORCE_AUTOHINT’ was not declared in this scope
src/ft2font.cpp:1107: error: ‘matrix’ was not declared in this scope
src/ft2font.cpp:1107: error: ‘FT_Fixed’ was not declared in this scope
src/ft2font.cpp:1112: error: ‘FT_Bool’ was not declared in this scope
src/ft2font.cpp:1112: error: expected ;' before ‘use_kerning’ src/ft2font.cpp:1113: error: ‘FT_UInt’ was not declared in this scope src/ft2font.cpp:1113: error: expected
;’ before ‘previous’
src/ft2font.cpp:1115: error: request for member ‘resize’ in ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1116: error: ‘pen’ was not declared in this scope
src/ft2font.cpp:1123: error: expected ;' before ‘glyph_index’ src/ft2font.cpp:1130: error: ‘glyph_index’ was not declared in this scope src/ft2font.cpp:1130: error: ‘face’ was not declared in this scope src/ft2font.cpp:1130: error: ‘FT_Get_Char_Index’ was not declared in this scope src/ft2font.cpp:1135: error: ‘glyph_index’ was not declared in this scope src/ft2font.cpp:1135: error: ‘face’ was not declared in this scope src/ft2font.cpp:1135: error: ‘FT_Get_Char_Index’ was not declared in this scope src/ft2font.cpp:1139: error: ‘use_kerning’ was not declared in this scope src/ft2font.cpp:1139: error: ‘previous’ was not declared in this scope src/ft2font.cpp:1139: error: ‘glyph_index’ was not declared in this scope src/ft2font.cpp:1141: error: ‘FT_Vector’ was not declared in this scope src/ft2font.cpp:1141: error: expected
;’ before ‘delta’
src/ft2font.cpp:1142: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1143: error: ‘FT_KERNING_DEFAULT’ was not declared in this scope
src/ft2font.cpp:1143: error: ‘delta’ was not declared in this scope
src/ft2font.cpp:1143: error: ‘FT_Get_Kerning’ was not declared in this scope
src/ft2font.cpp:1146: error: ‘error’ was not declared in this scope
src/ft2font.cpp:1146: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1146: error: ‘glyph_index’ was not declared in this scope
src/ft2font.cpp:1146: error: ‘FT_Load_Glyph’ was not declared in this scope
src/ft2font.cpp:1156: error: ‘FT_Glyph’ was not declared in this scope
src/ft2font.cpp:1156: error: expected ;' before ‘thisGlyph’ src/ft2font.cpp:1157: error: ‘thisGlyph’ was not declared in this scope src/ft2font.cpp:1157: error: ‘FT_Get_Glyph’ was not declared in this scope src/ft2font.cpp:1166: error: ‘FT_Glyph_Transform’ was not declared in this scope src/ft2font.cpp:423: error: expected ‘,’ or ‘...’ before ‘&’ token src/ft2font.cpp:423: error: ISO C++ forbids declaration of ‘FT_Face’ with no type src/ft2font.cpp:1173: error: ‘previous’ was not declared in this scope src/ft2font.cpp: In constructor ‘Glyph::Glyph(int)’: src/ft2font.cpp:424: error: ‘ind’ was not declared in this scope src/ft2font.cpp:1174: error: request for member ‘push_back’ in ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’ src/ft2font.cpp:1178: error: request for member ‘size’ in ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’ src/ft2font.cpp:1180: error: invalid types ‘int[unsigned int]’ for array subscript src/ft2font.cpp:1180: error: ‘FT_Glyph_Transform’ was not declared in this scope src/ft2font.cpp:428: error: ‘FT_BBox’ was not declared in this scope src/ft2font.cpp:428: error: expected
;’ before ‘bbox’
src/ft2font.cpp:429: error: ‘glyph’ was not declared in this scope
src/ft2font.cpp:429: error: ‘ft_glyph_bbox_subpixels’ was not declared in this scope
src/ft2font.cpp:429: error: ‘bbox’ was not declared in this scope
src/ft2font.cpp:429: error: ‘FT_Glyph_Get_CBox’ was not declared in this scope
src/ft2font.cpp:431: error: ‘face’ was not declared in this scope
src/ft2font.cpp:451: error: no matching function for call to ‘Glyph::get_path()’
src/ft2font.h:95: note: candidates are: Py::Object Glyph::get_path(int)
src/ft2font.cpp: In member function ‘Py::Object FT2Font::get_num_glyphs(const Py::Tuple&)’:
src/ft2font.cpp:1198: error: request for member ‘size’ in ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp: In member function ‘Py::Object FT2Font::load_char(const Py::Tuple&, const Py::Dict&)’:
src/ft2font.cpp:1224: error: ‘FT_LOAD_FORCE_AUTOHINT’ was not declared in this scope
src/ft2font.cpp:1230: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1230: error: ‘FT_Load_Char’ was not declared in this scope
src/ft2font.cpp:1237: error: ‘FT_Glyph’ was not declared in this scope
src/ft2font.cpp:1237: error: expected ;' before ‘thisGlyph’ src/ft2font.cpp:1238: error: ‘thisGlyph’ was not declared in this scope src/ft2font.cpp:1238: error: ‘FT_Get_Glyph’ was not declared in this scope src/ft2font.cpp:1245: error: request for member ‘size’ in ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’ src/ft2font.cpp:1246: error: request for member ‘push_back’ in ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’ src/ft2font.cpp:1247: error: no matching function for call to ‘Glyph::Glyph(<type error>, <type error>, size_t&)’ src/ft2font.cpp:423: note: candidates are: Glyph::Glyph(int) src/ft2font.h:87: note: Glyph::Glyph(const Glyph&) src/ft2font.cpp: In member function ‘Py::Object FT2Font::load_glyph(const Py::Tuple&, const Py::Dict&)’: src/ft2font.cpp:1275: error: ‘FT_LOAD_FORCE_AUTOHINT’ was not declared in this scope src/ft2font.cpp:1281: error: ‘face’ was not declared in this scope src/ft2font.cpp:1281: error: ‘FT_Load_Glyph’ was not declared in this scope src/ft2font.cpp: At global scope: src/ft2font.cpp:483: error: expected ‘,’ or ‘...’ before ‘&’ token src/ft2font.cpp:1288: error: ‘FT_Glyph’ was not declared in this scope src/ft2font.cpp:483: error: ISO C++ forbids declaration of ‘FT_Face’ with no type src/ft2font.cpp:1288: error: expected
;’ before ‘thisGlyph’
src/ft2font.cpp:1289: error: ‘thisGlyph’ was not declared in this scope
src/ft2font.cpp:1289: error: ‘FT_Get_Glyph’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object Glyph::get_path(int)’:
src/ft2font.cpp:489: error: ‘FT_Outline’ was not declared in this scope
src/ft2font.cpp:489: error: ‘outline’ was not declared in this scope
src/ft2font.cpp:489: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1296: error: request for member ‘size’ in ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’src/ft2font.cpp:494: error: ‘FT_Vector’ was not declared in this scope
src/ft2fsrc/ft2font.cpp:1297: error: request for member ‘push_back’ in ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1298: error: no matching function for call to ‘Glyph::Glyph(, , size_t&)’
src/ft2font.cpp:423: note: candidates are: Glyph::Glyph(int)
src/ft2font.h:87: note: Glyph::Glyph(const Glyph&)
ont.cpp:494: error: expected ;' before ‘v_last’ src/ft2font.cpp:495: error: expected
;’ before ‘v_control’
src/ft2font.cpp:496: error: expected ;' before ‘v_start’ src/ft2font.cpp:498: error: ‘point’ was not declared in this scope src/ft2font.cpp:499: error: ‘limit’ was not declared in this scope src/ft2font.cpp:515: error: ‘v_start’ was not declared in this scope src/ft2font.cpp:516: error: ‘v_last’ was not declared in this scope src/ft2font.cpp:518: error: ‘v_control’ was not declared in this scope src/ft2font.cpp:522: error: ‘FT_CURVE_TAG’ was not declared in this scope ssrc/ft2font.cpp: In member function ‘Py::Object FT2Font::get_width_height(const Py::Tuple&)’: src/ft2font.cpp:1316: error: ‘FT_BBox’ was not declared in this scope src/ft2font.cpp:1316: error: expected
;’ before ‘bbox’
src/ft2font.cpp:1319: error: ‘bbox’ was not declared in this scope
rc/ft2font.cpp:525: error: ‘FT_CURVE_TAG_CUBIC’ was not declared in this scope
src/ft2font.cpp:531: error: ‘FT_CURVE_TAG_CONIC’ was not declared in this scopesrc/ft2font.cpp: In member function ‘Py::Object FT2Font::get_descent(const Py::Tuple&)’:
src/ft2font.cpp:1337: error: ‘FT_BBox’ was not declared in this scope
src/ft2font.cpp:1337: error: expected ;' before ‘bbox’ src/ft2font.cpp:534: error: ‘FT_CURVE_TAG_ON’ was not declared in this scope src/ft2font.cpp:1338: error: ‘bbox’ was not declared in this scope src/ft2font.cpp: In member function ‘Py::Object FT2Font::draw_glyphs_to_bitmap(const Py::Tuple&)’: src/ft2font.cpp:1354: error: ‘FT_BBox’ was not declared in this scope src/ft2font.cpp:1354: error: expected
;’ before ‘string_bbox’
src/ft2font.cpp:1355: error: ‘string_bbox’ was not declared in this scope
src/ft2font.cpp:1362: error: request for member ‘size’ in ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1364: error: expected ;' before ‘bbox’ src/ft2font.cpp:1365: error: invalid types ‘int[size_t]’ for array subscript src/ft2font.cpp:1365: error: ‘ft_glyph_bbox_pixels’ was not declared in this scope src/ft2font.cpp:1365: error: ‘bbox’ was not declared in this scope src/ft2font.cpp:1365: error: ‘FT_Glyph_Get_CBox’ was not declared in this scope src/ft2font.cpp:1367: error: ‘error’ was not declared in this scope src/ft2font.cpp:1367: error: invalid types ‘int[size_t]’ for array subscript src/ft2font.cpp:1368: error: ‘ft_render_mode_normal’ was not declared in this scope src/ft2font.cpp:1371: error: ‘FT_Glyph_To_Bitmap’ was not declared in this scope src/ft2font.cpp:1377: error: ‘FT_BitmapGlyph’ was not declared in this scope src/ft2font.cpp:1377: error: expected
;’ before ‘bitmap’
src/ft2font.cpp:1381: error: ‘FT_Int’ was not declared in this scope
src/ft2font.cpp:1381: error: expected ;' before ‘x’ src/ft2font.cpp:1382: error: expected
;’ before ‘y’
src/ft2font.cpp:1384: error: ‘bitmap’ was not declared in this scope
src/ft2font.cpp:1384: error: ‘x’ was not declared in this scope
src/ft2font.cpp:1384: error: ‘y’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object FT2Font::get_xys(const Py::Tuple&)’:
src/ft2font.cpp:1403: error: ‘FT_BBox’ was not declared in this scope
src/ft2font.cpp:1403: error: expected ;' before ‘string_bbox’ src/ft2font.cpp:574: error: ‘FT_CURVE_TAG_ON’ was not declared in this scope src/ft2font.cpp:1404: error: request for member ‘size’ in ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’ src/ft2font.cpp:1406: error: request for member ‘size’ in ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’ src/ft2font.cpp:1409: error: expected
;’ before ‘bbox’
src/ft2font.cpp:1410: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:1410: error: ‘ft_glyph_bbox_pixels’ was not declared in this scope
src/ft2font.cpp:1410: error: ‘bbox’ was not declared in this scope
src/ft2font.cpp:1410: error: ‘FT_Glyph_Get_CBox’ was not declared in this scope
src/ft2font.cpp:1412: error: ‘error’ was not declared in this scope
src/ft2font.cpp:1412: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:1413: error: ‘ft_render_mode_normal’ was not declared in this scope
src/ft2font.cpp:1416: error: ‘FT_Glyph_To_Bitmap’ was not declared in this scope
src/ft2font.cpp:1422: error: ‘FT_BitmapGlyph’ was not declared in this scope
src/ft2font.cpp:1422: error: expected ;' before ‘bitmap’ src/ft2font.cpp:1426: error: ‘FT_Int’ was not declared in this scope src/ft2font.cpp:587: error: ‘FT_CURVE_TAG_CONIC’ was not declared in this scope src/ft2font.cpp:1426: error: expected
;’ before ‘x’
src/ft2font.cpp:1427: error: expected ;' before ‘y’ src/ft2font.cpp:595: error: expected
;’ before ‘vec’
src/ft2font.cpp:1429: error: ‘x’ was not declared in this scope
src/ft2font.cpp:596: error: expected ;' before ‘v_middle’ src/ft2font.cpp:1430: error: ‘y’ was not declared in this scope src/ft2font.cpp:602: error: ‘vec’ was not declared in this scope src/ft2font.cpp:626: error: ‘v_middle’ was not declared in this scope src/ft2font.cpp: In member function ‘Py::Object FT2Font::draw_glyph_to_bitmap(const Py::Tuple&)’: src/ft2font.cpp:1468: error: ‘FT_Vector’ was not declared in this scope src/ft2font.cpp:1468: error: expected
;’ before ‘sub_offset’
src/ft2font.cpp:1469: error: ‘sub_offset’ was not declared in this scope
src/ft2font.cpp:1478: error: request for member ‘size’ in ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1483: error: ‘error’ was not declared in this scope
src/ft2font.cpp:1483: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:1484: error: ‘ft_render_mode_normal’ was not declared in this scope
src/ft2font.cpp:1487: error: ‘FT_Glyph_To_Bitmap’ was not declared in this scope
src/ft2font.cpp:1493: error: ‘FT_BitmapGlyph’ was not declared in this scope
src/ft2font.cpp:1493: error: expected ;' before ‘bitmap’ src/ft2font.cpp:1495: error: ‘bitmap’ was not declared in this scope src/ft2font.cpp:660: error: expected
;’ before ‘vec1’
src/ft2font.cpp:662: error: ‘FT_CURVE_TAG_CUBIC’ was not declared in this scope
src/ft2font.cpp:667: error: ‘vec1’ was not declared in this scope
src/ft2font.cpp:669: error: ‘vec2’ was not declared in this scope
src/ft2font.cpp:677: error: expected ;' before ‘vec’ src/ft2font.cpp:679: error: ‘vec’ was not declared in this scope src/ft2font.cpp: In member function ‘Py::Object FT2Font::get_glyph_name(const Py::Tuple&)’: src/ft2font.cpp:1510: error: ‘face’ was not declared in this scope src/ft2font.cpp:1510: error: ‘FT_HAS_GLYPH_NAMES’ was not declared in this scope src/ft2font.cpp:1516: error: ‘face’ was not declared in this scope src/ft2font.cpp:1516: error: ‘FT_UInt’ was not declared in this scope src/ft2font.cpp:1516: error: ‘FT_Get_Glyph_Name’ was not declared in this scope src/ft2font.cpp: In member function ‘Py::Object FT2Font::get_charmap(const Py::Tuple&)’: src/ft2font.cpp:1535: error: ‘FT_UInt’ was not declared in this scope src/ft2font.cpp:1535: error: expected
;’ before ‘index’
src/ft2font.cpp:1539: error: ‘FT_ULong’ was not declared in this scope
src/ft2font.cpp:1539: error: expected ;' before ‘code’ src/ft2font.cpp:1542: error: ‘code’ was not declared in this scope src/ft2font.cpp:1543: error: ‘face’ was not declared in this scope src/ft2font.cpp:1543: error: ‘FT_Get_Next_Char’ was not declared in this scope src/ft2font.cpp: In member function ‘Py::Object FT2Font::get_sfnt(const Py::Tuple&)’: src/ft2font.cpp:1612: error: ‘face’ was not declared in this scope src/ft2font.cpp:1612: error: ‘FT_FACE_FLAG_SFNT’ was not declared in this scope src/ft2font.cpp:1617: error: ‘face’ was not declared in this scope src/ft2font.cpp:1617: error: ‘FT_Get_Sfnt_Name_Count’ was not declared in this scope src/ft2font.cpp:1622: error: ‘FT_SfntName’ was not declared in this scope src/ft2font.cpp:1622: error: expected
;’ before ‘sfnt’
src/ft2font.cpp:1623: error: ‘FT_Error’ was not declared in this scope
src/ft2font.cpp:1623: error: expected ;' before ‘error’ src/ft2font.cpp:1625: error: ‘error’ was not declared in this scope src/ft2font.cpp:1631: error: ‘sfnt’ was not declared in this scope src/ft2font.cpp: In constructor ‘FT2Font::FT2Font(std::string)’: src/ft2font.cpp:739: error: ‘_ft2Library’ was not declared in this scope src/ft2font.cpp:739: error: ‘face’ was not declared in this scope src/ft2font.cpp:739: error: ‘FT_New_Face’ was not declared in this scope src/ft2font.cpp:741: error: ‘FT_Err_Unknown_File_Format’ was not declared in this scope src/ft2font.cpp:748: error: ‘FT_Err_Cannot_Open_Resource’ was not declared in this scope src/ft2font.cpp: In member function ‘Py::Object FT2Font::get_name_index(const Py::Tuple&)’: src/ft2font.cpp:1655: error: ‘face’ was not declared in this scope src/ft2font.cpp:1655: error: ‘FT_String’ was not declared in this scope src/ft2font.cpp:1655: error: ‘FT_Get_Name_Index’ was not declared in this scope src/ft2font.cpp:1654: error: expected primary-expression before ‘(’ token src/ft2font.cpp:1654: error: expected primary-expression before ‘long’ src/ft2font.cpp:1654: error: expected
)’ before ‘long’
src/ft2font.cpp: In member function ‘Py::Object FT2Font::get_ps_font_info(const Py::Tuple&)’:
src/ft2font.cpp:1668: error: ‘PS_FontInfoRec’ was not declared in this scope
src/ft2font.cpp:1668: error: expected ;' before ‘fontinfo’ src/ft2font.cpp:1670: error: ‘FT_Error’ was not declared in this scope src/ft2font.cpp:1670: error: expected
;’ before ‘error’
src/ft2font.cpp:1671: error: ‘error’ was not declared in this scope
src/ft2font.cpp:755:src/ft2font.cpp:1678: error: ‘fontinfo’ was not declared in this scope
error: ‘FT_Err_Invalid_File_Format’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object FT2Font::get_sfnt_table(const Py::Tuple&)’:
src/ft2font.cpp:1716: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1716: error: ‘FT_Sfnt_Tag’ was not declared in this scope
src/ft2font.cpp:1716: error: ‘FT_Get_Sfnt_Table’ was not declared in this scope
src/ft2font.cpp:1728: error: ‘TT_Header’ was not declared in this scope
src/ft2font.cpp:1728: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1728: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1728: error: expected ;' before ‘table’ src/ft2font.cpp:1756: error: ‘TT_MaxProfile’ was not declared in this scope src/ft2font.cpp:1756: error: ‘t’ was not declared in this scope src/ft2font.cpp:1756: error: expected primary-expression before ‘)’ token src/ft2font.cpp:1756: error: expected
;’ before ‘table’
src/ft2font.cpp:772: error: ‘FT_Set_Char_Size’ was not declared in this scope
src/ft2font.cpp:773: error: ‘FT_Matrix’ does not name a type
src/ft2font.cpp:1787: error: ‘TT_OS2’ was not declared in this scope
src/ft2font.cpp:1787: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1787: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1787: error: expected ;' before ‘table’ src/ft2font.cpp:774: error: ‘transform’ was not declared in this scope src/ft2font.cpp:774: error: ‘FT_Set_Transform’ was not declared in this scope src/ft2font.cpp:1820: error: ‘TT_HoriHeader’ was not declared in this scope src/ft2font.cpp:1820: error: ‘t’ was not declared in this scope src/ft2font.cpp:1820: error: expected primary-expression before ‘)’ token src/ft2font.cpp:1820: error: expected
;’ before ‘table’
src/ft2font.cpp:1843: error: ‘TT_VertHeader’ was not declared in this scope
src/ft2font.cpp:1843: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1843: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1843: error: expected ;' before ‘table’ src/ft2font.cpp:1864: error: ‘TT_Postscript’ was not declared in this scope src/ft2font.cpp:1864: error: ‘t’ was not declared in this scope src/ft2font.cpp:1864: error: expected primary-expression before ‘)’ token src/ft2font.cpp:1864: error: expected
;’ before ‘table’
src/ft2font.cpp:791: error: ‘FT_Get_Postscript_Name’ was not declared in this scope
src/ft2font.cpp:819: error: ‘FT_IS_SCALABLE’ was not declared in this scope
src/ft2font.cpp:1884: error: ‘TT_PCLT’ was not declared in this scope
src/ft2font.cpp:1884: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1884: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1884: error: expected ;' before ‘table’ src/ft2font.cpp: In destructor ‘virtual FT2Font::~FT2Font()’: src/ft2font.cpp:852: error: ‘face’ was not declared in this scope src/ft2font.cpp:852: error: ‘FT_Done_Face’ was not declared in this scope src/ft2font.cpp:854: error: request for member ‘size’ in ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’ src/ft2font.cpp:856: error: invalid types ‘int[size_t]’ for array subscript src/ft2font.cpp:856: error: ‘FT_Done_Glyph’ was not declared in this scope src/ft2font.cpp: In member function ‘Py::Object FT2Font::attach_file(const Py::Tuple&)’: src/ft2font.cpp:1939: error: ‘FT_Error’ was not declared in this scope src/ft2font.cpp:1939: error: expected
;’ before ‘error’
src/ft2font.cpp:1941: error: ‘error’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object FT2Font::clear(const Py::Tuple&)’:
src/ft2font.cpp:893: error: ‘pen’ was not declared in this scope
src/ft2font.cpp:896: error: request for member ‘size’ in ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:898: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:898: error: ‘FT_Done_Glyph’ was not declared in this scope
src/ft2font.cpp:901: error: request for member ‘clear’ in ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp: In member function ‘Py::Object FT2Font::set_size(const Py::Tuple&)’:
src/ft2font.cpp:925: error: ‘face’ was not declared in this scope
src/ft2font.cpp:927: error: ‘FT_Set_Char_Size’ was not declared in this scope
src/ft2font.cpp:928: error: ‘FT_Matrix’ does not name a type
src/ft2font.cpp:929: error: ‘transform’ was not declared in this scope
src/ft2font.cpp:929: error: ‘FT_Set_Transform’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object FT2Font::set_charmap(const Py::Tuple&)’:
src/ft2font.cpp:956: error: ‘face’ was not declared in this scope
src/ft2font.cpp:960: error: ‘FT_CharMap’ was not declared in this scope
src/ft2font.cpp:960: error: expected ;' before ‘charmap’ src/ft2font.cpp:961: error: ‘face’ was not declared in this scope src/ft2font.cpp:961: error: ‘charmap’ was not declared in this scope src/ft2font.cpp:961: error: ‘FT_Set_Charmap’ was not declared in this scope src/ft2font.cpp: In function ‘void initft2font()’: src/ft2font.cpp:2133: error: ‘FT_FACE_FLAG_SCALABLE’ was not declared in this scope src/ft2font.cpp:2134: error: ‘FT_FACE_FLAG_FIXED_SIZES’ was not declared in this scope src/ft2font.cpp:2135: error: ‘FT_FACE_FLAG_FIXED_WIDTH’ was not declared in this scope src/ft2font.cpp:2136: error: ‘FT_FACE_FLAG_SFNT’ was not declared in this scope src/ft2font.cpp:2137: error: ‘FT_FACE_FLAG_HORIZONTAL’ was not declared in this scope src/ft2font.cpp: In member function ‘Py::Object FT2Font::select_charmap(const Py::Tuple&)’: src/ft2font.cpp:982: error: ‘face’ was not declared in this scope src/ft2font.cpp:2139: error: ‘FT_FACE_FLAG_KERNING’ was not declared in this scope src/ft2font.cpp:982: error: ‘FT_Encoding’ was not declared in this scope src/ft2font.cpp:982: error: ‘FT_Select_Charmap’ was not declared in this scope src/ft2font.cpp:2140: error: ‘FT_FACE_FLAG_FAST_GLYPHS’ was not declared in this scope src/ft2fosrc/ft2font.cpp: At global scope: src/ft2font.cpp:989: error: ‘FT_BBox’ does not name a type nt.cpp:2141: error: ‘FT_FACE_FLAG_MULTIPLE_MASTERS’ was not declared in this scope src/ft2font.cpp: In member function ‘Py::Object FT2Font::get_kerning(const Py::Tuple&)’: src/ft2font.cpp:1048: error: ‘face’ was not declared in this scope src/ft2font.cpp:1048: error: ‘FT_HAS_KERNING’ was not declared in this scope src/ft2font.cpp:2142: error: ‘FT_FACE_FLAG_GLYPH_NAMES’ was not declared in this scope src/ft2font.cpp:1052: error: ‘FT_Vector’ was not declared in this scope src/ft2font.cpp:1052: error: expected
;’ before ‘delta’
src/ft2font.cpp:1054: error: ‘face’ was not declared in this scope
src/ft2font.cpp:2143: error: ‘FT_FACE_FLAG_EXTERNAL_STREAM’ was not declared in this scope
src/ft2font.cpp:1054: error: ‘delta’ was not declared in this scope
src/ft2font.cpp:1054: error: ‘FT_Get_Kerning’ was not declared in this scope
src/ft2font.cpp:2144: error: ‘FT_STYLE_FLAG_ITALIC’ was not declared in this scope
src/ft2font.cpp:2145: error: ‘FT_STYLE_FLAG_BOLD’ was not declared in this scope
src/ft2font.cpp:2146: error: ‘FT_KERNING_DEFAULT’ was not declared in this scope
src/ft2font.cpp:2147: error: ‘FT_KERNING_UNFITTED’ was not declared in this scope
src/ft2font.cpp:2148: error: ‘FT_KERNING_UNSCALED’ was not declared in this scope
src/ft2font.cpp:2150: error: ‘FT_LOAD_DEFAULT’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object FT2Font::set_text(const Py::Tuple&, const Py::Dict&)’:
src/ft2font.cpp:1100: error: ‘FT_LOAD_FORCE_AUTOHINT’ was not declared in this scope
src/ft2font.cpp:1107: error: ‘matrix’ was not declared in this scope
src/ft2font.cpp:1107: error: ‘FT_Fixed’ was not declared in this scope
src/ft2font.cpp:1112: error: ‘FT_Bool’ was not declared in this scope
src/ft2font.cpp:1112: error: expected ;' before ‘use_kerning’ src/ft2font.cpp:1113: error: ‘FT_UInt’ was not declared in this scope src/ft2font.cpp:1113: error: expected
;’ before ‘previous’
src/ft2font.cpp:1115: error: request for member ‘resize’ in ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1116: error: ‘pen’ was not declared in this scope
src/ft2font.cpp:1123: error: expected ;' before ‘glyph_index’ src/ft2font.cpp:1130: error: ‘glyph_index’ was not declared in this scope src/ft2font.cpp:1130: error: ‘face’ was not declared in this scope src/ft2font.cpp:1130: error: ‘FT_Get_Char_Index’ was not declared in this scope src/ft2font.cpp:1135: error: ‘glyph_index’ was not declared in this scope src/ft2font.cpp:1135: error: ‘face’ was not declared in this scope src/ft2font.cpp:1135: error: ‘FT_Get_Char_Index’ was not declared in this scope src/ft2font.cpp:1139: error: ‘use_kerning’ was not declared in this scope src/ft2font.cpp:1139: error: ‘previous’ was not declared in this scope src/ft2font.cpp:1139: error: ‘glyph_index’ was not declared in this scope src/ft2font.cpp:1141: error: ‘FT_Vector’ was not declared in this scope src/ft2font.cpp:1141: error: expected
;’ before ‘delta’
src/ft2font.cpp:1142: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1143: error: ‘FT_KERNING_DEFAULT’ was not declared in this scope
src/ft2font.cpp:1143: error: ‘delta’ was not declared in this scope
src/ft2font.cpp:1143: error: ‘FT_Get_Kerning’ was not declared in this scope
src/ft2font.cpp:1146: error: ‘error’ was not declared in this scope
src/ft2font.cpp:1146: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1146: error: ‘glyph_index’ was not declared in this scope
src/ft2font.cpp:1146: error: ‘FT_Load_Glyph’ was not declared in this scope
src/ft2font.cpp:2151: error: ‘FT_LOAD_NO_SCALE’ was not declared in this scope
src/ft2font.cpp:1156: error: ‘FT_Glyph’ was not declared in this scope
src/ft2font.cpp:1156: error: expected ;' before ‘thisGlyph’ src/ft2font.cpp:1157: error: ‘thisGlyph’ was not declared in this scope src/ft2font.cpp:1157: error: ‘FT_Get_Glyph’ was not declared in this scope src/ft2font.cpp:2152: error: ‘FT_LOAD_NO_HINTING’ was not declared in this scope src/ft2font.cpp:2153: error: ‘FT_LOAD_RENDER’ was not declared in this scope src/ft2font.cpp:2154: error: ‘FT_LOAD_NO_BITMAP’ was not declared in this scope src/ft2font.cpp:1166: error: ‘FT_Glyph_Transform’ was not declared in this scope src/ft2font.cpp:1173: error: ‘previous’ was not declared in this scope src/ft2font.cpp:1174: error: request for member ‘push_back’ in ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’ src/ft2font.cpp:1178: error: request for member ‘size’ in ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’ src/ft2font.cpp:1180: error: invalid types ‘int[unsigned int]’ for array subscript src/ft2font.cpp:1180: error: ‘FT_Glyph_Transform’ was not declared in this scope src/ft2font.cpp: In member function ‘Py::Object FT2Font::get_num_glyphs(const Py::Tuple&)’: src/ft2font.cpp:1198: error: request for member ‘size’ in ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’ src/ft2font.cpp:2155: error: ‘FT_LOAD_VERTICAL_LAYOUT’ was not declared in this scope src/ft2font.cpp:2156: error: ‘FT_LOAD_FORCE_AUTOHINT’ was not declared in this scopesrc/ft2font.cpp: In member function ‘Py::Object FT2Font::load_char(const Py::Tuple&, const Py::Dict&)’: src/ft2font.cpp:1224: error: ‘FT_LOAD_FORCE_AUTOHINT’ was not declared in this scope src/ft2font.cpp:1230: error: ‘face’ was not declared in this scope src/ft2font.cpp:1230: error: ‘FT_Load_Char’ was not declared in this scope src/ft2font.cpp:1237: error: ‘FT_Glyph’ was not declared in this scope src/ft2font.cpp:1237: error: expected
;’ before ‘thisGlyph’
src/ft2font.cpp:1238: error: ‘thisGlyph’ was not declared in this scope
src/ft2font.cpp:1238: error: ‘FT_Get_Glyph’ was not declared in this scope
src/ft2font.cpp:1245: error: request for member ‘size’ in ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1246: error: request for member ‘push_back’ in ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1247: error: no matching function for call to ‘Glyph::Glyph(, , size_t&)’
src/ft2font.cpp:423: note: candidates are: Glyph::Glyph(int)
src/ft2font.h:87: note: Glyph::Glyph(const Glyph&)
src/ft2font.cpp:2157: error: ‘FT_LOAD_CROP_BITMAP’ was not declared in this scope
src/ft2font.cpp:2158: error: ‘FT_LOAD_PEDANTIC’ was not declared in this scope
src/ft2font.cpp:2160: error: ‘FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object FT2Font::load_glyph(const Py::Tuple&, const Py::Dict&)’:
src/ft2font.cpp:1275: error: ‘FT_LOAD_FORCE_AUTOHINT’ was not declared in this scope
src/ft2font.cpp:2161: error: ‘FT_LOAD_NO_RECURSE’ was not declared in this scope
src/ft2font.cpp:2162: error: ‘FT_LOAD_IGNORE_TRANSFORM’ was not declared in this scope
src/ft2font.cpp:1281: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1281: error: ‘FT_Load_Glyph’ was not declared in this scope
src/ft2font.cpp:2163: error: ‘FT_LOAD_MONOCHROME’ was not declared in this scope
src/ft2font.cpp:1288: error: ‘FT_Glyph’ was not declared in this scope
src/ft2font.cpp:1288: error: expected ;' before ‘thisGlyph’ src/ft2font.cpp:1289: error: ‘thisGlyph’ was not declared in this scope src/ft2font.cpp:1289: error: ‘FT_Get_Glyph’ was not declared in this scope src/ft2font.cpp:1296: error: request for member ‘size’ in ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’ src/ft2font.cpp:1297: error: request for member ‘push_back’ in ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’ src/ft2font.cpp:1298: error: no matching function for call to ‘Glyph::Glyph(<type error>, <type error>, size_t&)’ src/ft2font.cpp:423: note: candidates are: Glyph::Glyph(int) src/ft2font.h:87: note: Glyph::Glyph(const Glyph&) src/ft2font.cpp: In member function ‘Py::Object FT2Font::get_width_height(const Py::Tuple&)’: src/ft2font.cpp:1316: error: ‘FT_BBox’ was not declared in this scope src/ft2font.cpp:1316: error: expected
;’ before ‘bbox’
src/ft2font.cpp:1319: error: ‘bbox’ was not declared in this scope
src/ft2font.cpp:2164: error: ‘FT_LOAD_LINEAR_DESIGN’ was not declared in this scopesrc/ft2font.cpp: In member function ‘Py::Object FT2Font::get_descent(const Py::Tuple&)’:
src/ft2font.cpp:1337: error: ‘FT_BBox’ was not declared in this scope
src/ft2font.cpp:1337: error: expected ;' before ‘bbox’ src/ft2font.cpp:1338: error: ‘bbox’ was not declared in this scope src/ft2font.cpp:2167: error: ‘FT_LOAD_NO_AUTOHINT’ was not declared in this scope src/ft2font.cpp:2168: error: ‘FT_LOAD_TARGET_NORMAL’ was not declared in this scope src/ft2font.cpp: In member function ‘Py::Object FT2Font::draw_glyphs_to_bitmap(const Py::Tuple&)’: src/ft2font.cpp:1354: error: ‘FT_BBox’ was not declared in this scope src/ft2font.cpp:1354: error: expected
;’ before ‘string_bbox’
src/ft2font.cpp:1355: error: ‘string_bbox’ was not declared in this scope
src/ft2font.cpp:2169: error: ‘FT_LOAD_TARGET_LIGHT’ was not declared in this scope
src/ft2font.cpp:2170: error: ‘FT_LOAD_TARsrc/ft2font.cpp:1362: error: request for member ‘size’ in ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1364: error: expected ;' before ‘bbox’ src/ft2font.cpp:1365: error: invalid types ‘int[size_t]’ for array subscript src/ft2font.cpp:1365: error: ‘ft_glyph_bbox_pixels’ was not declared in this scope src/ft2font.cpp:1365: error: ‘bbox’ was not declared in this scope src/ft2font.cpp:1365: error: ‘FT_Glyph_Get_CBox’ was not declared in this scope src/ft2font.cpp:1367: error: ‘error’ was not declared in this scope src/ft2font.cpp:1367: error: invalid types ‘int[size_t]’ for array subscript src/ft2font.cpp:1368: error: ‘ft_render_mode_normal’ was not declared in this scope src/ft2font.cpp:1371: error: ‘FT_Glyph_To_Bitmap’ was not declared in this scope src/ft2font.cpp:1377: error: ‘FT_BitmapGlyph’ was not declared in this scope src/ft2font.cpp:1377: error: expected
;’ before ‘bitmap’
src/ft2font.cpp:1381: error: ‘FT_Int’ was not declared in this scope
src/ft2font.cpp:1381: error: expected ;' before ‘x’ src/ft2font.cpp:1382: error: expected
;’ before ‘y’
src/ft2font.cpp:1384: error: ‘bitmap’ was not declared in this scope
src/ft2font.cpp:1384: error: ‘x’ was not declared in this scope
src/ft2font.cpp:1384: error: ‘y’ was not declared in this scope
GET_MONO’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object FT2Font::get_xys(const Py::Tuple&)’:
src/ft2font.cpp:1403: error: ‘FT_BBox’ was not declared in this scope
src/ft2font.cpp:1403: error: expected ;' before ‘string_bbox’ src/ft2font.cpp:1404: error: request for member ‘size’ in ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’ src/ft2font.cpp:1406: error: request for member ‘size’ in ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’ src/ft2font.cpp:1409: error: expected
;’ before ‘bbox’
src/ft2font.cpp:1410: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:1410: error: ‘ft_glyph_bbox_pixels’ was not declared in this scope
src/ft2font.cpp:1410: error: ‘bbox’ was not declared in this scope
src/ft2font.cpp:1410: error: ‘FT_Glyph_Get_CBox’ was not declared in this scope
src/ft2font.cpp:1412: error: ‘error’ was not declared in this scope
src/ft2font.cpp:2171: error: ‘FT_LOAD_TARGET_LCD’ was not declared in this scope
src/ft2font.cpp:1412: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:2172: error: ‘FT_LOAD_TARGET_LCD_V’ was not declared in this scope
src/ft2font.cpp:1413: error: ‘ft_render_mode_normal’ was not declared in this scope
src/ft2font.cpp:1416: error: ‘FT_Glyph_To_Bitmap’ was not declared in this scopesrc/ft2font.cpp:2175: error: ‘_ft2Library’ was not declared in this scope
src/ft2font.cpp:2175: error: ‘FT_Init_FreeType’ was not declared in this scope
src/ft2font.cpp:1422: error: ‘FT_BitmapGlyph’ was not declared in this scope
src/ft2font.cpp:1422: error: expected ;' before ‘bitmap’ src/ft2font.cpp:1426: error: ‘FT_Int’ was not declared in this scope src/ft2font.cpp:1426: error: expected
;’ before ‘x’
src/ft2font.cpp:1427: error: expected ;' before ‘y’ src/ft2font.cpp:1429: error: ‘x’ was not declared in this scope src/ft2font.cpp:1430: error: ‘y’ was not declared in this scope src/ft2font.cpp: In destructor ‘virtual ft2font_module::~ft2font_module()’: src/ft2font.cpp:2186: error: ‘_ft2Library’ was not declared in this scope src/ft2font.cpp: In member function ‘Py::Object FT2Font::draw_glyph_to_bitmap(const Py::Tuple&)’: src/ft2font.cpp:1468: error: ‘FT_Vector’ was not declared in this scope src/ft2font.cpp:1468: error: expected
;’ before ‘sub_offset’
src/ft2font.cpp:1469: error: ‘sub_offset’ was not declared in this scope
src/ft2font.cpp:1478: error: request for member ‘size’ in ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1483: error: ‘error’ was not declared in this scope
src/ft2font.cpp:1483: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:1484: error: ‘ft_render_mode_normal’ was not declared in this scope
src/ft2font.cpp:1487: error: ‘FT_Glyph_To_Bitmap’ was not declared in this scope
src/ft2font.cpp:1493: error: ‘FT_BitmapGlyph’ was not declared in this scope
src/ft2font.cpp:1493: error: expected ;' before ‘bitmap’ src/ft2font.cpp:1495: error: ‘bitmap’ was not declared in this scope src/ft2font.cpp:2186: error: ‘FT_Done_FreeType’ was not declared in this scope src/ft2font.cpp: In member function ‘Py::Object FT2Font::get_glyph_name(const Py::Tuple&)’: src/ft2font.cpp:1510: error: ‘face’ was not declared in this scope src/ft2font.cpp:1510: error: ‘FT_HAS_GLYPH_NAMES’ was not declared in this scope src/ft2font.cpp:1516: error: ‘face’ was not declared in this scope src/ft2font.cpp:1516: error: ‘FT_UInt’ was not declared in this scope src/ft2font.cpp:1516: error: ‘FT_Get_Glyph_Name’ was not declared in this scope src/ft2font.cpp: In member function ‘Py::Object FT2Font::get_charmap(const Py::Tuple&)’: src/ft2font.cpp:1535: error: ‘FT_UInt’ was not declared in this scope src/ft2font.cpp:1535: error: expected
;’ before ‘index’
src/ft2font.cpp:1539: error: ‘FT_ULong’ was not declared in this scope
src/ft2font.cpp:1539: error: expected ;' before ‘code’ src/ft2font.cpp:1542: error: ‘code’ was not declared in this scope src/ft2font.cpp:1543: error: ‘face’ was not declared in this scope src/ft2font.cpp:1543: error: ‘FT_Get_Next_Char’ was not declared in this scope src/ft2font.cpp: In member function ‘Py::Object FT2Font::get_sfnt(const Py::Tuple&)’: src/ft2font.cpp:1612: error: ‘face’ was not declared in this scope src/ft2font.cpp:1612: error: ‘FT_FACE_FLAG_SFNT’ was not declared in this scope src/ft2font.cpp:1617: error: ‘face’ was not declared in this scope src/ft2font.cpp:1617: error: ‘FT_Get_Sfnt_Name_Count’ was not declared in this scope src/ft2font.cpp:1622: error: ‘FT_SfntName’ was not declared in this scope src/ft2font.cpp:1622: error: expected
;’ before ‘sfnt’
src/ft2font.cpp:1623: error: ‘FT_Error’ was not declared in this scope
src/ft2font.cpp:1623: error: expected ;' before ‘error’ src/ft2font.cpp:1625: error: ‘error’ was not declared in this scope src/ft2font.cpp:1631: error: ‘sfnt’ was not declared in this scope src/ft2font.cpp: In member function ‘Py::Object FT2Font::get_name_index(const Py::Tuple&)’: src/ft2font.cpp:1655: error: ‘face’ was not declared in this scope src/ft2font.cpp:1655: error: ‘FT_String’ was not declared in this scope src/ft2font.cpp:1655: error: ‘FT_Get_Name_Index’ was not declared in this scope src/ft2font.cpp:1654: error: expected primary-expression before ‘(’ token src/ft2font.cpp:1654: error: expected primary-expression before ‘long’ src/ft2font.cpp:1654: error: expected
)’ before ‘long’
src/ft2font.cpp: In member function ‘Py::Object FT2Font::get_ps_font_info(const Py::Tuple&)’:
src/ft2font.cpp:1668: error: ‘PS_FontInfoRec’ was not declared in this scope
src/ft2font.cpp:1668: error: expected ;' before ‘fontinfo’ src/ft2font.cpp:1670: error: ‘FT_Error’ was not declared in this scope src/ft2font.cpp:1670: error: expected
;’ before ‘error’
src/ft2font.cpp:1671: error: ‘error’ was not declared in this scope
src/ft2font.cpp:1678: error: ‘fontinfo’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object FT2Font::get_sfnt_table(const Py::Tuple&)’:
src/ft2font.cpp:1716: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1716: error: ‘FT_Sfnt_Tag’ was not declared in this scope
src/ft2font.cpp:1716: error: ‘FT_Get_Sfnt_Table’ was not declared in this scope
src/ft2font.cpp:1728: error: ‘TT_Header’ was not declared in this scope
src/ft2font.cpp:1728: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1728: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1728: error: expected ;' before ‘table’ src/ft2font.cpp:1756: error: ‘TT_MaxProfile’ was not declared in this scope src/ft2font.cpp:1756: error: ‘t’ was not declared in this scope src/ft2font.cpp:1756: error: expected primary-expression before ‘)’ token src/ft2font.cpp:1756: error: expected
;’ before ‘table’
src/ft2font.cpp:1787: error: ‘TT_OS2’ was not declared in this scope
src/ft2font.cpp:1787: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1787: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1787: error: expected ;' before ‘table’ src/ft2font.cpp:1820: error: ‘TT_HoriHeader’ was not declared in this scope src/ft2font.cpp:1820: error: ‘t’ was not declared in this scope src/ft2font.cpp:1820: error: expected primary-expression before ‘)’ token src/ft2font.cpp:1820: error: expected
;’ before ‘table’
src/ft2font.cpp:1843: error: ‘TT_VertHeader’ was not declared in this scope
src/ft2font.cpp:1843: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1843: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1843: error: expected ;' before ‘table’ src/ft2font.cpp:1864: error: ‘TT_Postscript’ was not declared in this scope src/ft2font.cpp:1864: error: ‘t’ was not declared in this scope src/ft2font.cpp:1864: error: expected primary-expression before ‘)’ token src/ft2font.cpp:1864: error: expected
;’ before ‘table’
src/ft2font.cpp:1884: error: ‘TT_PCLT’ was not declared in this scope
src/ft2font.cpp:1884: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1884: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1884: error: expected ;' before ‘table’ src/ft2font.cpp: In member function ‘Py::Object FT2Font::attach_file(const Py::Tuple&)’: src/ft2font.cpp:1939: error: ‘FT_Error’ was not declared in this scope src/ft2font.cpp:1939: error: expected
;’ before ‘error’
src/ft2font.cpp:1941: error: ‘error’ was not declared in this scope
src/ft2font.cpp: In function ‘void initft2font()’:
src/ft2font.cpp:2133: error: ‘FT_FACE_FLAG_SCALABLE’ was not declared in this scope
src/ft2font.cpp:2134: error: ‘FT_FACE_FLAG_FIXED_SIZES’ was not declared in this scope
src/ft2font.cpp:2135: error: ‘FT_FACE_FLAG_FIXED_WIDTH’ was not declared in this scope
src/ft2font.cpp:2136: error: ‘FT_FACE_FLAG_SFNT’ was not declared in this scope
src/ft2font.cpp:2137: error: ‘FT_FACE_FLAG_HORIZONTAL’ was not declared in this scope
src/ft2font.cpp:2139: error: ‘FT_FACE_FLAG_KERNING’ was not declared in this scope
src/ft2font.cpp:2140: error: ‘FT_FACE_FLAG_FAST_GLYPHS’ was not declared in this scope
src/ft2font.cpp:2141: error: ‘FT_FACE_FLAG_MULTIPLE_MASTERS’ was not declared in this scope
src/ft2font.cpp:2142: error: ‘FT_FACE_FLAG_GLYPH_NAMES’ was not declared in this scope
src/ft2font.cpp:2143: error: ‘FT_FACE_FLAG_EXTERNAL_STREAM’ was not declared in this scope
src/ft2font.cpp:2144: error: ‘FT_STYLE_FLAG_ITALIC’ was not declared in this scope
src/ft2font.cpp:2145: error: ‘FT_STYLE_FLAG_BOLD’ was not declared in this scope
src/ft2font.cpp:2146: error: ‘FT_KERNING_DEFAULT’ was not declared in this scope
src/ft2font.cpp:2147: error: ‘FT_KERNING_UNFITTED’ was not declared in this scope
src/ft2font.cpp:2148: error: ‘FT_KERNING_UNSCALED’ was not declared in this scope
src/ft2font.cpp:2150: error: ‘FT_LOAD_DEFAULT’ was not declared in this scope
src/ft2font.cpp:2151: error: ‘FT_LOAD_NO_SCALE’ was not declared in this scope
src/ft2font.cpp:2152: error: ‘FT_LOAD_NO_HINTING’ was not declared in this scope
src/ft2font.cpp:2153: error: ‘FT_LOAD_RENDER’ was not declared in this scope
src/ft2font.cpp:2154: error: ‘FT_LOAD_NO_BITMAP’ was not declared in this scope
src/ft2font.cpp:2155: error: ‘FT_LOAD_VERTICAL_LAYOUT’ was not declared in this scope
src/ft2font.cpp:2156: error: ‘FT_LOAD_FORCE_AUTOHINT’ was not declared in this scope
src/ft2font.cpp:2157: error: ‘FT_LOAD_CROP_BITMAP’ was not declared in this scope
src/ft2font.cpp:2158: error: ‘FT_LOAD_PEDANTIC’ was not declared in this scope
src/ft2font.cpp:2160: error: ‘FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH’ was not declared in this scope
src/ft2font.cpp:2161: error: ‘FT_LOAD_NO_RECURSE’ was not declared in this scope
src/ft2font.cpp:2162: error: ‘FT_LOAD_IGNORE_TRANSFORM’ was not declared in this scope
src/ft2font.cpp:2163: error: ‘FT_LOAD_MONOCHROME’ was not declared in this scope
src/ft2font.cpp:2164: error: ‘FT_LOAD_LINEAR_DESIGN’ was not declared in this scope
src/ft2font.cpp:2167: error: ‘FT_LOAD_NO_AUTOHINT’ was not declared in this scope
src/ft2font.cpp:2168: error: ‘FT_LOAD_TARGET_NORMAL’ was not declared in this scope
src/ft2font.cpp:2169: error: ‘FT_LOAD_TARGET_LIGHT’ was not declared in this scope
src/ft2font.cpp:2170: error: ‘FT_LOAD_TARGET_MONO’ was not declared in this scope
src/ft2font.cpp:2171: error: ‘FT_LOAD_TARGET_LCD’ was not declared in this scope
src/ft2font.cpp:2172: error: ‘FT_LOAD_TARGET_LCD_V’ was not declared in this scope
src/ft2font.cpp:2175: error: ‘_ft2Library’ was not declared in this scope
src/ft2font.cpp:2175: error: ‘FT_Init_FreeType’ was not declared in this scope
src/ft2font.cpp: In destructor ‘virtual ft2font_module::~ft2font_module()’:
src/ft2font.cpp:2186: error: ‘_ft2Library’ was not declared in this scope
src/ft2font.cpp:2186: error: ‘FT_Done_FreeType’ was not declared in this scope
lipo: can’t figure out the architecture type of: /var/folders/92/92hak0-vH1Ck6HikbNZ+xk+++TI/-Tmp-//cckzyxlk.out
error: command ‘gcc-4.0’ failed with exit status 1
dnab434de2:matplotlib-1.0.0 skairam$