On 11/02/2011 10:53 AM, Mads Ipsen wrote:
Hi,

I am trying to build MPL 1.1.0 with VS 2008 on Windows XP 32. I have installed

* Python 2.7.2
* Numpy 1.6

In the docs it says

Windows users only need the first two (python and numpy) since the others are built into the matplotlib Windows installers available for download at the sourceforge site. OK, so I also downloaded matplotlib-1.1.0.win32-py2.7.exe and installed that.

Now I cd to the matplotlib-1.1.0 directory and issue

python setup.py build

and get the following error.

C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W 3 /GS- /DNDEBUG -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -Ic :\Python27\lib\site-packages\numpy\core\include -I. -Ic:\Python27\lib\site-packa ges\numpy\core\include\freetype2 -I.\freetype2 -Ic:\Python27\include -Ic:\Python
27\PC /Tpsrc/ft2font.cpp /Fobuild\temp.win32-2.7\Release\src/ft2font.obj
ft2font.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C 4530: C++ exception handler used, but unwind semantics are not enabled. Specify
/EHsc
c:\cygwin\home\mads ipsen\matplotlib-1.1.0\src\ft2font.h(16) : fatal error C1083
: Cannot open include file: 'ft2build.h': No such file or directory
error: command '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe"' fa
iled with exit status 2


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
------------------------------------------------------------------------------
RSA® 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

Reply via email to