Hi, I'm trying to build matplotlib (git master) on windows 7, Python 3.3,
with ms visual C++ 2010 SP1
The error I am getting is related to how it can't find ft2build.h but
after running freetype-2.3.5-1.setup.exe, there is now a copy of it under
C:\Program Files (x86)\GnuWin32\include
How do I tell setup.py to look there for the header file?
Any other hints building this building on Windows 7 would be appreciated.

[C:\Workspace\matplotlib]python setup.py build
============================================================================
Edit setup.cfg to change the build options

BUILDING MATPLOTLIB
            matplotlib: yes [1.4.x]
                python: yes [3.3.5 (v3.3.5:62cf4e77f785, Mar  9 2014,
                        10:35:05) [MSC v.1600 64 bit (AMD64)]]
              platform: yes [win32]

REQUIRED DEPENDENCIES AND EXTENSIONS
                 numpy: yes [version 1.8.1]
                   six: yes [using six version 1.7.2]
              dateutil: yes [using dateutil version 2.2]
               tornado: yes [tornado was not found. It is required for the
                        WebAgg backend. pip/easy_install may attempt to
                        install it after matplotlib.]
             pyparsing: yes [using pyparsing version 2.0.2]
                 pycxx: yes [Official versions of PyCXX are not compatible
                        with Python 3.x.  Using local copy]
                libagg: yes [pkg-config information for 'libagg' could not
                        be found. Using local copy.]
              freetype: yes [Unknown version]
                   png: yes [pkg-config information for 'libpng' could not
                        be found. Using unknown version.]
                 qhull: yes [pkg-config information for 'qhull' could not be
                        found. Using local copy.]

OPTIONAL SUBPACKAGES
           sample_data: yes [installing]
              toolkits: yes [installing]
                 tests: yes [nose 0.11.1 or later is required to run the
                        matplotlib test suite.  pip/easy_install may attempt
                        to install it after matplotlib. / using
                        unittest.mock]

OPTIONAL BACKEND EXTENSIONS
                macosx: no  [Mac OS-X only]
                qt5agg: yes [installing, Qt: 5.2.1, PyQt: 5.2.1]
                qt4agg: no  [PyQt4 not found]
                pyside: no  [PySide not found]
               gtk3agg: no  [gtk3agg backend does not work on Python 3]
             gtk3cairo: no  [Requires cairocffi or pycairo to be installed.]
                gtkagg: no  [Requires pygtk]
                 tkagg: no  [The C/C++ header for Tk (tk.h) could not be
                        found.  You may need to install the development
                        package.]
                 wxagg: no  [requires wxPython]
                   gtk: no  [Requires pygtk]
                   agg: yes [installing]
                 cairo: no  [cairocffi or pycairo not found]
             windowing: yes [installing, installing]

OPTIONAL LATEX DEPENDENCIES
                dvipng: no
           ghostscript: no
                 latex: no
               pdftops: no

running build
running build_py
copying lib\matplotlib\mpl-data\matplotlibrc ->
build\lib.win-amd64-3.3\matplotlib\mpl-data
running build_ext
building 'matplotlib.ft2font' extension
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\Bin\cl.exe /c
/nologo /Ox /MD /W3 /GS- /DNDEBUG -DPY_ARRAY_UN
IQUE_SYMBOL=MPL_matplotlib_ft2font_ARRAY_API -DPYCXX_ISO_CPP_LIB=1
-DPYCXX_PYTHON_2TO3=1 -IC:\Python33\lib\site-pack
ages\numpy\core\include -I. -Iextern -IC:\Python33\include
-IC:\Python33\include /Tpsrc/ft2font.cpp /Fobuild\temp.wi
n-amd64-3.3\Release\src/ft2font.obj
ft2font.cpp
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\xlocale(323)
: warning C4530: C++ exception handler u
sed, but unwind semantics are not enabled. Specify /EHsc
c:\users\r4hr-dev\workspace\matplotlib\src\ft2font.h(16) : fatal error
C1083: Cannot open include file: 'ft2build.h'
: No such file or directory
error: command '"C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\Bin\cl.exe"' failed with exit status 2
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to