Compiling matplotlib (freetype issues)

Hi Everyone,

after I encountered some problems embedding matplotlib in a Tkinter
application I decided to update my matplotlib installation.
I downloaded and installed Python 2.6.2 and the latest svn checkouts
of numpy and scipy.
Then I tried to install (the latest svn checkout of) matplotlib using
python setup.py install.
I get the following errors related to freetype2.
I first tried reinstalling freetype2 (latest version from source which
is now installed in /usr/local) but this did not solve the problem.
Does anyone know what might be wrong here?

gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3
-DPY_ARRAYAUNIQUE_SYMBOL=MPL_ARRAY_API
-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 src/ft2font.cpp:1In file included from src/ft2font.cpp:1:
src/ft2font.h:13:22: error: ft2build.h: No such file or directory
src/ft2font.h:14:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:15:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:16:10: error: #include expects "FILENAME" or <FILENAME>
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:13:22: error: ft2build.h: No such file or directory
src/ft2font.h:14:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:15:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:16:10: error: #include expects "FILENAME" or <FILENAME>
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:31: error: ‘FT_Bitmap’ has not been declared
src/ft2font.h:31: error: ‘FT_Int’ has not been declared
src/ft2font.h:31: error: ‘FT_Int’ has not been declared
src/ft2font.h:77: error: expected ‘,’ or ‘...’ before ‘&’ token
src/ft2font.h:77: error: ISO C++ forbids declaration of ‘FT_Face’ with no type
src/ft2font.h:83: error: expected ‘,’ or ‘...’ before ‘&’ token
src/ft2font.h:83: error: ISO C++ forbids declaration of ‘FT_Face’ with no type
src/ft2font.h:122: error: ‘FT_Face’ does not name a type
src/ft2font.h:123: error: ‘FT_Matrix’ does not name a type
src/ft2font.h:124: error: ‘FT_Vector’ does not name a type
src/ft2font.h:125: error: ‘FT_Error’ does not name a type
src/ft2font.h:126: error: ‘FT_Glyph’ was not declared in this scope
src/ft2font.h:126: error: template argument 1 is invalid
src/ft2font.h:126: error: template argument 2 is invalid
src/ft2font.h:127: error: ‘FT_Vector’ was not declared in this scope
src/ft2font.h:127: error: template argument 1 is invalid
src/ft2font.h:127: error: template argument 2 is invalid
src/ft2font.h:133: error: ‘FT_BBox’ does not name a type
src/ft2font.cpp:45: error: ‘FT_Library’ does not name a type
src/ft2font.cpp:96: error: variable or field ‘draw_bitmap’ declared void
src/ft2font.cpp:96: error: ‘int FT2Image::draw_bitmap’ is not a static
member of ‘class FT2Image’
src/ft2font.cpp:96: error: ‘FT_Bitmap’ was not declared in this scope
src/ft2font.cpp:96: error: ‘bitmap’ was not declared in this scope
src/ft2font.cpp:97: error: ‘FT_Int’ was not declared in this scope
src/ft2font.cpp:98: error: ‘FT_Int’ was not declared in this scope
src/ft2font.cpp:98: error: initializer expression list treated as
compound expression
src/ft2font.cpp:98: error: expected ‘,’ or ‘;’ before ‘{’ token
src/ft2font.h:31: error: ‘FT_Bitmap’ has not been declared
src/ft2font.h:31: error: ‘FT_Int’ has not been declared
src/ft2font.h:31: error: ‘FT_Int’ has not been declared
src/ft2font.h:77: error: expected ‘,’ or ‘...’ before ‘&’ token
src/ft2font.h:77: error: ISO C++ forbids declaration of ‘FT_Face’ with no type
src/ft2font.h:83: error: expected ‘,’ or ‘...’ before ‘&’ token
src/ft2font.h:83: error: ISO C++ forbids declaration of ‘FT_Face’ with no type
src/ft2font.h:122: error: ‘FT_Face’ does not name a type
src/ft2font.h:123: error: ‘FT_Matrix’ does not name a type
src/ft2font.h:124: error: ‘FT_Vector’ does not name a type
src/ft2font.h:125: error: ‘FT_Error’ does not name a type
src/ft2font.h:126: error: ‘FT_Glyph’ was not declared in this scope
src/ft2font.h:126: error: template argument 1 is invalid
src/ft2font.h:126: error: template argument 2 is invalid
src/ft2font.h:127: error: ‘FT_Vector’ was not declared in this scope
src/ft2font.h:127: error: template argument 1 is invalid
src/ft2font.h:127: error: template argument 2 is invalid
src/ft2font.h:133: error: ‘FT_BBox’ does not name a type
src/ft2font.cpp:382: error: expected ‘,’ or ‘...’ before ‘&’ token
src/ft2font.cpp:382: error: ISO C++ forbids declaration of ‘FT_Face’
with no type
src/ft2font.cpp: In constructor ‘Glyph::Glyph(int)’:
src/ft2font.cpp:383: error: ‘ind’ was not declared in this scope
src/ft2font.cpp:386: error: ‘FT_BBox’ was not declared in this scope
src/ft2font.cpp:386: error: expected `;' before ‘bbox’
src/ft2font.cpp:387: error: ‘glyph’ was not declared in this scope
src/ft2font.cpp:387: error: ‘ft_glyph_bbox_subpixels’ was not declared
in this scope
src/ft2font.cpp:387: error: ‘bbox’ was not declared in this scope
src/ft2font.cpp:387: error: ‘FT_Glyph_Get_CBox’ was not declared in this scope
src/ft2font.cpp:389: error: ‘face’ was not declared in this scope
src/ft2font.cpp:409: error: no matching function for call to
‘Glyph::get_path(<type error>)’
src/ft2font.h:83: note: candidates are: Py::Object Glyph::get_path(int)
src/ft2font.cpp: At global scope:
src/ft2font.cpp:438: error: expected ‘,’ or ‘...’ before ‘&’ token
src/ft2font.cpp:438: 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:443: error: ‘FT_Outline’ was not declared in this scope
src/ft2font.cpp:443: error: ‘outline’ was not declared in this scope
src/ft2font.cpp:443: error: ‘face’ was not declared in this scope
src/ft2font.cpp:448: error: ‘FT_Vector’ was not declared in this scope
src/ft2font.cpp:448: error: expected `;' before ‘v_last’
src/ft2font.cpp:449: error: expected `;' before ‘v_control’
src/ft2font.cpp:450: error: expected `;' before ‘v_start’
src/ft2font.cpp:452: error: ‘point’ was not declared in this scope
src/ft2font.cpp:453: error: ‘limit’ was not declared in this scope
src/ft2font.cpp:469: error: ‘v_start’ was not declared in this scope
src/ft2font.cpp:470: error: ‘v_last’ was not declared in this scope
src/ft2font.cpp:472: error: ‘v_control’ was not declared in this scope
src/ft2font.cpp:476: error: ‘FT_CURVE_TAG’ was not declared in this scope
src/ft2font.cpp:479: error: ‘FT_CURVE_TAG_CUBIC’ was not declared in this scope
src/ft2font.cpp:482: error: ‘FT_CURVE_TAG_CONIC’ was not declared in this scope
src/ft2font.cpp:485: error: ‘FT_CURVE_TAG_ON’ was not declared in this scope
src/ft2font.cpp:45: error: ‘FT_Library’ does not name a type
src/ft2font.cpp:525: error: ‘FT_CURVE_TAG_ON’ was not declared in this scope
src/ft2font.cpp:96: error: variable or field ‘draw_bitmap’ declared void
src/ft2font.cpp:96: error: ‘int FT2Image::draw_bitmap’ is not a static
member of ‘class FT2Image’
src/ft2font.cpp:96: error: ‘FT_Bitmap’ was not declared in this scope
src/ft2font.cpp:96: error: ‘bitmap’ was not declared in this scope
src/ft2font.cpp:97: error: ‘FT_Int’ was not declared in this scope
src/ft2font.cpp:98: error: ‘FT_Int’ was not declared in this scope
src/ft2font.cpp:98: error: initializer expression list treated as
compound expression
src/ft2font.cpp:98: error: expected ‘,’ or ‘;’ before ‘{’ token
src/ft2font.cpp:538: error: ‘FT_CURVE_TAG_CONIC’ was not declared in this scope
src/ft2font.cpp:546: error: expected `;' before ‘vec’
src/ft2font.cpp:547: error: expected `;' before ‘v_middle’
src/ft2font.cpp:553: error: ‘vec’ was not declared in this scope
src/ft2font.cpp:574: error: ‘v_middle’ was not declared in this scope
src/ft2font.cpp:608: error: expected `;' before ‘vec1’
src/ft2font.cpp:610: error: ‘FT_CURVE_TAG_CUBIC’ was not declared in this scope
src/ft2font.cpp:615: error: ‘vec1’ was not declared in this scope
src/ft2font.cpp:617: error: ‘vec2’ was not declared in this scope
src/ft2font.cpp:625: error: expected `;' before ‘vec’
src/ft2font.cpp:627: error: ‘vec’ was not declared in this scope
src/ft2font.cpp: In constructor ‘FT2Font::FT2Font(std::string)’:
src/ft2font.cpp:687: error: ‘_ft2Library’ was not declared in this scope
src/ft2font.cpp:687: error: ‘face’ was not declared in this scope
src/ft2font.cpp:687: error: ‘FT_New_Face’ was not declared in this scope
src/ft2font.cpp:690: error: ‘FT_Err_Unknown_File_Format’ was not
declared in this scope
src/ft2font.cpp:382: error: expected ‘,’ or ‘...’ before ‘&’ token
src/ft2font.cpp:382: error: ISO C++ forbids declaration of ‘FT_Face’
with no type
src/ft2font.cpp: In constructor ‘Glyph::Glyph(int)’:
src/ft2font.cpp:383: error: ‘ind’ was not declared in this scope
src/ft2font.cpp:386: error: ‘FT_BBox’ was not declared in this scope
src/ft2font.cpp:386: error: expected `;' before ‘bbox’
src/ft2font.cpp:387: error: ‘glyph’ was not declared in this scope
src/ft2font.cpp:387: error: ‘ft_glyph_bbox_subpixels’ was not declared
in this scope
src/ft2font.cpp:387: error: ‘bbox’ was not declared in this scope
src/ft2font.cpp:387: error: ‘FT_Glyph_Get_CBox’ was not declared in this scope
src/ft2font.cpp:389: error: ‘facsrc/ft2font.cpp:695: error:
‘FT_Err_Cannot_Open_Resource’ was not declared in this scope
src/ft2font.cpp:700: error: ‘FT_Err_Invalid_File_Format’ was not
declared in this scope
e’ was not declared in this scope
src/ft2font.cpp:409: error: no matching function for call to
‘Glyph::get_path(<type error>)’
src/ft2font.h:83: note: candidates are: Py::Object Glyph::get_path(int)
src/ft2font.cpp:713: error: ‘FT_Set_Char_Size’ was not declared in this scope
src/ft2font.cpp:714: error: ‘FT_Matrix’ does not name a type
src/ft2font.cpp:715: error: ‘transform’ was not declared in this scope
src/ft2font.cpp:715: error: ‘FT_Set_Transform’ was not declared in this scope
src/ft2font.cpp:730: error: ‘FT_Get_Postscript_Name’ was not declared
in this scope
src/ft2font.cpp:753: error: ‘FT_IS_SCALABLE’ was not declared in this scope
src/ft2font.cpp: At global scope:
src/ft2font.cpp:438: error: expected ‘,’ or ‘...’ before ‘&’ token
src/ft2font.cpp:438: 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:443: error: ‘FT_Outline’ was not declared in this scope
src/ft2font.cpp:443: error: ‘outline’ was not declared in this scope
src/ft2font.cpp:443: error: ‘face’ was not declared in this scope
src/ft2font.cpp:448: error: ‘FT_Vector’ was not declared in this scope
src/ft2font.cpp:448: error: expected `;' before ‘v_last’
src/ft2font.cpp:449: error: expected `;' before ‘v_control’
src/ft2font.cpp:450: error: expected `;' before ‘v_start’
src/ft2font.cpp:452: error: ‘point’ was not declared in this scope
src/ft2font.cpp:453: error: ‘limit’ was not declared in this scope
src/ft2font.cpp:469: error: ‘v_start’ was not declared in this scope
src/ft2font.cpp:470: error: ‘v_last’ was not declared in this scope
src/ft2font.cpp:472: error: ‘v_control’ was not declared in this scope
src/ft2font.cpp:476: error: ‘FT_CURVE_TAG’ was not declared in this scope
src/ft2font.cpp:479: error: ‘FT_CURVE_TAG_CUBIC’ was not declared in this scope
src/ft2font.cpp:482: error: ‘FT_CURVE_TAG_CONIC’ was not declared in this scope
src/ft2font.cpp:485: error: ‘FT_CURVE_TAG_ON’ was not declared in this scope
src/ft2font.cpp:525: error: ‘FT_CURVE_TAG_ON’ was not declared in this scope
src/ft2font.cpp: In destructor ‘virtual FT2Font::~FT2Font()’:
src/ft2font.cpp:785: error: ‘face’ was not declared in this scope
src/ft2font.cpp:785: error: ‘FT_Done_Face’ was not declared in this scope
src/ft2font.cpp:787: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:788: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:788: error: ‘FT_Done_Glyph’ was not declared in this scope
src/ft2font.cpp:538: error: ‘FT_CURVE_TAG_CONIC’ was not declared in this scope
src/ft2font.cpp:546: error: expected `;' before ‘vec’
src/ft2font.cpp:547: error: expected `;' before ‘v_middle’
src/ft2font.cpp:553: error: ‘vec’ was not declared in this scope
src/ft2font.cpp:574: error: ‘v_middle’ was not declared in this scope
src/ft2font.cpp:608: error: expected `;' before ‘vec1’
src/ft2font.cpp:610: error: ‘FT_CURVE_TAG_CUBIC’ was not declared in this scope
src/ft2font.cpp:615: error: ‘vec1’ was not declared in this scope
src/ft2font.cpp:617: error: ‘vec2’ was not declared in this scope
src/ft2font.cpp:625: error: expected `;' before ‘vec’
src/ft2font.cpp:627: error: ‘vec’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object FT2Font::clear(const
Py::Tuple&)’:
src/ft2font.cpp:822: error: ‘pen’ was not declared in this scope
src/ft2font.cpp:825: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:826: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:826: error: ‘FT_Done_Glyph’ was not declared in this scope
src/ft2font.cpp:829: 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:852: error: ‘face’ was not declared in this scope
src/ft2font.cpp:854: error: ‘FT_Set_Char_Size’ was not declared in this scope
src/ft2font.cpp:855: error: ‘FT_Matrix’ does not name a type
src/ft2font.cpp:856: error: ‘transform’ was not declared in this scope
src/ft2font.cpp:856: 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:880: error: ‘face’ was not declared in this scope
src/ft2font.cpp:882: error: ‘FT_CharMap’ was not declared in this scope
src/ft2font.cpp:882: error: expected `;' before ‘charmap’
src/ft2font.cpp:883: error: ‘face’ was not declared in this scope
src/ft2font.cpp:883: error: ‘charmap’ was not declared in this scope
src/ft2font.cpp:883: error: ‘FT_Set_Charmap’ was not declared in this scope
src/ft2font.cpp: At global scope:
src/ft2font.cpp:888: error: ‘FT_BBox’ does not name a type
src/ft2font.cpp: In constructor ‘FT2Font::FT2Font(std::string)’:
src/ft2font.cpp:687: error: ‘_ft2Library’ was not declared in this scope
src/ft2font.cpp:687: error: ‘face’ was not declared in this scope
src/ft2font.cpp:687: error: ‘FT_New_Face’ was not declared in this scope
src/ft2font.cpp:690: error: ‘FT_Err_Unknown_File_Format’ was not
declared in this scope
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_kerning(const Py::Tuple&)’:
src/ft2font.cpp:931: error: ‘face’ was not declared in this scope
src/ft2font.cpp:931: error: ‘FT_HAS_KERNING’ was not declared in this scope
src/ft2font.cpp:932: error: ‘FT_Vector’ was not declared in this scope
src/ft2font.cpp:932: error: expected `;' before ‘delta’
src/ft2font.cpp:934: error: ‘face’ was not declared in this scope
src/ft2font.cpp:934: error: ‘delta’ was not declared in this scope
src/ft2font.cpp:934: error: ‘FT_Get_Kerning’ was not declared in this scope
src/ft2font.cpp:695: error: ‘FT_Err_Cannot_Open_Resource’ was not
declared in this scope
src/ft2font.cpp:700: error: ‘FT_Err_Invalid_File_Format’ was not
declared in this scope
src/ft2font.cpp:713: error: ‘FT_Set_Char_Size’ was not declared in this scope
src/ft2font.cpp:714: error: ‘FT_Matrix’ does not name a type
src/ft2font.cpp:715: error: ‘transform’ was not declared in this scope
src/ft2font.cpp:715: error: ‘FT_Set_Transform’ 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:975: error: ‘FT_LOAD_FORCE_AUTOHINT’ was not declared
in this scope
src/ft2font.cpp:730: error: ‘FT_Get_Postscript_Name’ was not declared
in this scope
src/ft2font.cpp:980: error: ‘matrix’ was not declared in this scope
src/ft2font.cpp:980: error: ‘FT_Fixed’ was not declared in this scope
src/ft2font.cpp:985: error: ‘FT_Bool’ was not declared in this
scopesrc/ft2font.cpp:753: error: ‘FT_IS_SCALABLE’ was not declared in
this scope

src/ft2font.cpp:985: error: expected `;' before ‘use_kerning’
src/ft2font.cpp:986: error: ‘FT_UInt’ was not declared in this scope
src/ft2font.cpp:986: error: expected `;' before ‘previous’
src/ft2font.cpp:988: error: request for member ‘resize’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:989: error: ‘pen’ was not declared in this scope
src/ft2font.cpp:995: error: expected `;' before ‘glyph_index’
src/ft2font.cpp:1001: error: ‘glyph_index’ was not declared in this scope
src/ft2font.cpp:1001: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1001: error: ‘FT_Get_Char_Index’ was not declared in this scope
src/ft2font.cpp:1005: error: ‘glyph_index’ was not declared in this scope
src/ft2font.cpp:1005: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1005: error: ‘FT_Get_Char_Index’ was not declared in this scope
src/ft2font.cpp:1009: error: ‘use_kerning’ was not declared in this scope
src/ft2font.cpp:1009: error: ‘previous’ was not declared in this scope
src/ft2font.cpp:1009: error: ‘glyph_index’ was not declared in this scope
src/ft2font.cpp:1010: error: ‘FT_Vector’ was not declared in this scope
src/ft2font.cpp:1010: error: expected `;' before ‘delta’
src/ft2font.cpp:1011: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1012: error: ‘FT_KERNING_DEFAULT’ was not declared in this scope
src/ft2font.cpp:1012: error: ‘delta’ was not declared in this scope
src/ft2font.cpp:1012: error: ‘FT_Get_Kerning’ was not declared in this scope
src/ft2font.cpp:1015: error: ‘error’ was not declared in this scope
src/ft2font.cpp:1015: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1015: error: ‘glyph_index’ was not declared in this scope
src/ft2font.cpp:1015: error: ‘FT_Load_Glyph’ was not declared in this scope
src/ft2font.cpp:1024: error: ‘FT_Glyph’ was not declared in this scope
src/ft2font.cpp:1024: error: expected `;' before ‘thisGlyph’
src/ft2font.cpp:1025: error: ‘thisGlyph’ was not declared in this scope
src/ft2font.cpp:1025: error: ‘FT_Get_Glyph’ was not declared in this scope
src/ft2font.cpp: In destructor ‘virtual FT2Font::~FT2Font()’:
src/ft2font.cpp:785: error: ‘face’ was not declared in this scope
src/ft2font.cpp:785: error: ‘FT_Done_Face’ was not declared in this scope
src/ft2font.cpp:787: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:788: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:788: error: ‘FT_Done_Glyph’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object FT2Font::clear(const
Py::Tuple&)’:
src/ft2font.cpp:822: error: ‘pen’ was not declared in this scope
src/ft2font.cpp:825: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:826: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:826: error: ‘FT_Done_Glyph’ was not declared in this scope
src/ft2font.cpp:829: 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:852: error: ‘face’ was not declared in this scope
src/ft2font.cpp:854: error: ‘FT_Set_Char_Size’ was not declared in this scope
src/ft2font.cpp:855: error: ‘FT_Matrix’ does not name a type
src/ft2font.cpp:856: error: ‘transform’ was not declared in this scope
src/ft2font.cpp:856: 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:880: error: ‘face’ was not declared in this scope
src/ft2font.cpp:882: error: ‘FT_CharMap’ was not declared in this scope
src/ft2font.cpp:882: error: expected `;' before ‘charmap’
src/ft2font.cpp:883: error: ‘face’ was not declared in this scope
src/ft2font.cpp:883: error: ‘charmap’ was not declared in this scope
src/ft2font.cpp:883: error: ‘FT_Set_Charmap’ was not declared in this scope
src/ft2font.cpp: At global scope:
src/ft2font.cpp:888: 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:931: error: ‘face’ was not declared in this scope
src/ft2font.cpp:931: error: ‘FT_HAS_KERNING’ was not declared in this scope
src/ft2font.cpp:932: error: ‘FT_Vector’ was not declared in this scope
src/ft2font.cpp:932: error: expected `;' before ‘delta’
src/ft2font.cpp:934: error: ‘face’ was not declared in this scope
src/ft2font.cpp:934: error: ‘delta’ was not declared in this scope
src/ft2font.cpp:934: error: ‘FT_Get_Kerning’ was not declared in this scope
src/ft2font.cpp:1033: error: ‘FT_Glyph_Transform’ was not declared in this scope
src/ft2font.cpp:1040: error: ‘previous’ was not declared in this scope
src/ft2font.cpp:1041: error: request for member ‘push_back’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1045: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1046: error: invalid types ‘int[unsigned int]’ for
array subscript
src/ft2font.cpp:1046: error: ‘FT_Glyph_Transform’ 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:975: error: ‘FT_LOAD_FORCE_AUTOHINT’ was not declared
in this scope
src/ft2font.cpp:980: error: ‘matrix’ was not declared in this scope
src/ft2font.cpp:980: error: ‘FT_Fixed’ was not declared in this scope
src/ft2font.cpp:985: error: ‘FT_Bool’ was not declared in this scope
src/ft2font.cpp:985: error: expected `;' before ‘use_kerning’
src/ft2font.cpp:986: error: ‘FT_UInt’ was not declared in this scope
src/ft2font.cpp:986: error: expected `;' before ‘previous’
src/ft2font.cpp:988: error: request for member ‘resize’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:989: error: ‘pen’ was not declared in this scope
src/ft2font.cpp:995: error: expected `;' before ‘glyph_index’
src/ft2font.cpp:1001: error: ‘glyph_index’ was not declared in this scope
src/ft2font.cpp:1001: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1001: error: ‘FT_Get_Char_Index’ was not declared in this scope
src/ft2font.cpp:1005: error: ‘glyph_index’ was not declared in this scope
src/ft2font.cpp:1005: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1005: error: ‘FT_Get_Char_Index’ was not declared in this scope
src/ft2font.cpp:1009: error: ‘use_kerning’ was not declared in this scope
src/ft2font.cpp:1009: error: ‘previous’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_num_glyphs(const Py::Tuple&)’:
src/ft2font.cpp:1062: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1009: error: ‘glyph_index’ was not declared in this scope
src/ft2font.cpp:1010: error: ‘FT_Vector’ was not declared in this scope
src/ft2font.cpp:1010: error: expected `;' before ‘delta’
src/ft2font.cpp:1011: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1012: error: ‘FT_KERNING_DEFAULT’ was not declared in this scope
src/ft2font.cpp:1012: error: ‘delta’ was not declared in this scope
src/ft2font.cpp:1012: error: ‘FT_Get_Kerning’ was not declared in this scope
src/ft2font.cpp:1015: error: ‘error’ was not declared in this scope
src/ft2font.cpp:1015: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1015: error: ‘glyph_index’ was not declared in this scope
src/ft2font.cpp:1015: error: ‘FT_Load_Glyph’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::load_char(const Py::Tuple&, const Py::Dict&)’:
src/ft2font.cpp:1087: error: ‘FT_LOAD_FORCE_AUTOHINT’ was not declared
in this scope
src/ft2font.cpp:1024: error: ‘FT_Glyph’ was not declared in this scope
src/ft2font.cpp:1024: error: expected `;' before ‘thisGlyph’
src/ft2font.cpp:1025: error: ‘thisGlyph’ was not declared in this scope
src/ft2font.cpp:1025: error: ‘FT_Get_Glyph’ was not declared in this scope
src/ft2font.cpp:1033: error: ‘FT_Glyph_Transform’ was not declared in this scope
src/ft2font.cpp:1091: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1091: error: ‘FT_Load_Char’ was not declared in this scope
src/ft2font.cpp:1040: error: ‘previous’ was not declared in this scope
src/ft2font.cpp:1041: error: request for member ‘push_back’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type
‘int’src/ft2font.cpp:1096: error: ‘FT_Glyph’ was not declared in this
scope
src/ft2font.cpp:1096: error: expected `;' before ‘thisGlyph’
src/ft2font.cpp:1097: error: ‘thisGlyph’ was not declared in this scope
src/ft2font.cpp:1097: error: ‘FT_Get_Glyph’ was not declared in this scope

src/ft2font.cpp:1045: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1046: error: invalid types ‘int[unsigned int]’ for
array subscript
src/ft2font.cpp:1046: error: ‘FT_Glyph_Transform’ was not declared in this scope
src/ft2font.cpp:1102: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1103: error: request for member ‘push_back’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1104: error: no matching function for call to
‘Glyph::Glyph(<type error>, <type error>, size_t&)’
src/ft2font.cpp:382: note: candidates are: Glyph::Glyph(int)
src/ft2font.h:75: note: Glyph::Glyph(const Glyph&)
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_width_height(const Py::Tuple&)’:
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_num_glyphs(const Py::Tuple&)’:
src/ft2font.cpp:1062: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’

src/ft2font.cpp:1120: error: expected `;' before ‘bbox’
src/ft2font.cpp:1123: error: ‘bbox’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_descent(const Py::Tuple&)’:
src/ft2font.cpp:1140: error: ‘FT_BBox’ was not declared in this scope
src/ft2font.cpp:1140: error: expected `;' before ‘bbox’
src/ft2font.cpp:1141: error: ‘bbox’ 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:1087: error: ‘FT_LOAD_FORCE_AUTOHINT’ 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:1156: error: ‘FT_BBox’ was not declared in this scope
src/ft2font.cpp:1091: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1156: error: expected `;' before ‘string_bbox’
src/ft2font.cpp:1091: error: ‘FT_Load_Char’ was not declared in this scope
src/ft2font.cpp:1157: error: ‘string_bbox’ was not declared in this scope
src/ft2font.cpp:1096: error: ‘FT_Glyph’ was not declared in this scope
src/ft2font.cpp:1096: error: expected `;' before ‘thisGlyph’
src/ft2font.cpp:1097: error: ‘thisGlyph’ was not declared in this scope
src/ft2font.cpp:1097: error: ‘FT_Get_Glyph’ was not declared in this scope
src/ft2font.cpp:1164: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1102: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type
‘int’src/ft2font.cpp:1166: error: expected `;' before ‘bbox’

src/ft2font.cpp:1103: error: request for member ‘push_back’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type
‘int’src/ft2font.cpp:1167: error: invalid types ‘int[size_t]’ for
array subscript

src/ft2font.cpp:1167: error: ‘ft_glyph_bbox_pixels’ was not declared
in this scope
src/ft2font.cpp:1167: error: ‘bbox’ was not declared in this
scopesrc/ft2font.cpp:1104: error: no matching function for call to
‘Glyph::Glyph(<type error>, <type error>, size_t&)’

src/ft2font.cpp:1167: error: ‘FT_Glyph_Get_CBox’ was not declared in
this scopesrc/ft2font.cpp:382: note: candidates are: Glyph::Glyph(int)
src/ft2font.h:75: note: Glyph::Glyph(const Glyph&)
src/ft2font.cpp:1169: error: ‘error’ was not declared in this scope
src/ft2font.cpp:1169: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:1170: error: ‘ft_render_mode_normal’ was not declared
in this scope
src/ft2font.cpp:1173: error: ‘FT_Glyph_To_Bitmap’ was not declared in this scope
src/ft2font.cpp:1177: error: ‘FT_BitmapGlyph’ was not declared in this scope

src/ft2font.cpp:1177: error: expected `;' before ‘bitmap’
src/ft2font.cpp:1181: error: ‘FT_Int’ was not declared in this scope
src/ft2font.cpp:1181: error: expected `;' before ‘x’
src/ft2font.cpp:1182: error: expected `;' before ‘y’
src/ft2font.cpp:1184: error: ‘bitmap’ was not declared in this scope
src/ft2font.cpp:1184: error: ‘x’ was not declared in this scope
src/ft2font.cpp:1184: error: ‘y’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_width_height(const Py::Tuple&)’:
src/ft2font.cpp:1120: error: ‘FT_BBox’ was not declared in this scope
src/ft2font.cpp:1120: error: expected `;' before ‘bbox’
src/ft2font.cpp:1123: error: ‘bbox’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object FT2Font::get_xys(const
Py::Tuple&)’:
src/ft2font.cpp:1202: error: ‘FT_BBox’ was not declared in this scope
src/ft2font.cpp:1202: error: expected `;' before ‘string_bbox’
src/ft2font.cpp:1src/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_descent(const Py::Tuple&)’:
src/ft2font.cpp:1140: error: ‘FT_BBox’ was not declared in this scope
203: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1205: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1208: error: expected `;' before ‘bbox’
src/ft2font.cpp:1209: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:1209: error: ‘ft_glyph_bbox_pixels’ was not declared
in this scope
src/ft2font.cpp:1209: error: ‘bbox’ was not declared in this scope
src/ft2font.cpp:1140: error: expected `;' before ‘bbox’
src/ft2font.cpp:1209: error: ‘FT_Glyph_Get_CBox’ was not declared in this scope
src/ft2font.cpp:1211: error: ‘error’ was not declared in this scope
src/ft2font.cpp:1211: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:1212: error: ‘ft_render_mode_normal’ was not declared
in this scopesrc/ft2font.cpp:1141: error: ‘bbox’ was not declared in
this scope
src/ft2font.cpp:1215: error: ‘FT_Glyph_To_Bitmap’ was not declared in this scope

src/ft2font.cpp:1219: error: ‘FT_BitmapGlyph’ was not declared in this scope
src/ft2font.cpp:1219: error: expected `;' before ‘bitmap’
src/ft2font.cpp:1223: error: ‘FT_Int’ was not declared in this scope
src/ft2font.cpp:1223: error: expected `;' before ‘x’
src/ft2font.cpp:1224: error: expected `;' before ‘y’
src/ft2font.cpp:1226: error: ‘x’ was not declared in this scope
src/ft2font.cpp:1227: error: ‘y’ 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:1156: error: ‘FT_BBox’ was not declared in this scope
src/ft2font.cpp:1156: error: expected `;' before ‘string_bbox’
src/ft2font.cpp:1157: error: ‘string_bbox’ was not declared in this scope
src/ft2font.cpp:1164: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1166: error: expected `;' before ‘bbox’
src/ft2font.cpp:1167: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:1167: error: ‘ft_glyph_bbox_pixels’ was not declared
in this scope
src/ft2font.cpp:1167: error: ‘bbox’ was not declared in this scope
src/ft2font.cpp:1167: error: ‘FT_Glyph_Get_CBox’ was not declared in this scope
src/ft2font.cpp:1169: error: ‘error’ was not declared in this scope
src/ft2font.cpp:1169: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:1170: error: ‘ft_render_mode_normal’ was not declared
in this scope
src/ft2font.cpp:1173: error: ‘FT_Glyph_To_Bitmap’ was not declared in this scope
src/ft2font.cpp:1177: error: ‘FT_BitmapGlyph’ was not declared in this scope
src/ft2font.cpp:1177: error: expected `;' before ‘bitmap’
src/ft2font.cpp:1181: error: ‘FT_Int’ was not declared in this scope
src/ft2font.cpp:1181: error: expected `;' before ‘x’
src/ft2font.cpp:1182: error: expected `;' before ‘y’
src/ft2font.cpp:1184: error: ‘bitmap’ 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:1262: error: ‘FT_Vector’ was not declared in this scope
src/ft2font.cpp:1184: error: ‘x’ was not declared in this
scopesrc/ft2font.cpp:1262: error: expected `;' before ‘sub_offset’
src/ft2font.cpp:1263: error: ‘sub_offset’ was not declared in this scope

src/ft2font.cpp:1184: error: ‘y’ was not declared in this scope
src/ft2font.cpp:1270: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1273: error: ‘error’ was not declared in this scope
src/ft2font.cpp:1273: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:1274: error: ‘ft_render_mode_normal’ was not declared
in this scope
src/ft2font.cpp:1277: error: ‘FT_Glyph_To_Bitmap’ was not declared in this scope
src/ft2font.cpp:1281: error: ‘FT_BitmapGlyph’ was not declared in this scope
src/ft2font.cpp:1281: error: expected `;' before ‘bitmap’
src/ft2font.cpp:1283: error: ‘bitmap’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object FT2Font::get_xys(const
Py::Tuple&)’:
src/ft2font.cpp:1202: error: ‘FT_BBox’ was not declared in this scope
src/ft2font.cpp:1202: error: expected `;' before ‘string_bbox’
src/ft2font.cpp:1203: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1205: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1208: error: expected `;' before ‘bbox’
src/ft2font.cpp:1209: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:1209: error: ‘ft_glyph_bbox_pixels’ was not declared
in this scope
src/ft2font.cpp:1209: error: ‘bbox’ was not declared in this scope
src/ft2font.cpp:1209: error: ‘FT_Glyph_Get_CBox’ was not declared in this scope
src/ft2font.cpp:1211: error: ‘error’ was not declared in this scope
src/ft2font.cpp:1211: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:1212: error: ‘ft_render_mode_normal’ was not declared
in this scope
src/ft2font.cpp:1215: error: ‘FT_Glyph_To_Bitmap’ was not declared in this scope
src/ft2font.cpp:1219: error: ‘FT_BitmapGlyph’ was not declared in this scope
src/ft2font.cpp:1219: error: expected `;' before ‘bitmap’
src/ft2font.cpp:1223: error: ‘FT_Int’ was not declared in this scope
src/ft2font.cpp:1223: error: expected `;' before ‘x’
src/ft2font.cpp:1224: error: expected `;' before ‘y’
src/ft2font.cpp:1226: error: ‘x’ was not declared in this scope
src/ft2font.cpp:1227: error: ‘y’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_glyph_name(const Py::Tuple&)’:
src/ft2font.cpp:1297: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1297: error: ‘FT_HAS_GLYPH_NAMES’ was not declared in this scope
src/ft2font.cpp:1301: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1301: error: ‘FT_UInt’ was not declared in this scope
src/ft2font.cpp:1301: error: ‘FT_Get_Glyph_Name’ was not declared in
this scopesrc/ft2font.cpp: In member function ‘Py::Object
FT2Font::draw_glyph_to_bitmap(const Py::Tuple&)’:
src/ft2font.cpp:1262: error: ‘FT_Vector’ was not declared in this scope

src/ft2font.cpp:1262: error: expected `;' before ‘sub_offset’
src/ft2font.cpp:1263: error: ‘sub_offset’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_charmap(const Py::Tuple&)’:
src/ft2font.cpp:1317: error: ‘FT_UInt’ was not declared in this scope
src/ft2font.cpp:1317: error: expected `;' before ‘index’
src/ft2font.cpp:1320: error: ‘FT_ULong’ was not declared in this scope
src/ft2font.cpp:1320: error: expected `;' before ‘code’
src/ft2font.cpp:1322: error: ‘code’ was not declared in this scope
src/ft2font.cpp:1323: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1323: 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:1391: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1391: error: ‘FT_FACE_FLAG_SFNT’ was not declared in this scope
src/ft2font.cpp:1394: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1394: error: ‘FT_Get_Sfnt_Name_Count’ was not declared
in this scope
src/ft2font.cpp:1398: error: ‘FT_SfntName’ was not declared in this scope
src/ft2font.cpp:1398: error: expected `;' before ‘sfnt’
src/ft2font.cpp:1399: error: ‘FT_Error’ was not declared in this scope
src/ft2font.cpp:1399: error: expected `;' before ‘error’
src/ft2font.cpp:1401: error: ‘error’ was not declared in this scope
src/ft2font.cpp:1405: error: ‘sfnt’ was not declared in this scope
src/ft2font.cpp:1270: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1273: error: ‘error’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_name_index(const Py::Tuple&)’:
src/ft2font.cpp:1428: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1428: error: ‘FT_String’ was not declared in this scope
src/ft2font.cpp:1428: error: ‘FT_Get_Name_Index’ was not declared in this scope
src/ft2font.cpp:1273: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:1274: error: ‘ft_render_mode_normal’ was not declared
in this scope
src/ft2font.cpp:1427: error: expected primary-expression before ‘(’ token
src/ft2font.cpp:1427: error: expected primary-expression before ‘long’
src/ft2font.cpp:1427: error: expected `)' before ‘long’
src/ft2font.cpp:1277: error: ‘FT_Glyph_To_Bitmap’ was not declared in this scope
src/ft2font.cpp:1281: error: ‘FT_BitmapGlyph’ was not declared in this scope
src/ft2font.cpp:1281: error: expected `;' before ‘bitmap’
src/ft2font.cpp:1283: error: ‘bitmap’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_ps_font_info(const Py::Tuple&)’:
src/ft2font.cpp:1441: error: ‘PS_FontInfoRec’ was not declared in this scope
src/ft2font.cpp:1441: error: expected `;' before ‘fontinfo’
src/ft2font.cpp:1443: error: ‘FT_Error’ was not declared in this scope
src/ft2font.cpp:1443: error: expected `;' before ‘error’
src/ft2font.cpp:1444: error: ‘error’ was not declared in this scope
src/ft2font.cpp:1450: 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:1482: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1482: error: ‘FT_Sfnt_Tag’ was not declared in this scope
src/ft2font.cpp:1482: error: ‘FT_Get_Sfnt_Table’ was not declared in this scope
src/ft2font.cpp:1492: error: ‘TT_Header’ was not declared in this scope
src/ft2font.cpp:1492: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1492: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1492: error: expected `;' before ‘table’
src/ft2font.cpp:1520: error: ‘TT_MaxProfile’ was not declared in this scope
src/ft2font.cpp:1520: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1520: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1520: error: expected `;' before ‘table’
src/ft2font.cpp:1551: error: ‘TT_OS2’ was not declared in this
scopesrc/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_glyph_name(const Py::Tuple&)’:
src/ft2font.cpp:1297: error: ‘face’ was not declared in this scope

src/ft2font.cpp:1551: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1297: error: ‘FT_HAS_GLYPH_NAMES’ was not declared in this scope
src/ft2font.cpp:1551: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1551: error: expected `;' before ‘table’
src/ft2font.cpp:1584: error: ‘TT_HoriHeader’ was not declared in this scope
src/ft2font.cpp:1584: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1584: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1301: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1301: error: ‘FT_UInt’ was not declared in this scope
src/ft2font.cpp:1301: error: ‘FT_Get_Glyph_Name’ was not declared in this scope
src/ft2font.cpp:1584: error: expected `;' before ‘table’
src/ft2font.cpp:1607: error: ‘TT_VertHeader’ was not declared in this scope
src/ft2font.cpp:1607: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1607: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1607: error: expected `;' before ‘table’
src/ft2font.cpp:1628: error: ‘TT_Postscript’ was not declared in this scope
src/ft2font.cpp:1628: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1628: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1628: error: expected `;' before ‘table’
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_charmap(const Py::Tuple&)’:
src/ft2font.cpp:1317: error: ‘FT_UInt’ was not declared in this scope
src/ft2font.cpp:1317: error: expected `;' before ‘index’
src/ft2font.cpp:1320: error: ‘FT_ULong’ was not declared in this scope
src/ft2font.cpp:1320: error: expected `;' before ‘code’
src/ft2font.cpp:1322: error: ‘code’ was not declared in this scope
srsrc/ft2font.cpp:1648: error: ‘TT_PCLT’ was not declared in this scope
src/ft2font.cpp:1648: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1648: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1648: error: expected `;' before ‘table’
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::attach_file(const Py::Tuple&)’:
src/ft2font.cpp:1700: error: ‘FT_Error’ was not declared in this scope
src/ft2font.cpp:1700: error: expected `;' before ‘error’
src/ft2font.cpp:1703: error: ‘error’ was not declared in this scope
c/ft2font.cpp:1323: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1323: 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:1391: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1391: error: ‘FT_FACE_FLAG_SFNT’ was not declared in this scope
src/ft2font.cpp:1394: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1394: error: ‘FT_Get_Sfnt_Name_Count’ was not declared
in this scope
src/ft2font.cpp:1398: error: ‘FT_SfntName’ was not declared in this scope
src/ft2font.cpp:1398: error: expected `;' before ‘sfnt’
src/ft2font.cpp:1399: error: ‘FT_Error’ was not declared in this scope
src/ft2font.cpp:1399: error: expected `;' before ‘error’
src/ft2font.cpp:1401: error: ‘error’ was not declared in this scope
src/ft2font.cpp:1405: 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:1428: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1428: error: ‘FT_String’ was not declared in this scope
src/ft2font.cpp:1428: error: ‘FT_Get_Name_Index’ was not declared in this scope
src/ft2font.cpp:1427: error: expected primary-expression before ‘(’ token
src/ft2font.cpp:1427: error: expected primary-expression before ‘long’
src/ft2font.cpp:1427: error: expected `)' before ‘long’
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_ps_font_info(const Py::Tuple&)’:
src/ft2font.cpp:1441: error: ‘PS_FontInfoRec’ was not declared in this scope
src/ft2font.cpp:1441: error: expected `;' before ‘fontinfo’
src/ft2font.cpp:1443: error: ‘FT_Error’ was not declared in this scope
src/ft2font.cpp:1443: error: expected `;' before ‘error’
src/ft2font.cpp:1444: error: ‘error’ was not declared in this scope
src/ft2font.cpp:1450: error: ‘fontinfo’ was not declared in this scope
src/ft2font.cpp: In function ‘void initft2font()’:
src/ft2font.cpp:1885: error: ‘FT_FACE_FLAG_SCALABLE’ was not declared
in this scope
src/ft2font.cpp:1886: error: ‘FT_FACE_FLAG_FIXED_SIZES’ was not
declared in this scope
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_sfnt_table(const Py::Tuple&)’:
src/ft2font.cpp:1482: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1482: error: ‘FT_Sfnt_Tag’ was not declared in this scope
src/ft2font.cpp:1887: error: ‘FT_FACE_FLAG_FIXED_WIDTH’ was not
declared in this scope
src/ft2font.cpp:1482: error: ‘FT_Get_Sfnt_Table’ was not declared in this scope
src/ft2font.cpp:1492: error: ‘TT_Header’ was not declared in this scope
src/ft2font.cpp:1888: error: ‘FT_FACE_FLAG_SFNT’ was not declared in
this scopesrc/ft2font.cpp:1492: error: ‘t’ was not declared in this
scope

