On 11/3/2011 6:45 AM, Mads Ipsen wrote: > On 11/02/2011 09:46 PM, Christoph Gohlke wrote: >> On 11/2/2011 1:39 PM, Mads Ipsen wrote: >>> On 11/02/2011 09:28 PM, Christoph Gohlke wrote: >>>> On 11/2/2011 1:11 PM, Mads Ipsen wrote: >>>>> On 11/02/2011 08:43 PM, Michael Droettboom wrote: >>>>>> On 11/02/2011 01:34 PM, Mads Ipsen wrote: >>>>>>> On 11/02/2011 05:50 PM, Michael Droettboom wrote: >>>>>>>> On 11/02/2011 10:53 AM, Mads Ipsen wrote: >>>>>>>>> Any clues to why ft2build.h cannot be located. The above docs says >>>>>>>>> it should be part of the binary installer. >>>>>>>> The binary for freetype is included with the installer, but the >>>>>>>> headers (needed to build, but not to run) are not. Do you need to >>>>>>>> build matplotlib from source, or just use it? >>>>>>>> >>>>>>>> Mike >>>>>>> I need to built it from source. >>>>>>> >>>>>>> Mads >>>>>> In that case, you will need to install the development packages for >>>>>> freetype, libpng, libz, and numpy. >>>>>> >>>>>> I'm not a regular Windows user, so I don't know what the best practice >>>>>> is for that these days. Some of the other members on this list can >>>>>> hopefully jump in. There was also a thread on this list about >>>>>> "Building on Windows" from 08/18/2011 that might be helpful. >>>>>> >>>>>> Mike >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> RSA(R) Conference 2012 >>>>>> Save $700 by Nov 18 >>>>>> Register now >>>>>> http://p.sf.net/sfu/rsa-sfdev2dev1 >>>>>> >>>>>> _______________________________________________ >>>>>> Matplotlib-users mailing list >>>>>> Matplotlib-users@lists.sourceforge.net >>>>>> <mailto:Matplotlib-users@lists.sourceforge.net> >>>>>> <mailto:Matplotlib-users@lists.sourceforge.net> >>>>>> <mailto:Matplotlib-users@lists.sourceforge.net> >>>>>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >>>>> I can't seem to find this thread anywhere. It it really that difficult >>>>> to build on Windows? It most be documented somewhere what the prereqs are? >>>>> >>>> See<http://sourceforge.net/mailarchive/message.php?msg_id=27961105> and >>>> <http://matplotlib.sourceforge.net/users/installing.html#build-requirements> >>>> >>>> Prebuilt static link libraries for msvc compilers are available at >>>> <http://www.lfd.uci.edu/~gohlke/pythonlibs/#matplotlib>. >>>> >>>> It seems you are trying to compile from within cygwin, using the include >>>> files provided by cygwin. That will probably not work. >>>> >>>> Christoph >>>> >>>> >>>> >>>>> Best regards, >>>>> >>>>> Mads >>>>> >>>> ------------------------------------------------------------------------------ >>>> RSA(R) Conference 2012 >>>> Save $700 by Nov 18 >>>> Register now >>>> http://p.sf.net/sfu/rsa-sfdev2dev1 >>>> _______________________________________________ >>>> Matplotlib-users mailing list >>>> Matplotlib-users@lists.sourceforge.net >>>> <mailto:Matplotlib-users@lists.sourceforge.net> >>>> <mailto:Matplotlib-users@lists.sourceforge.net> >>>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >>> I am building from the VS2008 command prompt. But thanks for the info. >>> Will have a look. >>> >>> Best regards, >>> >>> Mads >> OK. The cygwin in your home path looked suspicious:"c:\cygwin\home\mads >> ipsen\" >> >> Christoph >> >> ------------------------------------------------------------------------------ >> RSA(R) Conference 2012 >> Save $700 by Nov 18 >> Register now >> http://p.sf.net/sfu/rsa-sfdev2dev1 >> _______________________________________________ >> Matplotlib-users mailing list >> Matplotlib-users@lists.sourceforge.net >> <mailto:Matplotlib-users@lists.sourceforge.net> >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users > Hi, > > I am now done with the 32 bit case and am trying to do the same for 64 > bit now. > > Here I get the error: > > Creating library build\temp.win32-2.7\Release\src\ft2font.lib and object > buil > d\temp.win32-2.7\Release\src\ft2font.exp > ft2font.obj : error LNK2019: unresolved external symbol > _FT_Set_Transform refere > nced in function "public: class Py::Object __thiscall > FT2Font::set_size(class Py > ::Tuple const &)" (?set_size@FT2Font@@QAE?AVObject@Py@@ABVTuple@3@@Z) > ft2font.obj : error LNK2019: unresolved external symbol > _FT_Set_Char_Size refere > nced in function "public: class Py::Object __thiscall > FT2Font::set_size(class Py > ::Tuple const &)" (?set_size@FT2Font@@QAE?AVObject@Py@@ABVTuple@3@@Z) > ft2font.obj : error LNK2019: unresolved external symbol _FT_Set_Charmap > referenc > ed in function "public: class Py::Object __thiscall > FT2Font::set_charmap(class P > y::Tuple const &)" (?set_charmap@FT2Font@@QAE?AVObject@Py@@ABVTuple@3@@Z) > ft2font.obj : error LNK2019: unresolved external symbol > _FT_Select_Charmap refer > enced in function "public: class Py::Object __thiscall > FT2Font::select_charmap(c > lass Py::Tuple const &)" > (?select_charmap@FT2Font@@QAE?AVObject@Py@@ABVTuple@3@@ > Z) > > I am using the > > msvcr90-x64 > > version of the libraries downloaded from > > http://www.lfd.uci.edu/~gohlke/pythonlibs/#matplotlib > > Wrong libraries? > > Bestregards, > > Mads >
> Creating library build\temp.win32-2.7 ... You are likely using a 32 bit compiler or Python. Christoph ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users