Hello,
   I am trying to build the matplotlib sources, (because i cannot find a version that works on my 64-bit Windows OS)
 
   I'm getting a linker error.  Can somehelp help me see what i am missing?
 
  PS: Is there a ready build available for 64-bit Windows OS?
 
 
Many thanks.
VB
 
D:\System Downloads\matplotlib-1.0.1\matplotlib-1.0.1>d:\python\python setup.py build
basedirlist is: ['win32_static']
============================================================================
BUILDING MATPLOTLIB
            matplotlib: 1.0.1
                python: 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC
                        v.1500 32 bit (Intel)]
              platform: win32
       Windows version: (6, 1, 7601, 2, 'Service Pack 1')
REQUIRED DEPENDENCIES
                 numpy: 1.5.1
             freetype2: found, but unknown version (no pkg-config)
                        * WARNING: Could not find 'freetype2' headers in any
                        * of '.', '.\freetype2'.
OPTIONAL BACKEND DEPENDENCIES
                libpng: found, but unknown version (no pkg-config)
                        * Could not find 'libpng' headers in any of '.'
               Tkinter: no
                        * Tkinter present, but header files are not found.
                        * You may need to install development packages.
              wxPython: no
                        * wxPython not found
                  Gtk+: no
                        * Building for Gtk+ requires pygtk; you must be able
                        * to "import gtk" in your build/install environment
       Mac OS X native: no
                    Qt: no
                   Qt4: no
                 Cairo: no
OPTIONAL DATE/TIMEZONE DEPENDENCIES
              datetime: present, version unknown
              dateutil: matplotlib will provide
                  pytz: matplotlib will provide
OPTIONAL USETEX DEPENDENCIES
                dvipng: file.
           ghostscript: 'gswin32c' is not recognized as an internal or
                        external command,  operable program or batch file.
                 latex: no
