John schrieb: > I'm trying to install matplotlib and currently getting the below > error. I searched the group and google and couldn't find anything > similar... Any ideas? > > Thanks in advance! > > src/ft2font.cpp: In member function 'Py::Object > Glyph::get_path(FT_FaceRec_* const&)': > src/ft2font.cpp:441: error: 'FT_CURVE_TAG_CUBIC' was not declared in > this scope > src/ft2font.cpp:444: error: 'FT_CURVE_TAG_CONIC' was not declared in > this scope > src/ft2font.cpp:447: error: 'FT_CURVE_TAG_ON' was not declared in this > scope > src/ft2font.cpp:487: error: 'FT_CURVE_TAG_ON' was not declared in this > scope > src/ft2font.cpp:500: error: 'FT_CURVE_TAG_CONIC' was not declared in > this scope > src/ft2font.cpp:572: error: 'FT_CURVE_TAG_CUBIC' 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:983: error: 'FT_KERNING_DEFAULT' 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:1428: error: 'PS_FontInfoRec' was not declared in this > scope > src/ft2font.cpp:1428: error: expected `;' before 'fontinfo' > src/ft2font.cpp:1430: error: 'fontinfo' was not declared in this scope > src/ft2font.cpp:1430: error: 'FT_Get_PS_Font_Info' was not declared in > this scope > src/ft2font.cpp: In function 'void initft2font()': > src/ft2font.cpp:1884: error: 'FT_KERNING_DEFAULT' was not declared in > this scope > src/ft2font.cpp:1885: error: 'FT_KERNING_UNFITTED' was not declared in > this scope > src/ft2font.cpp:1886: error: 'FT_KERNING_UNSCALED' was not declared in > this scope > src/ft2font.cpp:1905: error: 'FT_LOAD_NO_AUTOHINT' was not declared in > this scope > src/ft2font.cpp:1906: error: 'FT_LOAD_TARGET_NORMAL' was not declared > in this scope > src/ft2font.cpp:1907: error: 'FT_LOAD_TARGET_LIGHT' was not declared > in this scope > src/ft2font.cpp:1908: error: 'FT_LOAD_TARGET_MONO' was not declared in > this scope > src/ft2font.cpp:1909: error: 'FT_LOAD_TARGET_LCD' was not declared in > this scope > src/ft2font.cpp:1910: error: 'FT_LOAD_TARGET_LCD_V' was not declared > in this scope > error: command 'gcc' failed with exit status 1
Is thate really all of the error? It hints on a missing include, which will be mentioned earlier. Diez -- http://mail.python.org/mailman/listinfo/python-list