src/ft2font.cpp:1492: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1492: error: expected `;' before
‘src/ft2font.cpp:1889: error: ‘FT_FACE_FLAG_HORIZONTAL’ was not
declared in this scope
src/ft2font.cpp:1891: error: ‘FT_FACE_FLAG_KERNING’ was not declared
in this scope
src/ft2font.cpp:1892: error: ‘FT_FACE_FLAG_FAST_GLYPHS’ was not
declared in this scope
src/ft2font.cpp:1893: error: ‘FT_FACE_FLAG_MULTIPLE_MASTERS’ was not
declared in this scope
src/ft2font.cpp:1894: error: ‘FT_FACE_FLAG_GLYPH_NAMES’ was not
declared in this scope
src/ft2font.cpp:1895: error: ‘FT_FACE_FLAG_EXTERNAL_STREAM’ was not
declared in this scope
src/ft2font.cpp:1896: error: ‘FT_STYLE_FLAG_ITALIC’ was not declared
in this scope
src/ft2font.cpp:1897: error: ‘FT_STYLE_FLAG_BOLD’ was not declared in this scope
src/ft2font.cpp:1898: error: ‘FT_KERNING_DEFAULT’ was not declared in this scope
src/ft2font.cpp:1899: error: ‘FT_KERNING_UNFITTED’ was not declared in
this scope
src/ft2font.cpp:1900: error: ‘FT_KERNING_UNSCALED’ was not declared in
this scope
src/ft2font.cpp:1902: error: ‘FT_LOAD_DEFAULT’ was not declared in this scope
src/ft2font.cpp:1903: error: ‘FT_LOAD_NO_SCALE’ was not declared in this scope
src/ft2font.cpp:1904: error: ‘FT_LOAD_NO_HINTING’ was not declared in this scope
src/ft2font.cpp:1905: error: ‘FT_LOAD_RENDER’ was not declared in this scope
src/ft2font.cpp:1906: error: ‘FT_LOAD_NO_BITMAP’ was not declared in this scope
src/ft2font.cpp:1907: error: ‘FT_LOAD_VERTICAL_LAYOUT’ was not
declared in this scope
src/ft2font.cpp:1908: error: ‘FT_LOAD_FORCE_AUTOHINT’ was not declared
in this scope
src/ft2font.cpp:1909: error: ‘FT_LOAD_CROP_BITMAP’ was not declared in
this scope
src/ft2font.cpp:1910: error: ‘FT_LOAD_PEDANTIC’ was not declared in this scope
src/ft2font.cpp:1912: error: ‘FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH’ was
not declared in this scope
src/ft2font.cpp:1913: error: ‘FT_LOAD_NO_RECURSE’ was not declared in this scope
src/ft2font.cpp:1914: error: ‘FT_LOAD_IGNORE_TRANSFORM’ was not
declared in this scope
src/ft2font.cpp:1915: error: ‘FT_LOAD_MONOCHROME’ was not declared in this scope
src/ft2font.cpp:1916: error: ‘FT_LOAD_LINEAR_DESIGN’ was not declared
in this scope
src/ft2font.cpp:1919: error: ‘FT_LOAD_NO_AUTOHINT’ was not declared in
this scope
src/ft2font.cpp:1920: error: ‘FT_LOAD_TARGET_NORMAL’ was not declared
in this scope
src/ft2font.cpp:1921: error: ‘FT_LOAD_TARGET_LIGHT’ was not declared
in this scope
src/ft2font.cpp:1922: error: ‘FT_LOAD_TARGET_MONO’ was not declared in
this scope
src/ft2font.cpp:1923: error: ‘FT_LOAD_TARGET_LCD’ was not declared in this scope
src/ft2font.cpp:1924: error: ‘FT_LOAD_TARGET_LCD_V’ was not declared
in this scope
src/ft2font.cpp:1927: error: ‘_ft2Library’ was not declared in this scope
src/ft2font.cpp:1927: error: ‘FT_Init_FreeType’ was not declared in this scope
src/ft2font.cpp: In destructor ‘virtual ft2font_module::~ft2font_module()’:
src/ft2font.cpp:1935: error: ‘_ft2Library’ was not declared in this scope
src/ft2font.cpp:1935: error: ‘FT_Done_FreeType’ was not declared in this scope
table’
src/ft2font.cpp:1520: error: ‘TT_MaxProfile’ was not declared in this scope
src/ft2font.cpp:1520: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1520: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1520: error: expected `;' before ‘table’
src/ft2font.cpp:1551: error: ‘TT_OS2’ was not declared in this scope
src/ft2font.cpp:1551: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1551: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1551: error: expected `;' before ‘table’
src/ft2font.cpp:1584: error: ‘TT_HoriHeader’ was not declared in this scope
src/ft2font.cpp:1584: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1584: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1584: error: expected `;' before ‘table’
src/ft2font.cpp:1607: error: ‘TT_VertHeader’ was not declared in this scope
src/ft2font.cpp:1607: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1607: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1607: error: expected `;' before ‘table’
src/ft2font.cpp:1628: error: ‘TT_Postscript’ was not declared in this scope
src/ft2font.cpp:1628: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1628: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1628: error: expected `;' before ‘table’
src/ft2font.cpp:1648: error: ‘TT_PCLT’ was not declared in this scope
src/ft2font.cpp:1648: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1648: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1648: error: expected `;' before ‘table’
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::attach_file(const Py::Tuple&)’:
src/ft2font.cpp:1700: error: ‘FT_Error’ was not declared in this scope
src/ft2font.cpp:1700: error: expected `;' before ‘error’
src/ft2font.cpp:1703: error: ‘error’ was not declared in this scope
src/ft2font.cpp: In function ‘void initft2font()’:
src/ft2font.cpp:1885: error: ‘FT_FACE_FLAG_SCALABLE’ was not declared
in this scope
src/ft2font.cpp:1886: error: ‘FT_FACE_FLAG_FIXED_SIZES’ was not
declared in this scope
src/ft2font.cpp:1887: error: ‘FT_FACE_FLAG_FIXED_WIDTH’ was not
declared in this scope
src/ft2font.cpp:1888: error: ‘FT_FACE_FLAG_SFNT’ was not declared in this scope
src/ft2font.cpp:1889: error: ‘FT_FACE_FLAG_HORIZONTAL’ was not
declared in this scope
src/ft2font.cpp:1891: error: ‘FT_FACE_FLAG_KERNING’ was not declared
in this scope
src/ft2font.cpp:1892: error: ‘FT_FACE_FLAG_FAST_GLYPHS’ was not
declared in this scope
src/ft2font.cpp:1893: error: ‘FT_FACE_FLAG_MULTIPLE_MASTERS’ was not
declared in this scope
src/ft2font.cpp:1894: error: ‘FT_FACE_FLAG_GLYPH_NAMES’ was not
declared in this scope
src/ft2font.cpp:1895: error: ‘FT_FACE_FLAG_EXTERNAL_STREAM’ was not
declared in this scope
src/ft2font.cpp:1896: error: ‘FT_STYLE_FLAG_ITALIC’ was not declared
in this scope
src/ft2font.cpp:1897: error: ‘FT_STYLE_FLAG_BOLD’ was not declared in this scope
src/ft2font.cpp:1898: error: ‘FT_KERNING_DEFAULT’ was not declared in this scope
src/ft2font.cpp:1899: error: ‘FT_KERNING_UNFITTED’ was not declared in
this scope
src/ft2font.cpp:1900: error: ‘FT_KERNING_UNSCALED’ was not declared in
this scope
src/ft2font.cpp:1902: error: ‘FT_LOAD_DEFAULT’ was not declared in this scope
src/ft2font.cpp:1903: error: ‘FT_LOAD_NO_SCALE’ was not declared in this scope
src/ft2font.cpp:1904: error: ‘FT_LOAD_NO_HINTING’ was not declared in this scope
src/ft2font.cpp:1905: error: ‘FT_LOAD_RENDER’ was not declared in this scope
src/ft2font.cpp:1906: error: ‘FT_LOAD_NO_BITMAP’ was not declared in this scope
src/ft2font.cpp:1907: error: ‘FT_LOAD_VERTICAL_LAYOUT’ was not
declared in this scope
src/ft2font.cpp:1908: error: ‘FT_LOAD_FORCE_AUTOHINT’ was not declared
in this scope
src/ft2font.cpp:1909: error: ‘FT_LOAD_CROP_BITMAP’ was not declared in
this scope
src/ft2font.cpp:1910: error: ‘FT_LOAD_PEDANTIC’ was not declared in this scope
src/ft2font.cpp:1912: error: ‘FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH’ was
not declared in this scope
src/ft2font.cpp:1913: error: ‘FT_LOAD_NO_RECURSE’ was not declared in this scope
src/ft2font.cpp:1914: error: ‘FT_LOAD_IGNORE_TRANSFORM’ was not
declared in this scope
src/ft2font.cpp:1915: error: ‘FT_LOAD_MONOCHROME’ was not declared in this scope
src/ft2font.cpp:1916: error: ‘FT_LOAD_LINEAR_DESIGN’ was not declared
in this scope
src/ft2font.cpp:1919: error: ‘FT_LOAD_NO_AUTOHINT’ was not declared in
this scope
src/ft2font.cpp:1920: error: ‘FT_LOAD_TARGET_NORMAL’ was not declared
in this scope
src/ft2font.cpp:1921: error: ‘FT_LOAD_TARGET_LIGHT’ was not declared
in this scope
src/ft2font.cpp:1922: error: ‘FT_LOAD_TARGET_MONO’ was not declared in
this scope
src/ft2font.cpp:1923: error: ‘FT_LOAD_TARGET_LCD’ was not declared in this scope
src/ft2font.cpp:1924: error: ‘FT_LOAD_TARGET_LCD_V’ was not declared
in this scope
src/ft2font.cpp:1927: error: ‘_ft2Library’ was not declared in this scope
src/ft2font.cpp:1927: error: ‘FT_Init_FreeType’ was not declared in this scope
src/ft2font.cpp: In destructor ‘virtual ft2font_module::~ft2font_module()’:
src/ft2font.cpp:1935: error: ‘_ft2Library’ was not declared in this scope
src/ft2font.cpp:1935: error: ‘FT_Done_FreeType’ was not declared in this scope
lipo: can't figure out the architecture type of: /var/tmp//ccZ6Sm3N.out
error: command 'gcc' failed with exit status 1