[Edit setup.cfg to suppress the above messages]
============================================================================
pymods ['pylab']
packages ['matplotlib', 'matplotlib.backends', 'matplotlib.backends.qt4_editor', 'matplotlib.projec
ions', 'matplotlib.testing', 'matplotlib.testing.jpl_units', 'matplotlib.tests', 'mpl_toolkits', 'm
l_toolkits.mplot3d', 'mpl_toolkits.axes_grid', 'mpl_toolkits.axes_grid1', 'mpl_toolkits.axisartist'
 'matplotlib.sphinxext', 'matplotlib.numerix', 'matplotlib.numerix.mlab', 'matplotlib.numerix.ma',
matplotlib.numerix.linear_algebra', 'matplotlib.numerix.random_array', 'matplotlib.numerix.fft', 'm
tplotlib.tri', 'matplotlib.delaunay', 'pytz', 'dateutil', 'dateutil/zoneinfo']
running build
running build_py
copying lib\matplotlib\mpl-data\matplotlibrc -> build\lib.win32-2.6\matplotlib\mpl-data
copying lib\matplotlib\mpl-data\matplotlib.conf -> build\lib.win32-2.6\matplotlib\mpl-data
running build_ext
building 'matplotlib.ft2font' extension
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEB
G -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -Id:\python\lib\site-packages\numpy\
ore\include -I. -Id:\python\lib\site-packages\numpy\core\include\freetype2 -I.\freetype2 -I.\lib/fr
etype2/include -Id:\python\include -Id:\python\PC /Tpsrc/ft2font.cpp /Fobuild\temp.win32-2.6\Releas
\src/ft2font.obj
ft2font.cpp
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exc
ption handler used, but unwind semantics are not enabled. Specify /EHsc
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEB
G -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -Id:\python\lib\site-packages\numpy\
ore\include -I. -Id:\python\lib\site-packages\numpy\core\include\freetype2 -I.\freetype2 -I.\lib/fr
etype2/include -Id:\python\include -Id:\python\PC /Tpsrc/mplutils.cpp /Fobuild\temp.win32-2.6\Relea
e\src/mplutils.obj
mplutils.cpp
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exc
ption handler used, but unwind semantics are not enabled. Specify /EHsc
src/mplutils.cpp(19) : warning C4996: 'vsprintf': This function or variable may be unsafe. Consider
using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for
etails.
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\stdio.h(366) : see declaratio
 of 'vsprintf'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEB
G -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -Id:\python\lib\site-packages\numpy\
ore\include -I. -Id:\python\lib\site-packages\numpy\core\include\freetype2 -I.\freetype2 -I.\lib/fr
etype2/include -Id:\python\include -Id:\python\PC /TpCXX\cxxsupport.cxx /Fobuild\temp.win32-2.6\Rel
ase\CXX\cxxsupport.obj
cxxsupport.cxx
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exc
ption handler used, but unwind semantics are not enabled. Specify /EHsc
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEB
G -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -Id:\python\lib\site-packages\numpy\
ore\include -I. -Id:\python\lib\site-packages\numpy\core\include\freetype2 -I.\freetype2 -I.\lib/fr
etype2/include -Id:\python\include -Id:\python\PC /TpCXX\cxx_extensions.cxx /Fobuild\temp.win32-2.6
Release\CXX\cxx_extensions.obj
cxx_extensions.cxx
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exc
ption handler used, but unwind semantics are not enabled. Specify /EHsc
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEB
G -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -Id:\python\lib\site-packages\numpy\
ore\include -I. -Id:\python\lib\site-packages\numpy\core\include\freetype2 -I.\freetype2 -I.\lib/fr
etype2/include -Id:\python\include -Id:\python\PC /TpCXX\IndirectPythonInterface.cxx /Fobuild\temp.
in32-2.6\Release\CXX\IndirectPythonInterface.obj
IndirectPythonInterface.cxx
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEB
G -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -Id:\python\lib\site-packages\numpy\
ore\include -I. -Id:\python\lib\site-packages\numpy\core\include\freetype2 -I.\freetype2 -I.\lib/fr
etype2/include -Id:\python\include -Id:\python\PC /TcCXX\cxxextensions.c /Fobuild\temp.win32-2.6\Re
ease\CXX\cxxextensions.obj
cxxextensions.c
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\link.exe /DLL /nologo /INCREMENTAL:NO /LI
PATH:d:\python\libs /LIBPATH:d:\python\PCbuild freetype.lib z.lib /EXPORT:initft2font build\temp.wi
32-2.6\Release\src/ft2font.obj build\temp.win32-2.6\Release\src/mplutils.obj build\temp.win32-2.6\R
lease\CXX\cxxsupport.obj build\temp.win32-2.6\Release\CXX\cxx_extensions.obj build\temp.win32-2.6\R
lease\CXX\IndirectPythonInterface.obj build\temp.win32-2.6\Release\CXX\cxxextensions.obj /OUT:build
lib.win32-2.6\matplotlib\ft2font.pyd /IMPLIB:build\temp.win32-2.6\Release\src\ft2font.lib /MANIFEST
ILE:build\temp.win32-2.6\Release\src\ft2font.pyd.manifest
   Creating library build\temp.win32-2.6\Release\src\ft2font.lib and object build\temp.win32-2.6\Re
ease\src\ft2font.exp
ft2font.obj : error LNK2019: unresolved external symbol __imp__FT_Set_Transform referenced in funct
on "public: class Py::Object __thiscall FT2Font::set_size(class Py::Tuple const &)" (?set_size@FT2F
nt@@QAE?AVObject@Py@@ABVTuple@3@@Z)
ft2font.obj : error LNK2019: unresolved external symbol __imp__FT_Set_Char_Size referenced in funct
on "public: class Py::Object __thiscall FT2Font::set_size(class Py::Tuple const &)" (?set_size@FT2F
nt@@QAE?AVObject@Py@@ABVTuple@3@@Z)
ft2font.obj : error LNK2019: unresolved external symbol __imp__FT_Set_Charmap referenced in functio
 "public: class Py::Object __thiscall FT2Font::set_charmap(class Py::Tuple const &)" (?set_charmap@
T2Font@@QAE?AVObject@Py@@ABVTuple@3@@Z)
ft2font.obj : error LNK2019: unresolved external symbol __imp__FT_Select_Charmap referenced in func
ion "public: class Py::Object __thiscall FT2Font::select_charmap(class Py::Tuple const &)" (?select
charmap@FT2Font@@QAE?AVObject@Py@@ABVTuple@3@@Z)
ft2font.obj : error LNK2019: unresolved external symbol __imp__FT_Glyph_Get_CBox referenced in func
ion "private: struct FT_BBox_ __thiscall FT2Font::compute_string_bbox(void)" (?compute_string_bbox@
T2Font@@AAE?AUFT_BBox_@@XZ)
ft2font.obj : error LNK2019: unresolved external symbol __imp__FT_Get_Kerning referenced in functio
 "public: class Py::Object __thiscall FT2Font::get_kerning(class Py::Tuple const &)" (?get_kerning@
T2Font@@QAE?AVObject@Py@@ABVTuple@3@@Z)
ft2font.obj : error LNK2019: unresolved external symbol __imp__FT_Get_Glyph_Name referenced in func
ion "public: class Py::Object __thiscall FT2Font::get_glyph_name(class Py::Tuple const &)" (?get_gl
ph_name@FT2Font@@QAE?AVObject@Py@@ABVTuple@3@@Z)
ft2font.obj : error LNK2019: unresolved external symbol __imp__FT_Get_Name_Index referenced in func
ion "public: class Py::Object __thiscall FT2Font::get_name_index(class Py::Tuple const &)" (?get_na
e_index@FT2Font@@QAE?AVObject@Py@@ABVTuple@3@@Z)
ft2font.obj : error LNK2019: unresolved external symbol __imp__FT_Done_FreeType referenced in funct
on "public: virtual __thiscall ft2font_module::~ft2font_module(void)" (??1ft2font_module@@UAE@XZ)
ft2font.obj : error LNK2019: unresolved external symbol __imp__FT_Glyph_To_Bitmap referenced in fun
tion "public: class Py::Object __thiscall FT2Font::get_xys(class Py::Tuple const &)" (?get_xys@FT2F
nt@@QAE?AVObject@Py@@ABVTuple@3@@Z)
ft2font.obj : error LNK2019: unresolved external symbol __imp__FT_Get_PS_Font_Info referenced in fu
ction "public: class Py::Object __thiscall FT2Font::get_ps_font_info(class Py::Tuple const &)" (?ge
_ps_font_info@FT2Font@@QAE?AVObject@Py@@ABVTuple@3@@Z)
ft2font.obj : error LNK2019: unresolved external symbol __imp__FT_Attach_File referenced in functio
 "public: class Py::Object __thiscall FT2Font::attach_file(class Py::Tuple const &)" (?attach_file@
T2Font@@QAE?AVObject@Py@@ABVTuple@3@@Z)
ft2font.obj : error LNK2019: unresolved external symbol __imp__FT_Get_Next_Char referenced in funct
on "public: class Py::Object __thiscall FT2Font::get_charmap(class Py::Tuple const &)" (?get_charma
@FT2Font@@QAE?AVObject@Py@@ABVTuple@3@@Z)
ft2font.obj : error LNK2019: unresolved external symbol __imp__FT_Get_First_Char referenced in func
ion "public: class Py::Object __thiscall FT2Font::get_charmap(class Py::Tuple const &)" (?get_charm
p@FT2Font@@QAE?AVObject@Py@@ABVTuple@3@@Z)
ft2font.obj : error LNK2019: unresolved external symbol __imp__FT_Get_Sfnt_Name referenced in funct
on "public: class Py::Object __thiscall FT2Font::get_sfnt(class Py::Tuple const &)" (?get_sfnt@FT2F
nt@@QAE?AVObject@Py@@ABVTuple@3@@Z)
ft2font.obj : error LNK2019: unresolved external symbol __imp__FT_Get_Sfnt_Name_Count referenced in
function "public: class Py::Object __thiscall FT2Font::get_sfnt(class Py::Tuple const &)" (?get_sfn
@FT2Font@@QAE?AVObject@Py@@ABVTuple@3@@Z)
ft2font.obj : error LNK2019: unresolved external symbol __imp__FT_Get_Sfnt_Table referenced in func
ion "public: class Py::Object __thiscall FT2Font::get_sfnt_table(class Py::Tuple const &)" (?get_sf
t_table@FT2Font@@QAE?AVObject@Py@@ABVTuple@3@@Z)
ft2font.obj : error LNK2019: unresolved external symbol __imp__FT_Done_Glyph referenced in function
"public: virtual __thiscall FT2Font::~FT2Font(void)" (??1FT2Font@@UAE@XZ)
ft2font.obj : error LNK2019: unresolved external symbol __imp__FT_Done_Face referenced in function
public: virtual __thiscall FT2Font::~FT2Font(void)" (??1FT2Font@@UAE@XZ)
ft2font.obj : error LNK2019: unresolved external symbol __imp__FT_Get_Postscript_Name referenced in
function "public: __thiscall FT2Font::FT2Font(class std::basic_string<char,struct std::char_traits<
har>,class std::allocator<char> >)" (??0FT2Font@@QAE@V?$basic_string@DU?$char_traits@D@std@@V?$allo
ator@D@2@@std@@@Z)
ft2font.obj : error LNK2019: unresolved external symbol __imp__FT_New_Face referenced in function "
ublic: __thiscall FT2Font::FT2Font(class std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >)" (??0FT2Font@@QAE@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@
td@@@Z)
ft2font.obj : error LNK2019: unresolved external symbol __imp__FT_Glyph_Transform referenced in fun
tion "public: class Py::Object __thiscall FT2Font::set_text(class Py::Tuple const &,class Py::Dict
onst &)" (?set_text@FT2Font@@QAE?AVObject@Py@@ABVTuple@3@ABVDict@3@@Z)
ft2font.obj : error LNK2019: unresolved external symbol __imp__FT_Get_Glyph referenced in function
public: class Py::Object __thiscall FT2Font::set_text(class Py::Tuple const &,class Py::Dict const
)" (?set_text@FT2Font@@QAE?AVObject@Py@@ABVTuple@3@ABVDict@3@@Z)
ft2font.obj : error LNK2019: unresolved external symbol __imp__FT_Load_Glyph referenced in function
"public: class Py::Object __thiscall FT2Font::set_text(class Py::Tuple const &,class Py::Dict const
&)" (?set_text@FT2Font@@QAE?AVObject@Py@@ABVTuple@3@ABVDict@3@@Z)
ft2font.obj : error LNK2019: unresolved external symbol __imp__FT_Get_Char_Index referenced in func
ion "public: class Py::Object __thiscall FT2Font::set_text(class Py::Tuple const &,class Py::Dict c
nst &)" (?set_text@FT2Font@@QAE?AVObject@Py@@ABVTuple@3@ABVDict@3@@Z)
ft2font.obj : error LNK2019: unresolved external symbol __imp__FT_Load_Char referenced in function
public: class Py::Object __thiscall FT2Font::load_char(class Py::Tuple const &,class Py::Dict const
&)" (?load_char@FT2Font@@QAE?AVObject@Py@@ABVTuple@3@ABVDict@3@@Z)
ft2font.obj : error LNK2019: unresolved external symbol __imp__FT_Init_FreeType referenced in funct
on "void __cdecl initft2font(void)" (?initft2font@@YAXXZ)
build\lib.win32-2.6\matplotlib\ft2font.pyd : fatal error LNK1120: 27 unresolved externals
error: command '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\link.exe"' failed with e
it status 1120