Hello,
I just updated from svn (r5042) for the first time in about 6 months (I think r3296 or so was my last rev), and I can no longer build in win32 with msvc 7.1. I've got win32_static (extracted from http://matplotlib.sourceforge.net/win32_static_vs.tar.gz) in my mpl root folder. Here's what I get:
···
python setup.py build_ext --inplace --force
============================================================================
BUILDING MATPLOTLIB
matplotlib: 0.98pre
python: 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC
v.1310 32 bit (Intel)]
platform: win32
Windows version: (5, 1, 2600, 2, 'Service Pack 2')
REQUIRED DEPENDENCIES
numpy: 1.0.5.dev5035
freetype2: found, but unknown version (no pkg-config)
OPTIONAL BACKEND DEPENDENCIES
libpng: found, but unknown version (no pkg-config)
Tkinter: Tkinter: 50704, Tk: 8.4, Tcl: 8.4
wxPython: 2.8.6.0
* WxAgg extension not required for wxPython >= 2.8
Gtk+: no
* Building for Gtk+ requires pygtk; you must be able
* to "import gtk" in your build/install environment
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: 1.9
ghostscript: 'gswin32c' is not recognized as an internal or
external command, operable program or batch file.
latex: no
EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES
configobj: matplotlib will provide
enthought.traits: matplotlib will provide
[Edit setup.cfg to suppress the above messages]
running build_ext
building 'matplotlib.ft2font' extension
creating build\temp.win32-2.5
creating build\temp.win32-2.5\Release
creating build\temp.win32-2.5\Release\src
creating build\temp.win32-2.5\Release\CXX
C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox /MD /W3 /GX /DNDEBUG -Iwin32_static\include -I. -
Iwin32_static\include\freetype2 -I.\freetype2 -IC:\bin\Python25\include -IC:\bin\Python25\PC /Tpsrc/ft2font.cpp /Fobuild
\temp.win32-2.5\Release\src/ft2font.obj
ft2font.cpp
src\ft2font.cpp(947) : warning C4244: 'initializing' : conversion from 'FT_Long' to 'FT_Bool', possible loss of data
C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox /MD /W3 /GX /DNDEBUG -Iwin32_static\include -I. -
Iwin32_static\include\freetype2 -I.\freetype2 -IC:\bin\Python25\include -IC:\bin\Python25\PC /Tpsrc/mplutils.cpp /Fobuil
d\temp.win32-2.5\Release\src/mplutils.obj
mplutils.cpp
C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox /MD /W3 /GX /DNDEBUG -Iwin32_static\include -I. -
Iwin32_static\include\freetype2 -I.\freetype2 -IC:\bin\Python25\include -IC:\bin\Python25\PC /TpCXX\cxxsupport.cxx /Fobu
ild\temp.win32-2.5\Release\CXX\cxxsupport.obj
cxxsupport.cxx
C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox /MD /W3 /GX /DNDEBUG -Iwin32_static\include -I. -
Iwin32_static\include\freetype2 -I.\freetype2 -IC:\bin\Python25\include -IC:\bin\Python25\PC /TpCXX\cxx_extensions.cxx /
Fobuild\temp.win32-2.5\Release\CXX\cxx_extensions.obj
cxx_extensions.cxx
C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox /MD /W3 /GX /DNDEBUG -Iwin32_static\include -I. -
Iwin32_static\include\freetype2 -I.\freetype2 -IC:\bin\Python25\include -IC:\bin\Python25\PC /TpCXX\IndirectPythonInterf
ace.cxx /Fobuild\temp.win32-2.5\Release\CXX\IndirectPythonInterface.obj
IndirectPythonInterface.cxx
C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox /MD /W3 /GX /DNDEBUG -Iwin32_static\include -I. -
Iwin32_static\include\freetype2 -I.\freetype2 -IC:\bin\Python25\include -IC:\bin\Python25\PC /TcCXX\cxxextensions.c /Fob
uild\temp.win32-2.5\Release\CXX\cxxextensions.obj
cxxextensions.c
C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:win32_static\lib /LIBPAT
H:C:\bin\Python25\libs /LIBPATH:C:\bin\Python25\PCBuild freetype.lib z.lib /EXPORT:initft2font build\temp.win32-2.5\Rele
ase\src/ft2font.obj build\temp.win32-2.5\Release\src/mplutils.obj build\temp.win32-2.5\Release\CXX\cxxsupport.obj build\
temp.win32-2.5\Release\CXX\cxx_extensions.obj build\temp.win32-2.5\Release\CXX\IndirectPythonInterface.obj build\temp.wi
n32-2.5\Release\CXX\cxxextensions.obj /OUT:lib\matplotlib\ft2font.pyd /IMPLIB:build\temp.win32-2.5\Release\src\ft2font.l
ib
Creating library build\temp.win32-2.5\Release\src\ft2font.lib and object build\temp.win32-2.5\Release\src\ft2font.exp
building 'matplotlib.ttconv' extension
creating build\temp.win32-2.5\Release\ttconv
C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox /MD /W3 /GX /DNDEBUG -Iwin32_static\include -I. -
IC:\bin\Python25\include -IC:\bin\Python25\PC /Tpsrc/_ttconv.cpp /Fobuild\temp.win32-2.5\Release\src/_ttconv.obj
_ttconv.cpp
src\_ttconv.cpp(112) : warning C4101: 'e' : unreferenced local variable
src\_ttconv.cpp(166) : warning C4101: 'e' : unreferenced local variable
C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox /MD /W3 /GX /DNDEBUG -Iwin32_static\include -I. -
IC:\bin\Python25\include -IC:\bin\Python25\PC /Tpttconv/pprdrv_tt.cpp /Fobuild\temp.win32-2.5\Release\ttconv/pprdrv_tt.o
bj
pprdrv_tt.cpp
ttconv\pprdrv_tt.cpp(143) : warning C4101: 'e' : unreferenced local variable
ttconv\pprdrv_tt.cpp(312) : warning C4101: 'e' : unreferenced local variable
ttconv\pprdrv_tt.cpp(1136) : warning C4101: 'e' : unreferenced local variable
C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox /MD /W3 /GX /DNDEBUG -Iwin32_static\include -I. -
IC:\bin\Python25\include -IC:\bin\Python25\PC /Tpttconv/pprdrv_tt2.cpp /Fobuild\temp.win32-2.5\Release\ttconv/pprdrv_tt2
.obj
pprdrv_tt2.cpp
C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox /MD /W3 /GX /DNDEBUG -Iwin32_static\include -I. -
IC:\bin\Python25\include -IC:\bin\Python25\PC /Tpttconv/ttutil.cpp /Fobuild\temp.win32-2.5\Release\ttconv/ttutil.obj
ttutil.cpp
C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:win32_static\lib /LIBPAT
H:C:\bin\Python25\libs /LIBPATH:C:\bin\Python25\PCBuild /EXPORT:initttconv build\temp.win32-2.5\Release\src/_ttconv.obj
build\temp.win32-2.5\Release\ttconv/pprdrv_tt.obj build\temp.win32-2.5\Release\ttconv/pprdrv_tt2.obj build\temp.win32-2.
5\Release\ttconv/ttutil.obj /OUT:lib\matplotlib\ttconv.pyd /IMPLIB:build\temp.win32-2.5\Release\src\ttconv.lib
Creating library build\temp.win32-2.5\Release\src\ttconv.lib and object build\temp.win32-2.5\Release\src\ttconv.exp
building 'matplotlib._cntr' extension
C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox /MD /W3 /GX /DNDEBUG -IC:\bin\Python25\lib\site-p
ackages\numpy\core\include -Iwin32_static\include -I. -IC:\bin\Python25\include -IC:\bin\Python25\PC /Tcsrc/cntr.c /Fobu
ild\temp.win32-2.5\Release\src/cntr.obj
cntr.c
C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:win32_static\lib /LIBPAT
H:C:\bin\Python25\libs /LIBPATH:C:\bin\Python25\PCBuild /EXPORT:init_cntr build\temp.win32-2.5\Release\src/cntr.obj /OUT
:lib\matplotlib\_cntr.pyd /IMPLIB:build\temp.win32-2.5\Release\src\_cntr.lib
Creating library build\temp.win32-2.5\Release\src\_cntr.lib and object build\temp.win32-2.5\Release\src\_cntr.exp
building 'matplotlib.nxutils' extension
C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox /MD /W3 /GX /DNDEBUG -IC:\bin\Python25\lib\site-p
ackages\numpy\core\include -Iwin32_static\include -I. -IC:\bin\Python25\include -IC:\bin\Python25\PC /Tcsrc/nxutils.c /F
obuild\temp.win32-2.5\Release\src/nxutils.obj
nxutils.c
C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:win32_static\lib /LIBPAT
H:C:\bin\Python25\libs /LIBPATH:C:\bin\Python25\PCBuild /EXPORT:initnxutils build\temp.win32-2.5\Release\src/nxutils.obj
/OUT:lib\matplotlib\nxutils.pyd /IMPLIB:build\temp.win32-2.5\Release\src\nxutils.lib
Creating library build\temp.win32-2.5\Release\src\nxutils.lib and object build\temp.win32-2.5\Release\src\nxutils.exp
building 'matplotlib._path' extension
creating build\temp.win32-2.5\Release\agg24
creating build\temp.win32-2.5\Release\agg24\src
C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox /MD /W3 /GX /DNDEBUG -IC:\bin\Python25\lib\site-p
ackages\numpy\core\include -Iwin32_static\include -I. -IC:\bin\Python25\lib\site-packages\numpy\core\include -Isrc -Iagg
24/include -I. -IC:\bin\Python25\include -IC:\bin\Python25\PC /Tpagg24/src/agg_curves.cpp /Fobuild\temp.win32-2.5\Releas
e\agg24/src/agg_curves.obj
agg_curves.cpp
C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox /MD /W3 /GX /DNDEBUG -IC:\bin\Python25\lib\site-p
ackages\numpy\core\include -Iwin32_static\include -I. -IC:\bin\Python25\lib\site-packages\numpy\core\include -Isrc -Iagg
24/include -I. -IC:\bin\Python25\include -IC:\bin\Python25\PC /Tpagg24/src/agg_bezier_arc.cpp /Fobuild\temp.win32-2.5\Re
lease\agg24/src/agg_bezier_arc.obj
agg_bezier_arc.cpp
C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox /MD /W3 /GX /DNDEBUG -IC:\bin\Python25\lib\site-p
ackages\numpy\core\include -Iwin32_static\include -I. -IC:\bin\Python25\lib\site-packages\numpy\core\include -Isrc -Iagg
24/include -I. -IC:\bin\Python25\include -IC:\bin\Python25\PC /Tpagg24/src/agg_trans_affine.cpp /Fobuild\temp.win32-2.5\
Release\agg24/src/agg_trans_affine.obj
agg_trans_affine.cpp
C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox /MD /W3 /GX /DNDEBUG -IC:\bin\Python25\lib\site-p
ackages\numpy\core\include -Iwin32_static\include -I. -IC:\bin\Python25\lib\site-packages\numpy\core\include -Isrc -Iagg
24/include -I. -IC:\bin\Python25\include -IC:\bin\Python25\PC /Tpagg24/src/agg_vcgen_stroke.cpp /Fobuild\temp.win32-2.5\
Release\agg24/src/agg_vcgen_stroke.obj
agg_vcgen_stroke.cpp
C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox /MD /W3 /GX /DNDEBUG -IC:\bin\Python25\lib\site-p
ackages\numpy\core\include -Iwin32_static\include -I. -IC:\bin\Python25\lib\site-packages\numpy\core\include -Isrc -Iagg
24/include -I. -IC:\bin\Python25\include -IC:\bin\Python25\PC /TpCXX\cxxsupport.cxx /Fobuild\temp.win32-2.5\Release\CXX\
cxxsupport.obj
cxxsupport.cxx
C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox /MD /W3 /GX /DNDEBUG -IC:\bin\Python25\lib\site-p
ackages\numpy\core\include -Iwin32_static\include -I. -IC:\bin\Python25\lib\site-packages\numpy\core\include -Isrc -Iagg
24/include -I. -IC:\bin\Python25\include -IC:\bin\Python25\PC /TpCXX\cxx_extensions.cxx /Fobuild\temp.win32-2.5\Release\
CXX\cxx_extensions.obj
cxx_extensions.cxx
C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox /MD /W3 /GX /DNDEBUG -IC:\bin\Python25\lib\site-p
ackages\numpy\core\include -Iwin32_static\include -I. -IC:\bin\Python25\lib\site-packages\numpy\core\include -Isrc -Iagg
24/include -I. -IC:\bin\Python25\include -IC:\bin\Python25\PC /TpCXX\IndirectPythonInterface.cxx /Fobuild\temp.win32-2.5
\Release\CXX\IndirectPythonInterface.obj
IndirectPythonInterface.cxx
C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox /MD /W3 /GX /DNDEBUG -IC:\bin\Python25\lib\site-p
ackages\numpy\core\include -Iwin32_static\include -I. -IC:\bin\Python25\lib\site-packages\numpy\core\include -Isrc -Iagg
24/include -I. -IC:\bin\Python25\include -IC:\bin\Python25\PC /TcCXX\cxxextensions.c /Fobuild\temp.win32-2.5\Release\CXX
\cxxextensions.obj
cxxextensions.c
C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox /MD /W3 /GX /DNDEBUG -IC:\bin\Python25\lib\site-p
ackages\numpy\core\include -Iwin32_static\include -I. -IC:\bin\Python25\lib\site-packages\numpy\core\include -Isrc -Iagg
24/include -I. -IC:\bin\Python25\include -IC:\bin\Python25\PC /Tpsrc/path.cpp /Fobuild\temp.win32-2.5\Release\src/path.o
bj
path.cpp
c:\home\mspacek\Desktop\Work\matplotlib\src\agg_py_path_iterator.h(98) : warning C4800: 'PyArrayObject *' : forcing valu
e to bool 'true' or 'false' (performance warning)
src\path.cpp(308) : error C2039: 'numeric_limits' : is not a member of 'std'
src\path.cpp(308) : error C2065: 'numeric_limits' : undeclared identifier
src\path.cpp(308) : error C2062: type 'double' unexpected
src\path.cpp(308) : error C2039: 'infinity' : is not a member of 'operator``global namespace'''
src\path.cpp(309) : error C2039: 'numeric_limits' : is not a member of 'std'
src\path.cpp(309) : error C2062: type 'double' unexpected
src\path.cpp(309) : error C2039: 'infinity' : is not a member of 'operator``global namespace'''
src\path.cpp(310) : error C2039: 'numeric_limits' : is not a member of 'std'
src\path.cpp(310) : error C2062: type 'double' unexpected
src\path.cpp(310) : error C2039: 'infinity' : is not a member of 'operator``global namespace'''
src\path.cpp(311) : error C2039: 'numeric_limits' : is not a member of 'std'
src\path.cpp(311) : error C2062: type 'double' unexpected
src\path.cpp(311) : error C2039: 'infinity' : is not a member of 'operator``global namespace'''
src\path.cpp(312) : error C2039: 'numeric_limits' : is not a member of 'std'
src\path.cpp(312) : error C2062: type 'double' unexpected
src\path.cpp(312) : error C2039: 'infinity' : is not a member of 'operator``global namespace'''
src\path.cpp(313) : error C2039: 'numeric_limits' : is not a member of 'std'
src\path.cpp(313) : error C2062: type 'double' unexpected
src\path.cpp(313) : error C2039: 'infinity' : is not a member of 'operator``global namespace'''
src\path.cpp(309) : error C3861: 'numeric_limits': identifier not found, even with argument-dependent lookup
src\path.cpp(310) : error C3861: 'numeric_limits': identifier not found, even with argument-dependent lookup
src\path.cpp(311) : error C3861: 'numeric_limits': identifier not found, even with argument-dependent lookup
src\path.cpp(312) : error C3861: 'numeric_limits': identifier not found, even with argument-dependent lookup
src\path.cpp(313) : error C3861: 'numeric_limits': identifier not found, even with argument-dependent lookup
src\path.cpp(340) : warning C4800: 'long' : forcing value to bool 'true' or 'false' (performance warning)
src\path.cpp(385) : error C2039: 'numeric_limits' : is not a member of 'std'
src\path.cpp(385) : error C2062: type 'double' unexpected
src\path.cpp(385) : error C2039: 'infinity' : is not a member of 'operator``global namespace'''
src\path.cpp(386) : error C2039: 'numeric_limits' : is not a member of 'std'
src\path.cpp(386) : error C2062: type 'double' unexpected
src\path.cpp(386) : error C2039: 'infinity' : is not a member of 'operator``global namespace'''
src\path.cpp(387) : error C2039: 'numeric_limits' : is not a member of 'std'
src\path.cpp(387) : error C2062: type 'double' unexpected
src\path.cpp(387) : error C2039: 'infinity' : is not a member of 'operator``global namespace'''
src\path.cpp(388) : error C2039: 'numeric_limits' : is not a member of 'std'
src\path.cpp(388) : error C2062: type 'double' unexpected
src\path.cpp(388) : error C2039: 'infinity' : is not a member of 'operator``global namespace'''
src\path.cpp(389) : error C2039: 'numeric_limits' : is not a member of 'std'
src\path.cpp(389) : error C2062: type 'double' unexpected
src\path.cpp(389) : error C2039: 'infinity' : is not a member of 'operator``global namespace'''
src\path.cpp(390) : error C2039: 'numeric_limits' : is not a member of 'std'
src\path.cpp(390) : error C2062: type 'double' unexpected
src\path.cpp(390) : error C2039: 'infinity' : is not a member of 'operator``global namespace'''
src\path.cpp(385) : error C3861: 'numeric_limits': identifier not found, even with argument-dependent lookup
src\path.cpp(386) : error C3861: 'numeric_limits': identifier not found, even with argument-dependent lookup
src\path.cpp(387) : error C3861: 'numeric_limits': identifier not found, even with argument-dependent lookup
src\path.cpp(388) : error C3861: 'numeric_limits': identifier not found, even with argument-dependent lookup
src\path.cpp(389) : error C3861: 'numeric_limits': identifier not found, even with argument-dependent lookup
src\path.cpp(390) : error C3861: 'numeric_limits': identifier not found, even with argument-dependent lookup
src\path.cpp(475) : error C2039: 'numeric_limits' : is not a member of 'std'
src\path.cpp(475) : error C2062: type 'double' unexpected
src\path.cpp(475) : error C2039: 'infinity' : is not a member of 'operator``global namespace'''
src\path.cpp(476) : error C2039: 'numeric_limits' : is not a member of 'std'
src\path.cpp(476) : error C2062: type 'double' unexpected
src\path.cpp(476) : error C2039: 'infinity' : is not a member of 'operator``global namespace'''
src\path.cpp(477) : error C2039: 'numeric_limits' : is not a member of 'std'
src\path.cpp(477) : error C2062: type 'double' unexpected
src\path.cpp(477) : error C2039: 'infinity' : is not a member of 'operator``global namespace'''
src\path.cpp(478) : error C2039: 'numeric_limits' : is not a member of 'std'
src\path.cpp(478) : error C2062: type 'double' unexpected
src\path.cpp(478) : error C2039: 'infinity' : is not a member of 'operator``global namespace'''
src\path.cpp(479) : error C2039: 'numeric_limits' : is not a member of 'std'
src\path.cpp(479) : error C2062: type 'double' unexpected
src\path.cpp(479) : error C2039: 'infinity' : is not a member of 'operator``global namespace'''
src\path.cpp(480) : error C2039: 'numeric_limits' : is not a member of 'std'
src\path.cpp(480) : error C2062: type 'double' unexpected
src\path.cpp(480) : error C2039: 'infinity' : is not a member of 'operator``global namespace'''
src\path.cpp(475) : error C3861: 'numeric_limits': identifier not found, even with argument-dependent lookup
src\path.cpp(476) : error C3861: 'numeric_limits': identifier not found, even with argument-dependent lookup
src\path.cpp(477) : error C3861: 'numeric_limits': identifier not found, even with argument-dependent lookup
src\path.cpp(478) : error C3861: 'numeric_limits': identifier not found, even with argument-dependent lookup
src\path.cpp(479) : error C3861: 'numeric_limits': identifier not found, even with argument-dependent lookup
src\path.cpp(480) : error C3861: 'numeric_limits': identifier not found, even with argument-dependent lookup
src\path.cpp(535) : warning C4800: 'long' : forcing value to bool 'true' or 'false' (performance warning)
src\path.cpp(835) : warning C4800: 'long' : forcing value to bool 'true' or 'false' (performance warning)
src\path.cpp(1001) : error C2146: syntax error : missing ')' before identifier 'or'
src\path.cpp(1000) : error C3861: 'not': identifier not found, even with argument-dependent lookup
src\path.cpp(1003) : error C2059: syntax error : ')'
error: command '"C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe"' failed with exit status 2
It looks like _path.cpp is a new file that was added since my last update. Any ideas?
Thanks!
Martin