Kind regards,

Pim Schellart

Pim Schellart wrote:

Hi Everyone,

after I encountered some problems embedding matplotlib in a Tkinter
application I decided to update my matplotlib installation.
I downloaded and installed Python 2.6.2 and the latest svn checkouts
of numpy and scipy.
Then I tried to install (the latest svn checkout of) matplotlib using
python setup.py install.
I get the following errors related to freetype2.
I first tried reinstalling freetype2 (latest version from source which
is now installed in /usr/local) but this did not solve the problem.
Does anyone know what might be wrong here?

gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3
-DPY_ARRAYAUNIQUE_SYMBOL=MPL_ARRAY_API
-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 src/ft2font.cpp:1In file included from src/ft2font.cpp:1:
src/ft2font.h:13:22: error: ft2build.h: No such file or directory

Evidently it is not finding the header file(s) for freetype--it must not be in any of the -I paths above.

Eric

Have you installed the development headers (i.e. libfreetype2-devel)?
Johann

···

On Tuesday 01 September 2009, Pim Schellart wrote:

after I encountered some problems embedding matplotlib in a Tkinter
application I decided to update my matplotlib installation.
I downloaded and installed Python 2.6.2 and the latest svn
checkouts of numpy and scipy.
Then I tried to install (the latest svn checkout of) matplotlib
using python setup.py install.
I get the following errors related to freetype2.
I first tried reinstalling freetype2 (latest version from source
which is now installed in /usr/local) but this did not solve the
problem. Does anyone know what might be wrong here?

gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3
-DPY_ARRAYAUNIQUE_SYMBOL=MPL_ARRAY_API
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/s
ite-packages/numpy/core/include -I.
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/s
ite-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
src/ft2font.cpp:1In file included from src/ft2font.cpp:1:
src/ft2font.h:13:22: error: ft2build.h: No such file or directory

Hi Everyone,

I managed to install matplotlib (python 2.6.2 on OSX Leopard 10.5) by
making the following adjustments to the installation.

1. In setupext.py changing the line with

'darwin' : ,

to

'darwin' : ['/usr/local', '/usr'],

2. In /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/config/Makefile
removing all occurences of -arch ppc.

Both of these fixes should not be nesesary so either there are some
problems with the installer or with my OSX setup.
Can someone tell me which of the two it is?

Kind regards,

Pim Schellart

2009/9/1 Pim Schellart <P.Schellart@...2547...>:

···

Hi Everyone,

after I encountered some problems embedding matplotlib in a Tkinter
application I decided to update my matplotlib installation.
I downloaded and installed Python 2.6.2 and the latest svn checkouts
of numpy and scipy.
Then I tried to install (the latest svn checkout of) matplotlib using
python setup.py install.
I get the following errors related to freetype2.
I first tried reinstalling freetype2 (latest version from source which
is now installed in /usr/local) but this did not solve the problem.
Does anyone know what might be wrong here?

gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3
-DPY_ARRAYAUNIQUE_SYMBOL=MPL_ARRAY_API
-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 src/ft2font.cpp:1In file included from src/ft2font.cpp:1:
src/ft2font.h:13:22: error: ft2build.h: No such file or directory
src/ft2font.h:14:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:15:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:16:10: error: #include expects "FILENAME" or <FILENAME>
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:13:22: error: ft2build.h: No such file or directory
src/ft2font.h:14:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:15:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:16:10: error: #include expects "FILENAME" or <FILENAME>
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:31: error: ‘FT_Bitmap’ has not been declared
src/ft2font.h:31: error: ‘FT_Int’ has not been declared
src/ft2font.h:31: error: ‘FT_Int’ has not been declared
src/ft2font.h:77: error: expected ‘,’ or ‘...’ before ‘&’ token
src/ft2font.h:77: error: ISO C++ forbids declaration of ‘FT_Face’ with no type
src/ft2font.h:83: error: expected ‘,’ or ‘...’ before ‘&’ token
src/ft2font.h:83: error: ISO C++ forbids declaration of ‘FT_Face’ with no type
src/ft2font.h:122: error: ‘FT_Face’ does not name a type
src/ft2font.h:123: error: ‘FT_Matrix’ does not name a type
src/ft2font.h:124: error: ‘FT_Vector’ does not name a type
src/ft2font.h:125: error: ‘FT_Error’ does not name a type
src/ft2font.h:126: error: ‘FT_Glyph’ was not declared in this scope
src/ft2font.h:126: error: template argument 1 is invalid
src/ft2font.h:126: error: template argument 2 is invalid
src/ft2font.h:127: error: ‘FT_Vector’ was not declared in this scope
src/ft2font.h:127: error: template argument 1 is invalid
src/ft2font.h:127: error: template argument 2 is invalid
src/ft2font.h:133: error: ‘FT_BBox’ does not name a type
src/ft2font.cpp:45: error: ‘FT_Library’ does not name a type
src/ft2font.cpp:96: error: variable or field ‘draw_bitmap’ declared void
src/ft2font.cpp:96: error: ‘int FT2Image::draw_bitmap’ is not a static
member of ‘class FT2Image’
src/ft2font.cpp:96: error: ‘FT_Bitmap’ was not declared in this scope
src/ft2font.cpp:96: error: ‘bitmap’ was not declared in this scope
src/ft2font.cpp:97: error: ‘FT_Int’ was not declared in this scope
src/ft2font.cpp:98: error: ‘FT_Int’ was not declared in this scope
src/ft2font.cpp:98: error: initializer expression list treated as
compound expression
src/ft2font.cpp:98: error: expected ‘,’ or ‘;’ before ‘{’ token
src/ft2font.h:31: error: ‘FT_Bitmap’ has not been declared
src/ft2font.h:31: error: ‘FT_Int’ has not been declared
src/ft2font.h:31: error: ‘FT_Int’ has not been declared
src/ft2font.h:77: error: expected ‘,’ or ‘...’ before ‘&’ token
src/ft2font.h:77: error: ISO C++ forbids declaration of ‘FT_Face’ with no type
src/ft2font.h:83: error: expected ‘,’ or ‘...’ before ‘&’ token
src/ft2font.h:83: error: ISO C++ forbids declaration of ‘FT_Face’ with no type
src/ft2font.h:122: error: ‘FT_Face’ does not name a type
src/ft2font.h:123: error: ‘FT_Matrix’ does not name a type
src/ft2font.h:124: error: ‘FT_Vector’ does not name a type
src/ft2font.h:125: error: ‘FT_Error’ does not name a type
src/ft2font.h:126: error: ‘FT_Glyph’ was not declared in this scope
src/ft2font.h:126: error: template argument 1 is invalid
src/ft2font.h:126: error: template argument 2 is invalid
src/ft2font.h:127: error: ‘FT_Vector’ was not declared in this scope
src/ft2font.h:127: error: template argument 1 is invalid
src/ft2font.h:127: error: template argument 2 is invalid
src/ft2font.h:133: error: ‘FT_BBox’ does not name a type
src/ft2font.cpp:382: error: expected ‘,’ or ‘...’ before ‘&’ token
src/ft2font.cpp:382: error: ISO C++ forbids declaration of ‘FT_Face’
with no type
src/ft2font.cpp: In constructor ‘Glyph::Glyph(int)’:
src/ft2font.cpp:383: error: ‘ind’ was not declared in this scope
src/ft2font.cpp:386: error: ‘FT_BBox’ was not declared in this scope
src/ft2font.cpp:386: error: expected `;' before ‘bbox’
src/ft2font.cpp:387: error: ‘glyph’ was not declared in this scope
src/ft2font.cpp:387: error: ‘ft_glyph_bbox_subpixels’ was not declared
in this scope
src/ft2font.cpp:387: error: ‘bbox’ was not declared in this scope
src/ft2font.cpp:387: error: ‘FT_Glyph_Get_CBox’ was not declared in this scope
src/ft2font.cpp:389: error: ‘face’ was not declared in this scope
src/ft2font.cpp:409: error: no matching function for call to
‘Glyph::get_path(<type error>)’
src/ft2font.h:83: note: candidates are: Py::Object Glyph::get_path(int)
src/ft2font.cpp: At global scope:
src/ft2font.cpp:438: error: expected ‘,’ or ‘...’ before ‘&’ token
src/ft2font.cpp:438: 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:443: error: ‘FT_Outline’ was not declared in this scope
src/ft2font.cpp:443: error: ‘outline’ was not declared in this scope
src/ft2font.cpp:443: error: ‘face’ was not declared in this scope
src/ft2font.cpp:448: error: ‘FT_Vector’ was not declared in this scope
src/ft2font.cpp:448: error: expected `;' before ‘v_last’
src/ft2font.cpp:449: error: expected `;' before ‘v_control’
src/ft2font.cpp:450: error: expected `;' before ‘v_start’
src/ft2font.cpp:452: error: ‘point’ was not declared in this scope
src/ft2font.cpp:453: error: ‘limit’ was not declared in this scope
src/ft2font.cpp:469: error: ‘v_start’ was not declared in this scope
src/ft2font.cpp:470: error: ‘v_last’ was not declared in this scope
src/ft2font.cpp:472: error: ‘v_control’ was not declared in this scope
src/ft2font.cpp:476: error: ‘FT_CURVE_TAG’ was not declared in this scope
src/ft2font.cpp:479: error: ‘FT_CURVE_TAG_CUBIC’ was not declared in this scope
src/ft2font.cpp:482: error: ‘FT_CURVE_TAG_CONIC’ was not declared in this scope
src/ft2font.cpp:485: error: ‘FT_CURVE_TAG_ON’ was not declared in this scope
src/ft2font.cpp:45: error: ‘FT_Library’ does not name a type
src/ft2font.cpp:525: error: ‘FT_CURVE_TAG_ON’ was not declared in this scope
src/ft2font.cpp:96: error: variable or field ‘draw_bitmap’ declared void
src/ft2font.cpp:96: error: ‘int FT2Image::draw_bitmap’ is not a static
member of ‘class FT2Image’
src/ft2font.cpp:96: error: ‘FT_Bitmap’ was not declared in this scope
src/ft2font.cpp:96: error: ‘bitmap’ was not declared in this scope
src/ft2font.cpp:97: error: ‘FT_Int’ was not declared in this scope
src/ft2font.cpp:98: error: ‘FT_Int’ was not declared in this scope
src/ft2font.cpp:98: error: initializer expression list treated as
compound expression
src/ft2font.cpp:98: error: expected ‘,’ or ‘;’ before ‘{’ token
src/ft2font.cpp:538: error: ‘FT_CURVE_TAG_CONIC’ was not declared in this scope
src/ft2font.cpp:546: error: expected `;' before ‘vec’
src/ft2font.cpp:547: error: expected `;' before ‘v_middle’
src/ft2font.cpp:553: error: ‘vec’ was not declared in this scope
src/ft2font.cpp:574: error: ‘v_middle’ was not declared in this scope
src/ft2font.cpp:608: error: expected `;' before ‘vec1’
src/ft2font.cpp:610: error: ‘FT_CURVE_TAG_CUBIC’ was not declared in this scope
src/ft2font.cpp:615: error: ‘vec1’ was not declared in this scope
src/ft2font.cpp:617: error: ‘vec2’ was not declared in this scope
src/ft2font.cpp:625: error: expected `;' before ‘vec’
src/ft2font.cpp:627: error: ‘vec’ was not declared in this scope
src/ft2font.cpp: In constructor ‘FT2Font::FT2Font(std::string)’:
src/ft2font.cpp:687: error: ‘_ft2Library’ was not declared in this scope
src/ft2font.cpp:687: error: ‘face’ was not declared in this scope
src/ft2font.cpp:687: error: ‘FT_New_Face’ was not declared in this scope
src/ft2font.cpp:690: error: ‘FT_Err_Unknown_File_Format’ was not
declared in this scope
src/ft2font.cpp:382: error: expected ‘,’ or ‘...’ before ‘&’ token
src/ft2font.cpp:382: error: ISO C++ forbids declaration of ‘FT_Face’
with no type
src/ft2font.cpp: In constructor ‘Glyph::Glyph(int)’:
src/ft2font.cpp:383: error: ‘ind’ was not declared in this scope
src/ft2font.cpp:386: error: ‘FT_BBox’ was not declared in this scope
src/ft2font.cpp:386: error: expected `;' before ‘bbox’
src/ft2font.cpp:387: error: ‘glyph’ was not declared in this scope
src/ft2font.cpp:387: error: ‘ft_glyph_bbox_subpixels’ was not declared
in this scope
src/ft2font.cpp:387: error: ‘bbox’ was not declared in this scope
src/ft2font.cpp:387: error: ‘FT_Glyph_Get_CBox’ was not declared in this scope
src/ft2font.cpp:389: error: ‘facsrc/ft2font.cpp:695: error:
‘FT_Err_Cannot_Open_Resource’ was not declared in this scope
src/ft2font.cpp:700: error: ‘FT_Err_Invalid_File_Format’ was not
declared in this scope
e’ was not declared in this scope
src/ft2font.cpp:409: error: no matching function for call to
‘Glyph::get_path(<type error>)’
src/ft2font.h:83: note: candidates are: Py::Object Glyph::get_path(int)
src/ft2font.cpp:713: error: ‘FT_Set_Char_Size’ was not declared in this scope
src/ft2font.cpp:714: error: ‘FT_Matrix’ does not name a type
src/ft2font.cpp:715: error: ‘transform’ was not declared in this scope
src/ft2font.cpp:715: error: ‘FT_Set_Transform’ was not declared in this scope
src/ft2font.cpp:730: error: ‘FT_Get_Postscript_Name’ was not declared
in this scope
src/ft2font.cpp:753: error: ‘FT_IS_SCALABLE’ was not declared in this scope
src/ft2font.cpp: At global scope:
src/ft2font.cpp:438: error: expected ‘,’ or ‘...’ before ‘&’ token
src/ft2font.cpp:438: 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:443: error: ‘FT_Outline’ was not declared in this scope
src/ft2font.cpp:443: error: ‘outline’ was not declared in this scope
src/ft2font.cpp:443: error: ‘face’ was not declared in this scope
src/ft2font.cpp:448: error: ‘FT_Vector’ was not declared in this scope
src/ft2font.cpp:448: error: expected `;' before ‘v_last’
src/ft2font.cpp:449: error: expected `;' before ‘v_control’
src/ft2font.cpp:450: error: expected `;' before ‘v_start’
src/ft2font.cpp:452: error: ‘point’ was not declared in this scope
src/ft2font.cpp:453: error: ‘limit’ was not declared in this scope
src/ft2font.cpp:469: error: ‘v_start’ was not declared in this scope
src/ft2font.cpp:470: error: ‘v_last’ was not declared in this scope
src/ft2font.cpp:472: error: ‘v_control’ was not declared in this scope
src/ft2font.cpp:476: error: ‘FT_CURVE_TAG’ was not declared in this scope
src/ft2font.cpp:479: error: ‘FT_CURVE_TAG_CUBIC’ was not declared in this scope
src/ft2font.cpp:482: error: ‘FT_CURVE_TAG_CONIC’ was not declared in this scope
src/ft2font.cpp:485: error: ‘FT_CURVE_TAG_ON’ was not declared in this scope
src/ft2font.cpp:525: error: ‘FT_CURVE_TAG_ON’ was not declared in this scope
src/ft2font.cpp: In destructor ‘virtual FT2Font::~FT2Font()’:
src/ft2font.cpp:785: error: ‘face’ was not declared in this scope
src/ft2font.cpp:785: error: ‘FT_Done_Face’ was not declared in this scope
src/ft2font.cpp:787: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:788: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:788: error: ‘FT_Done_Glyph’ was not declared in this scope
src/ft2font.cpp:538: error: ‘FT_CURVE_TAG_CONIC’ was not declared in this scope
src/ft2font.cpp:546: error: expected `;' before ‘vec’
src/ft2font.cpp:547: error: expected `;' before ‘v_middle’
src/ft2font.cpp:553: error: ‘vec’ was not declared in this scope
src/ft2font.cpp:574: error: ‘v_middle’ was not declared in this scope
src/ft2font.cpp:608: error: expected `;' before ‘vec1’
src/ft2font.cpp:610: error: ‘FT_CURVE_TAG_CUBIC’ was not declared in this scope
src/ft2font.cpp:615: error: ‘vec1’ was not declared in this scope
src/ft2font.cpp:617: error: ‘vec2’ was not declared in this scope
src/ft2font.cpp:625: error: expected `;' before ‘vec’
src/ft2font.cpp:627: error: ‘vec’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object FT2Font::clear(const
Py::Tuple&)’:
src/ft2font.cpp:822: error: ‘pen’ was not declared in this scope
src/ft2font.cpp:825: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:826: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:826: error: ‘FT_Done_Glyph’ was not declared in this scope
src/ft2font.cpp:829: 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:852: error: ‘face’ was not declared in this scope
src/ft2font.cpp:854: error: ‘FT_Set_Char_Size’ was not declared in this scope
src/ft2font.cpp:855: error: ‘FT_Matrix’ does not name a type
src/ft2font.cpp:856: error: ‘transform’ was not declared in this scope
src/ft2font.cpp:856: 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:880: error: ‘face’ was not declared in this scope
src/ft2font.cpp:882: error: ‘FT_CharMap’ was not declared in this scope
src/ft2font.cpp:882: error: expected `;' before ‘charmap’
src/ft2font.cpp:883: error: ‘face’ was not declared in this scope
src/ft2font.cpp:883: error: ‘charmap’ was not declared in this scope
src/ft2font.cpp:883: error: ‘FT_Set_Charmap’ was not declared in this scope
src/ft2font.cpp: At global scope:
src/ft2font.cpp:888: error: ‘FT_BBox’ does not name a type
src/ft2font.cpp: In constructor ‘FT2Font::FT2Font(std::string)’:
src/ft2font.cpp:687: error: ‘_ft2Library’ was not declared in this scope
src/ft2font.cpp:687: error: ‘face’ was not declared in this scope
src/ft2font.cpp:687: error: ‘FT_New_Face’ was not declared in this scope
src/ft2font.cpp:690: error: ‘FT_Err_Unknown_File_Format’ was not
declared in this scope
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_kerning(const Py::Tuple&)’:
src/ft2font.cpp:931: error: ‘face’ was not declared in this scope
src/ft2font.cpp:931: error: ‘FT_HAS_KERNING’ was not declared in this scope
src/ft2font.cpp:932: error: ‘FT_Vector’ was not declared in this scope
src/ft2font.cpp:932: error: expected `;' before ‘delta’
src/ft2font.cpp:934: error: ‘face’ was not declared in this scope
src/ft2font.cpp:934: error: ‘delta’ was not declared in this scope
src/ft2font.cpp:934: error: ‘FT_Get_Kerning’ was not declared in this scope
src/ft2font.cpp:695: error: ‘FT_Err_Cannot_Open_Resource’ was not
declared in this scope
src/ft2font.cpp:700: error: ‘FT_Err_Invalid_File_Format’ was not
declared in this scope
src/ft2font.cpp:713: error: ‘FT_Set_Char_Size’ was not declared in this scope
src/ft2font.cpp:714: error: ‘FT_Matrix’ does not name a type
src/ft2font.cpp:715: error: ‘transform’ was not declared in this scope
src/ft2font.cpp:715: error: ‘FT_Set_Transform’ 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:975: error: ‘FT_LOAD_FORCE_AUTOHINT’ was not declared
in this scope
src/ft2font.cpp:730: error: ‘FT_Get_Postscript_Name’ was not declared
in this scope
src/ft2font.cpp:980: error: ‘matrix’ was not declared in this scope
src/ft2font.cpp:980: error: ‘FT_Fixed’ was not declared in this scope
src/ft2font.cpp:985: error: ‘FT_Bool’ was not declared in this
scopesrc/ft2font.cpp:753: error: ‘FT_IS_SCALABLE’ was not declared in
this scope

src/ft2font.cpp:985: error: expected `;' before ‘use_kerning’
src/ft2font.cpp:986: error: ‘FT_UInt’ was not declared in this scope
src/ft2font.cpp:986: error: expected `;' before ‘previous’
src/ft2font.cpp:988: error: request for member ‘resize’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:989: error: ‘pen’ was not declared in this scope
src/ft2font.cpp:995: error: expected `;' before ‘glyph_index’
src/ft2font.cpp:1001: error: ‘glyph_index’ was not declared in this scope
src/ft2font.cpp:1001: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1001: error: ‘FT_Get_Char_Index’ was not declared in this scope
src/ft2font.cpp:1005: error: ‘glyph_index’ was not declared in this scope
src/ft2font.cpp:1005: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1005: error: ‘FT_Get_Char_Index’ was not declared in this scope
src/ft2font.cpp:1009: error: ‘use_kerning’ was not declared in this scope
src/ft2font.cpp:1009: error: ‘previous’ was not declared in this scope
src/ft2font.cpp:1009: error: ‘glyph_index’ was not declared in this scope
src/ft2font.cpp:1010: error: ‘FT_Vector’ was not declared in this scope
src/ft2font.cpp:1010: error: expected `;' before ‘delta’
src/ft2font.cpp:1011: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1012: error: ‘FT_KERNING_DEFAULT’ was not declared in this scope
src/ft2font.cpp:1012: error: ‘delta’ was not declared in this scope
src/ft2font.cpp:1012: error: ‘FT_Get_Kerning’ was not declared in this scope
src/ft2font.cpp:1015: error: ‘error’ was not declared in this scope
src/ft2font.cpp:1015: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1015: error: ‘glyph_index’ was not declared in this scope
src/ft2font.cpp:1015: error: ‘FT_Load_Glyph’ was not declared in this scope
src/ft2font.cpp:1024: error: ‘FT_Glyph’ was not declared in this scope
src/ft2font.cpp:1024: error: expected `;' before ‘thisGlyph’
src/ft2font.cpp:1025: error: ‘thisGlyph’ was not declared in this scope
src/ft2font.cpp:1025: error: ‘FT_Get_Glyph’ was not declared in this scope
src/ft2font.cpp: In destructor ‘virtual FT2Font::~FT2Font()’:
src/ft2font.cpp:785: error: ‘face’ was not declared in this scope
src/ft2font.cpp:785: error: ‘FT_Done_Face’ was not declared in this scope
src/ft2font.cpp:787: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:788: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:788: error: ‘FT_Done_Glyph’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object FT2Font::clear(const
Py::Tuple&)’:
src/ft2font.cpp:822: error: ‘pen’ was not declared in this scope
src/ft2font.cpp:825: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:826: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:826: error: ‘FT_Done_Glyph’ was not declared in this scope
src/ft2font.cpp:829: 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:852: error: ‘face’ was not declared in this scope
src/ft2font.cpp:854: error: ‘FT_Set_Char_Size’ was not declared in this scope
src/ft2font.cpp:855: error: ‘FT_Matrix’ does not name a type
src/ft2font.cpp:856: error: ‘transform’ was not declared in this scope
src/ft2font.cpp:856: 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:880: error: ‘face’ was not declared in this scope
src/ft2font.cpp:882: error: ‘FT_CharMap’ was not declared in this scope
src/ft2font.cpp:882: error: expected `;' before ‘charmap’
src/ft2font.cpp:883: error: ‘face’ was not declared in this scope
src/ft2font.cpp:883: error: ‘charmap’ was not declared in this scope
src/ft2font.cpp:883: error: ‘FT_Set_Charmap’ was not declared in this scope
src/ft2font.cpp: At global scope:
src/ft2font.cpp:888: 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:931: error: ‘face’ was not declared in this scope
src/ft2font.cpp:931: error: ‘FT_HAS_KERNING’ was not declared in this scope
src/ft2font.cpp:932: error: ‘FT_Vector’ was not declared in this scope
src/ft2font.cpp:932: error: expected `;' before ‘delta’
src/ft2font.cpp:934: error: ‘face’ was not declared in this scope
src/ft2font.cpp:934: error: ‘delta’ was not declared in this scope
src/ft2font.cpp:934: error: ‘FT_Get_Kerning’ was not declared in this scope
src/ft2font.cpp:1033: error: ‘FT_Glyph_Transform’ was not declared in this scope
src/ft2font.cpp:1040: error: ‘previous’ was not declared in this scope
src/ft2font.cpp:1041: error: request for member ‘push_back’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1045: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1046: error: invalid types ‘int[unsigned int]’ for
array subscript
src/ft2font.cpp:1046: error: ‘FT_Glyph_Transform’ 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:975: error: ‘FT_LOAD_FORCE_AUTOHINT’ was not declared
in this scope
src/ft2font.cpp:980: error: ‘matrix’ was not declared in this scope
src/ft2font.cpp:980: error: ‘FT_Fixed’ was not declared in this scope
src/ft2font.cpp:985: error: ‘FT_Bool’ was not declared in this scope
src/ft2font.cpp:985: error: expected `;' before ‘use_kerning’
src/ft2font.cpp:986: error: ‘FT_UInt’ was not declared in this scope
src/ft2font.cpp:986: error: expected `;' before ‘previous’
src/ft2font.cpp:988: error: request for member ‘resize’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:989: error: ‘pen’ was not declared in this scope
src/ft2font.cpp:995: error: expected `;' before ‘glyph_index’
src/ft2font.cpp:1001: error: ‘glyph_index’ was not declared in this scope
src/ft2font.cpp:1001: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1001: error: ‘FT_Get_Char_Index’ was not declared in this scope
src/ft2font.cpp:1005: error: ‘glyph_index’ was not declared in this scope
src/ft2font.cpp:1005: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1005: error: ‘FT_Get_Char_Index’ was not declared in this scope
src/ft2font.cpp:1009: error: ‘use_kerning’ was not declared in this scope
src/ft2font.cpp:1009: error: ‘previous’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_num_glyphs(const Py::Tuple&)’:
src/ft2font.cpp:1062: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1009: error: ‘glyph_index’ was not declared in this scope
src/ft2font.cpp:1010: error: ‘FT_Vector’ was not declared in this scope
src/ft2font.cpp:1010: error: expected `;' before ‘delta’
src/ft2font.cpp:1011: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1012: error: ‘FT_KERNING_DEFAULT’ was not declared in this scope
src/ft2font.cpp:1012: error: ‘delta’ was not declared in this scope
src/ft2font.cpp:1012: error: ‘FT_Get_Kerning’ was not declared in this scope
src/ft2font.cpp:1015: error: ‘error’ was not declared in this scope
src/ft2font.cpp:1015: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1015: error: ‘glyph_index’ was not declared in this scope
src/ft2font.cpp:1015: error: ‘FT_Load_Glyph’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::load_char(const Py::Tuple&, const Py::Dict&)’:
src/ft2font.cpp:1087: error: ‘FT_LOAD_FORCE_AUTOHINT’ was not declared
in this scope
src/ft2font.cpp:1024: error: ‘FT_Glyph’ was not declared in this scope
src/ft2font.cpp:1024: error: expected `;' before ‘thisGlyph’
src/ft2font.cpp:1025: error: ‘thisGlyph’ was not declared in this scope
src/ft2font.cpp:1025: error: ‘FT_Get_Glyph’ was not declared in this scope
src/ft2font.cpp:1033: error: ‘FT_Glyph_Transform’ was not declared in this scope
src/ft2font.cpp:1091: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1091: error: ‘FT_Load_Char’ was not declared in this scope
src/ft2font.cpp:1040: error: ‘previous’ was not declared in this scope
src/ft2font.cpp:1041: error: request for member ‘push_back’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type
‘int’src/ft2font.cpp:1096: error: ‘FT_Glyph’ was not declared in this
scope
src/ft2font.cpp:1096: error: expected `;' before ‘thisGlyph’
src/ft2font.cpp:1097: error: ‘thisGlyph’ was not declared in this scope
src/ft2font.cpp:1097: error: ‘FT_Get_Glyph’ was not declared in this scope

src/ft2font.cpp:1045: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1046: error: invalid types ‘int[unsigned int]’ for
array subscript
src/ft2font.cpp:1046: error: ‘FT_Glyph_Transform’ was not declared in this scope
src/ft2font.cpp:1102: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1103: error: request for member ‘push_back’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1104: error: no matching function for call to
‘Glyph::Glyph(<type error>, <type error>, size_t&)’
src/ft2font.cpp:382: note: candidates are: Glyph::Glyph(int)
src/ft2font.h:75: note: Glyph::Glyph(const Glyph&)
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_width_height(const Py::Tuple&)’:
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_num_glyphs(const Py::Tuple&)’:
src/ft2font.cpp:1062: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’

src/ft2font.cpp:1120: error: expected `;' before ‘bbox’
src/ft2font.cpp:1123: error: ‘bbox’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_descent(const Py::Tuple&)’:
src/ft2font.cpp:1140: error: ‘FT_BBox’ was not declared in this scope
src/ft2font.cpp:1140: error: expected `;' before ‘bbox’
src/ft2font.cpp:1141: error: ‘bbox’ 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:1087: error: ‘FT_LOAD_FORCE_AUTOHINT’ 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:1156: error: ‘FT_BBox’ was not declared in this scope
src/ft2font.cpp:1091: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1156: error: expected `;' before ‘string_bbox’
src/ft2font.cpp:1091: error: ‘FT_Load_Char’ was not declared in this scope
src/ft2font.cpp:1157: error: ‘string_bbox’ was not declared in this scope
src/ft2font.cpp:1096: error: ‘FT_Glyph’ was not declared in this scope
src/ft2font.cpp:1096: error: expected `;' before ‘thisGlyph’
src/ft2font.cpp:1097: error: ‘thisGlyph’ was not declared in this scope
src/ft2font.cpp:1097: error: ‘FT_Get_Glyph’ was not declared in this scope
src/ft2font.cpp:1164: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1102: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type
‘int’src/ft2font.cpp:1166: error: expected `;' before ‘bbox’

src/ft2font.cpp:1103: error: request for member ‘push_back’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type
‘int’src/ft2font.cpp:1167: error: invalid types ‘int[size_t]’ for
array subscript

src/ft2font.cpp:1167: error: ‘ft_glyph_bbox_pixels’ was not declared
in this scope
src/ft2font.cpp:1167: error: ‘bbox’ was not declared in this
scopesrc/ft2font.cpp:1104: error: no matching function for call to
‘Glyph::Glyph(<type error>, <type error>, size_t&)’

src/ft2font.cpp:1167: error: ‘FT_Glyph_Get_CBox’ was not declared in
this scopesrc/ft2font.cpp:382: note: candidates are: Glyph::Glyph(int)
src/ft2font.h:75: note: Glyph::Glyph(const Glyph&)
src/ft2font.cpp:1169: error: ‘error’ was not declared in this scope
src/ft2font.cpp:1169: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:1170: error: ‘ft_render_mode_normal’ was not declared
in this scope
src/ft2font.cpp:1173: error: ‘FT_Glyph_To_Bitmap’ was not declared in this scope
src/ft2font.cpp:1177: error: ‘FT_BitmapGlyph’ was not declared in this scope

src/ft2font.cpp:1177: error: expected `;' before ‘bitmap’
src/ft2font.cpp:1181: error: ‘FT_Int’ was not declared in this scope
src/ft2font.cpp:1181: error: expected `;' before ‘x’
src/ft2font.cpp:1182: error: expected `;' before ‘y’
src/ft2font.cpp:1184: error: ‘bitmap’ was not declared in this scope
src/ft2font.cpp:1184: error: ‘x’ was not declared in this scope
src/ft2font.cpp:1184: error: ‘y’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_width_height(const Py::Tuple&)’:
src/ft2font.cpp:1120: error: ‘FT_BBox’ was not declared in this scope
src/ft2font.cpp:1120: error: expected `;' before ‘bbox’
src/ft2font.cpp:1123: error: ‘bbox’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object FT2Font::get_xys(const
Py::Tuple&)’:
src/ft2font.cpp:1202: error: ‘FT_BBox’ was not declared in this scope
src/ft2font.cpp:1202: error: expected `;' before ‘string_bbox’
src/ft2font.cpp:1src/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_descent(const Py::Tuple&)’:
src/ft2font.cpp:1140: error: ‘FT_BBox’ was not declared in this scope
203: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1205: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1208: error: expected `;' before ‘bbox’
src/ft2font.cpp:1209: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:1209: error: ‘ft_glyph_bbox_pixels’ was not declared
in this scope
src/ft2font.cpp:1209: error: ‘bbox’ was not declared in this scope
src/ft2font.cpp:1140: error: expected `;' before ‘bbox’
src/ft2font.cpp:1209: error: ‘FT_Glyph_Get_CBox’ was not declared in this scope
src/ft2font.cpp:1211: error: ‘error’ was not declared in this scope
src/ft2font.cpp:1211: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:1212: error: ‘ft_render_mode_normal’ was not declared
in this scopesrc/ft2font.cpp:1141: error: ‘bbox’ was not declared in
this scope
src/ft2font.cpp:1215: error: ‘FT_Glyph_To_Bitmap’ was not declared in this scope

src/ft2font.cpp:1219: error: ‘FT_BitmapGlyph’ was not declared in this scope
src/ft2font.cpp:1219: error: expected `;' before ‘bitmap’
src/ft2font.cpp:1223: error: ‘FT_Int’ was not declared in this scope
src/ft2font.cpp:1223: error: expected `;' before ‘x’
src/ft2font.cpp:1224: error: expected `;' before ‘y’
src/ft2font.cpp:1226: error: ‘x’ was not declared in this scope
src/ft2font.cpp:1227: error: ‘y’ 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:1156: error: ‘FT_BBox’ was not declared in this scope
src/ft2font.cpp:1156: error: expected `;' before ‘string_bbox’
src/ft2font.cpp:1157: error: ‘string_bbox’ was not declared in this scope
src/ft2font.cpp:1164: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1166: error: expected `;' before ‘bbox’
src/ft2font.cpp:1167: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:1167: error: ‘ft_glyph_bbox_pixels’ was not declared
in this scope
src/ft2font.cpp:1167: error: ‘bbox’ was not declared in this scope
src/ft2font.cpp:1167: error: ‘FT_Glyph_Get_CBox’ was not declared in this scope
src/ft2font.cpp:1169: error: ‘error’ was not declared in this scope
src/ft2font.cpp:1169: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:1170: error: ‘ft_render_mode_normal’ was not declared
in this scope
src/ft2font.cpp:1173: error: ‘FT_Glyph_To_Bitmap’ was not declared in this scope
src/ft2font.cpp:1177: error: ‘FT_BitmapGlyph’ was not declared in this scope
src/ft2font.cpp:1177: error: expected `;' before ‘bitmap’
src/ft2font.cpp:1181: error: ‘FT_Int’ was not declared in this scope
src/ft2font.cpp:1181: error: expected `;' before ‘x’
src/ft2font.cpp:1182: error: expected `;' before ‘y’
src/ft2font.cpp:1184: error: ‘bitmap’ 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:1262: error: ‘FT_Vector’ was not declared in this scope
src/ft2font.cpp:1184: error: ‘x’ was not declared in this
scopesrc/ft2font.cpp:1262: error: expected `;' before ‘sub_offset’
src/ft2font.cpp:1263: error: ‘sub_offset’ was not declared in this scope

src/ft2font.cpp:1184: error: ‘y’ was not declared in this scope
src/ft2font.cpp:1270: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1273: error: ‘error’ was not declared in this scope
src/ft2font.cpp:1273: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:1274: error: ‘ft_render_mode_normal’ was not declared
in this scope
src/ft2font.cpp:1277: error: ‘FT_Glyph_To_Bitmap’ was not declared in this scope
src/ft2font.cpp:1281: error: ‘FT_BitmapGlyph’ was not declared in this scope
src/ft2font.cpp:1281: error: expected `;' before ‘bitmap’
src/ft2font.cpp:1283: error: ‘bitmap’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object FT2Font::get_xys(const
Py::Tuple&)’:
src/ft2font.cpp:1202: error: ‘FT_BBox’ was not declared in this scope
src/ft2font.cpp:1202: error: expected `;' before ‘string_bbox’
src/ft2font.cpp:1203: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1205: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1208: error: expected `;' before ‘bbox’
src/ft2font.cpp:1209: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:1209: error: ‘ft_glyph_bbox_pixels’ was not declared
in this scope
src/ft2font.cpp:1209: error: ‘bbox’ was not declared in this scope
src/ft2font.cpp:1209: error: ‘FT_Glyph_Get_CBox’ was not declared in this scope
src/ft2font.cpp:1211: error: ‘error’ was not declared in this scope
src/ft2font.cpp:1211: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:1212: error: ‘ft_render_mode_normal’ was not declared
in this scope
src/ft2font.cpp:1215: error: ‘FT_Glyph_To_Bitmap’ was not declared in this scope
src/ft2font.cpp:1219: error: ‘FT_BitmapGlyph’ was not declared in this scope
src/ft2font.cpp:1219: error: expected `;' before ‘bitmap’
src/ft2font.cpp:1223: error: ‘FT_Int’ was not declared in this scope
src/ft2font.cpp:1223: error: expected `;' before ‘x’
src/ft2font.cpp:1224: error: expected `;' before ‘y’
src/ft2font.cpp:1226: error: ‘x’ was not declared in this scope
src/ft2font.cpp:1227: error: ‘y’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_glyph_name(const Py::Tuple&)’:
src/ft2font.cpp:1297: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1297: error: ‘FT_HAS_GLYPH_NAMES’ was not declared in this scope
src/ft2font.cpp:1301: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1301: error: ‘FT_UInt’ was not declared in this scope
src/ft2font.cpp:1301: error: ‘FT_Get_Glyph_Name’ was not declared in
this scopesrc/ft2font.cpp: In member function ‘Py::Object
FT2Font::draw_glyph_to_bitmap(const Py::Tuple&)’:
src/ft2font.cpp:1262: error: ‘FT_Vector’ was not declared in this scope

src/ft2font.cpp:1262: error: expected `;' before ‘sub_offset’
src/ft2font.cpp:1263: error: ‘sub_offset’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_charmap(const Py::Tuple&)’:
src/ft2font.cpp:1317: error: ‘FT_UInt’ was not declared in this scope
src/ft2font.cpp:1317: error: expected `;' before ‘index’
src/ft2font.cpp:1320: error: ‘FT_ULong’ was not declared in this scope
src/ft2font.cpp:1320: error: expected `;' before ‘code’
src/ft2font.cpp:1322: error: ‘code’ was not declared in this scope
src/ft2font.cpp:1323: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1323: 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:1391: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1391: error: ‘FT_FACE_FLAG_SFNT’ was not declared in this scope
src/ft2font.cpp:1394: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1394: error: ‘FT_Get_Sfnt_Name_Count’ was not declared
in this scope
src/ft2font.cpp:1398: error: ‘FT_SfntName’ was not declared in this scope
src/ft2font.cpp:1398: error: expected `;' before ‘sfnt’
src/ft2font.cpp:1399: error: ‘FT_Error’ was not declared in this scope
src/ft2font.cpp:1399: error: expected `;' before ‘error’
src/ft2font.cpp:1401: error: ‘error’ was not declared in this scope
src/ft2font.cpp:1405: error: ‘sfnt’ was not declared in this scope
src/ft2font.cpp:1270: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1273: error: ‘error’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_name_index(const Py::Tuple&)’:
src/ft2font.cpp:1428: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1428: error: ‘FT_String’ was not declared in this scope
src/ft2font.cpp:1428: error: ‘FT_Get_Name_Index’ was not declared in this scope
src/ft2font.cpp:1273: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:1274: error: ‘ft_render_mode_normal’ was not declared
in this scope
src/ft2font.cpp:1427: error: expected primary-expression before ‘(’ token
src/ft2font.cpp:1427: error: expected primary-expression before ‘long’
src/ft2font.cpp:1427: error: expected `)' before ‘long’
src/ft2font.cpp:1277: error: ‘FT_Glyph_To_Bitmap’ was not declared in this scope
src/ft2font.cpp:1281: error: ‘FT_BitmapGlyph’ was not declared in this scope
src/ft2font.cpp:1281: error: expected `;' before ‘bitmap’
src/ft2font.cpp:1283: error: ‘bitmap’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_ps_font_info(const Py::Tuple&)’:
src/ft2font.cpp:1441: error: ‘PS_FontInfoRec’ was not declared in this scope
src/ft2font.cpp:1441: error: expected `;' before ‘fontinfo’
src/ft2font.cpp:1443: error: ‘FT_Error’ was not declared in this scope
src/ft2font.cpp:1443: error: expected `;' before ‘error’
src/ft2font.cpp:1444: error: ‘error’ was not declared in this scope
src/ft2font.cpp:1450: 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:1482: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1482: error: ‘FT_Sfnt_Tag’ was not declared in this scope
src/ft2font.cpp:1482: error: ‘FT_Get_Sfnt_Table’ was not declared in this scope
src/ft2font.cpp:1492: error: ‘TT_Header’ was not declared in this scope
src/ft2font.cpp:1492: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1492: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1492: error: expected `;' before ‘table’
src/ft2font.cpp:1520: error: ‘TT_MaxProfile’ was not declared in this scope
src/ft2font.cpp:1520: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1520: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1520: error: expected `;' before ‘table’
src/ft2font.cpp:1551: error: ‘TT_OS2’ was not declared in this
scopesrc/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_glyph_name(const Py::Tuple&)’:
src/ft2font.cpp:1297: error: ‘face’ was not declared in this scope

src/ft2font.cpp:1551: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1297: error: ‘FT_HAS_GLYPH_NAMES’ was not declared in this scope
src/ft2font.cpp:1551: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1551: error: expected `;' before ‘table’
src/ft2font.cpp:1584: error: ‘TT_HoriHeader’ was not declared in this scope
src/ft2font.cpp:1584: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1584: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1301: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1301: error: ‘FT_UInt’ was not declared in this scope
src/ft2font.cpp:1301: error: ‘FT_Get_Glyph_Name’ was not declared in this scope
src/ft2font.cpp:1584: error: expected `;' before ‘table’
src/ft2font.cpp:1607: error: ‘TT_VertHeader’ was not declared in this scope
src/ft2font.cpp:1607: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1607: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1607: error: expected `;' before ‘table’
src/ft2font.cpp:1628: error: ‘TT_Postscript’ was not declared in this scope
src/ft2font.cpp:1628: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1628: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1628: error: expected `;' before ‘table’
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_charmap(const Py::Tuple&)’:
src/ft2font.cpp:1317: error: ‘FT_UInt’ was not declared in this scope
src/ft2font.cpp:1317: error: expected `;' before ‘index’
src/ft2font.cpp:1320: error: ‘FT_ULong’ was not declared in this scope
src/ft2font.cpp:1320: error: expected `;' before ‘code’
src/ft2font.cpp:1322: error: ‘code’ was not declared in this scope
srsrc/ft2font.cpp:1648: error: ‘TT_PCLT’ was not declared in this scope
src/ft2font.cpp:1648: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1648: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1648: error: expected `;' before ‘table’
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::attach_file(const Py::Tuple&)’:
src/ft2font.cpp:1700: error: ‘FT_Error’ was not declared in this scope
src/ft2font.cpp:1700: error: expected `;' before ‘error’
src/ft2font.cpp:1703: error: ‘error’ was not declared in this scope
c/ft2font.cpp:1323: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1323: 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:1391: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1391: error: ‘FT_FACE_FLAG_SFNT’ was not declared in this scope
src/ft2font.cpp:1394: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1394: error: ‘FT_Get_Sfnt_Name_Count’ was not declared
in this scope
src/ft2font.cpp:1398: error: ‘FT_SfntName’ was not declared in this scope
src/ft2font.cpp:1398: error: expected `;' before ‘sfnt’
src/ft2font.cpp:1399: error: ‘FT_Error’ was not declared in this scope
src/ft2font.cpp:1399: error: expected `;' before ‘error’
src/ft2font.cpp:1401: error: ‘error’ was not declared in this scope
src/ft2font.cpp:1405: 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:1428: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1428: error: ‘FT_String’ was not declared in this scope
src/ft2font.cpp:1428: error: ‘FT_Get_Name_Index’ was not declared in this scope
src/ft2font.cpp:1427: error: expected primary-expression before ‘(’ token
src/ft2font.cpp:1427: error: expected primary-expression before ‘long’
src/ft2font.cpp:1427: error: expected `)' before ‘long’
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_ps_font_info(const Py::Tuple&)’:
src/ft2font.cpp:1441: error: ‘PS_FontInfoRec’ was not declared in this scope
src/ft2font.cpp:1441: error: expected `;' before ‘fontinfo’
src/ft2font.cpp:1443: error: ‘FT_Error’ was not declared in this scope
src/ft2font.cpp:1443: error: expected `;' before ‘error’
src/ft2font.cpp:1444: error: ‘error’ was not declared in this scope
src/ft2font.cpp:1450: error: ‘fontinfo’ was not declared in this scope
src/ft2font.cpp: In function ‘void initft2font()’:
src/ft2font.cpp:1885: error: ‘FT_FACE_FLAG_SCALABLE’ was not declared
in this scope
src/ft2font.cpp:1886: error: ‘FT_FACE_FLAG_FIXED_SIZES’ was not
declared in this scope
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_sfnt_table(const Py::Tuple&)’:
src/ft2font.cpp:1482: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1482: error: ‘FT_Sfnt_Tag’ was not declared in this scope
src/ft2font.cpp:1887: error: ‘FT_FACE_FLAG_FIXED_WIDTH’ was not
declared in this scope
src/ft2font.cpp:1482: error: ‘FT_Get_Sfnt_Table’ was not declared in this scope
src/ft2font.cpp:1492: error: ‘TT_Header’ was not declared in this scope
src/ft2font.cpp:1888: error: ‘FT_FACE_FLAG_SFNT’ was not declared in
this scopesrc/ft2font.cpp:1492: error: ‘t’ was not declared in this
scope

src/ft2font.cpp:1492: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1492: error: expected `;' before
‘src/ft2font.cpp:1889: error: ‘FT_FACE_FLAG_HORIZONTAL’ was not
declared in this scope
src/ft2font.cpp:1891: error: ‘FT_FACE_FLAG_KERNING’ was not declared
in this scope
src/ft2font.cpp:1892: error: ‘FT_FACE_FLAG_FAST_GLYPHS’ was not
declared in this scope
src/ft2font.cpp:1893: error: ‘FT_FACE_FLAG_MULTIPLE_MASTERS’ was not
declared in this scope
src/ft2font.cpp:1894: error: ‘FT_FACE_FLAG_GLYPH_NAMES’ was not
declared in this scope
src/ft2font.cpp:1895: error: ‘FT_FACE_FLAG_EXTERNAL_STREAM’ was not
declared in this scope
src/ft2font.cpp:1896: error: ‘FT_STYLE_FLAG_ITALIC’ was not declared
in this scope
src/ft2font.cpp:1897: error: ‘FT_STYLE_FLAG_BOLD’ was not declared in this scope
src/ft2font.cpp:1898: error: ‘FT_KERNING_DEFAULT’ was not declared in this scope
src/ft2font.cpp:1899: error: ‘FT_KERNING_UNFITTED’ was not declared in
this scope
src/ft2font.cpp:1900: error: ‘FT_KERNING_UNSCALED’ was not declared in
this scope
src/ft2font.cpp:1902: error: ‘FT_LOAD_DEFAULT’ was not declared in this scope
src/ft2font.cpp:1903: error: ‘FT_LOAD_NO_SCALE’ was not declared in this scope
src/ft2font.cpp:1904: error: ‘FT_LOAD_NO_HINTING’ was not declared in this scope
src/ft2font.cpp:1905: error: ‘FT_LOAD_RENDER’ was not declared in this scope
src/ft2font.cpp:1906: error: ‘FT_LOAD_NO_BITMAP’ was not declared in this scope
src/ft2font.cpp:1907: error: ‘FT_LOAD_VERTICAL_LAYOUT’ was not
declared in this scope
src/ft2font.cpp:1908: error: ‘FT_LOAD_FORCE_AUTOHINT’ was not declared
in this scope
src/ft2font.cpp:1909: error: ‘FT_LOAD_CROP_BITMAP’ was not declared in
this scope
src/ft2font.cpp:1910: error: ‘FT_LOAD_PEDANTIC’ was not declared in this scope
src/ft2font.cpp:1912: error: ‘FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH’ was
not declared in this scope
src/ft2font.cpp:1913: error: ‘FT_LOAD_NO_RECURSE’ was not declared in this scope
src/ft2font.cpp:1914: error: ‘FT_LOAD_IGNORE_TRANSFORM’ was not
declared in this scope
src/ft2font.cpp:1915: error: ‘FT_LOAD_MONOCHROME’ was not declared in this scope
src/ft2font.cpp:1916: error: ‘FT_LOAD_LINEAR_DESIGN’ was not declared
in this scope
src/ft2font.cpp:1919: error: ‘FT_LOAD_NO_AUTOHINT’ was not declared in
this scope
src/ft2font.cpp:1920: error: ‘FT_LOAD_TARGET_NORMAL’ was not declared
in this scope
src/ft2font.cpp:1921: error: ‘FT_LOAD_TARGET_LIGHT’ was not declared
in this scope
src/ft2font.cpp:1922: error: ‘FT_LOAD_TARGET_MONO’ was not declared in
this scope
src/ft2font.cpp:1923: error: ‘FT_LOAD_TARGET_LCD’ was not declared in this scope
src/ft2font.cpp:1924: error: ‘FT_LOAD_TARGET_LCD_V’ was not declared
in this scope
src/ft2font.cpp:1927: error: ‘_ft2Library’ was not declared in this scope
src/ft2font.cpp:1927: error: ‘FT_Init_FreeType’ was not declared in this scope
src/ft2font.cpp: In destructor ‘virtual ft2font_module::~ft2font_module()’:
src/ft2font.cpp:1935: error: ‘_ft2Library’ was not declared in this scope
src/ft2font.cpp:1935: error: ‘FT_Done_FreeType’ was not declared in this scope
table’
src/ft2font.cpp:1520: error: ‘TT_MaxProfile’ was not declared in this scope
src/ft2font.cpp:1520: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1520: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1520: error: expected `;' before ‘table’
src/ft2font.cpp:1551: error: ‘TT_OS2’ was not declared in this scope
src/ft2font.cpp:1551: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1551: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1551: error: expected `;' before ‘table’
src/ft2font.cpp:1584: error: ‘TT_HoriHeader’ was not declared in this scope
src/ft2font.cpp:1584: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1584: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1584: error: expected `;' before ‘table’
src/ft2font.cpp:1607: error: ‘TT_VertHeader’ was not declared in this scope
src/ft2font.cpp:1607: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1607: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1607: error: expected `;' before ‘table’
src/ft2font.cpp:1628: error: ‘TT_Postscript’ was not declared in this scope
src/ft2font.cpp:1628: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1628: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1628: error: expected `;' before ‘table’
src/ft2font.cpp:1648: error: ‘TT_PCLT’ was not declared in this scope
src/ft2font.cpp:1648: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1648: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1648: error: expected `;' before ‘table’
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::attach_file(const Py::Tuple&)’:
src/ft2font.cpp:1700: error: ‘FT_Error’ was not declared in this scope
src/ft2font.cpp:1700: error: expected `;' before ‘error’
src/ft2font.cpp:1703: error: ‘error’ was not declared in this scope
src/ft2font.cpp: In function ‘void initft2font()’:
src/ft2font.cpp:1885: error: ‘FT_FACE_FLAG_SCALABLE’ was not declared
in this scope
src/ft2font.cpp:1886: error: ‘FT_FACE_FLAG_FIXED_SIZES’ was not
declared in this scope
src/ft2font.cpp:1887: error: ‘FT_FACE_FLAG_FIXED_WIDTH’ was not
declared in this scope
src/ft2font.cpp:1888: error: ‘FT_FACE_FLAG_SFNT’ was not declared in this scope
src/ft2font.cpp:1889: error: ‘FT_FACE_FLAG_HORIZONTAL’ was not
declared in this scope
src/ft2font.cpp:1891: error: ‘FT_FACE_FLAG_KERNING’ was not declared
in this scope
src/ft2font.cpp:1892: error: ‘FT_FACE_FLAG_FAST_GLYPHS’ was not
declared in this scope
src/ft2font.cpp:1893: error: ‘FT_FACE_FLAG_MULTIPLE_MASTERS’ was not
declared in this scope
src/ft2font.cpp:1894: error: ‘FT_FACE_FLAG_GLYPH_NAMES’ was not
declared in this scope
src/ft2font.cpp:1895: error: ‘FT_FACE_FLAG_EXTERNAL_STREAM’ was not
declared in this scope
src/ft2font.cpp:1896: error: ‘FT_STYLE_FLAG_ITALIC’ was not declared
in this scope
src/ft2font.cpp:1897: error: ‘FT_STYLE_FLAG_BOLD’ was not declared in this scope
src/ft2font.cpp:1898: error: ‘FT_KERNING_DEFAULT’ was not declared in this scope
src/ft2font.cpp:1899: error: ‘FT_KERNING_UNFITTED’ was not declared in
this scope
src/ft2font.cpp:1900: error: ‘FT_KERNING_UNSCALED’ was not declared in
this scope
src/ft2font.cpp:1902: error: ‘FT_LOAD_DEFAULT’ was not declared in this scope
src/ft2font.cpp:1903: error: ‘FT_LOAD_NO_SCALE’ was not declared in this scope
src/ft2font.cpp:1904: error: ‘FT_LOAD_NO_HINTING’ was not declared in this scope
src/ft2font.cpp:1905: error: ‘FT_LOAD_RENDER’ was not declared in this scope
src/ft2font.cpp:1906: error: ‘FT_LOAD_NO_BITMAP’ was not declared in this scope
src/ft2font.cpp:1907: error: ‘FT_LOAD_VERTICAL_LAYOUT’ was not
declared in this scope
src/ft2font.cpp:1908: error: ‘FT_LOAD_FORCE_AUTOHINT’ was not declared
in this scope
src/ft2font.cpp:1909: error: ‘FT_LOAD_CROP_BITMAP’ was not declared in
this scope
src/ft2font.cpp:1910: error: ‘FT_LOAD_PEDANTIC’ was not declared in this scope
src/ft2font.cpp:1912: error: ‘FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH’ was
not declared in this scope
src/ft2font.cpp:1913: error: ‘FT_LOAD_NO_RECURSE’ was not declared in this scope
src/ft2font.cpp:1914: error: ‘FT_LOAD_IGNORE_TRANSFORM’ was not
declared in this scope
src/ft2font.cpp:1915: error: ‘FT_LOAD_MONOCHROME’ was not declared in this scope
src/ft2font.cpp:1916: error: ‘FT_LOAD_LINEAR_DESIGN’ was not declared
in this scope
src/ft2font.cpp:1919: error: ‘FT_LOAD_NO_AUTOHINT’ was not declared in
this scope
src/ft2font.cpp:1920: error: ‘FT_LOAD_TARGET_NORMAL’ was not declared
in this scope
src/ft2font.cpp:1921: error: ‘FT_LOAD_TARGET_LIGHT’ was not declared
in this scope
src/ft2font.cpp:1922: error: ‘FT_LOAD_TARGET_MONO’ was not declared in
this scope
src/ft2font.cpp:1923: error: ‘FT_LOAD_TARGET_LCD’ was not declared in this scope
src/ft2font.cpp:1924: error: ‘FT_LOAD_TARGET_LCD_V’ was not declared
in this scope
src/ft2font.cpp:1927: error: ‘_ft2Library’ was not declared in this scope
src/ft2font.cpp:1927: error: ‘FT_Init_FreeType’ was not declared in this scope
src/ft2font.cpp: In destructor ‘virtual ft2font_module::~ft2font_module()’:
src/ft2font.cpp:1935: error: ‘_ft2Library’ was not declared in this scope
src/ft2font.cpp:1935: error: ‘FT_Done_FreeType’ was not declared in this scope
lipo: can't figure out the architecture type of: /var/tmp//ccZ6Sm3N.out
error: command 'gcc' failed with exit status 1

Kind regards,

Pim Schellart