From: Andrew S. <as...@ca...> - 2004-05-21 19:06:50
|
I'm having trouble building matplotlib CVS HEAD using Windows XP, and Python 2.2.1, Microsoft .NET 2003 Professional cl.exe: I just checked out numarray CVS Head ('0.9.1', but I'm on the anonymous pserver, so there may be a several-day lag), built that, removed the old version from C:\Python22, and installed the new verison. I also have Numeric 21.0 installed from the bdist_wininst installer. Compiliing matplotlib (fresh from CVS) with either numarray or Numeric specified in setup.py, I get: This seems like a (simple?) C++ issue in _transforms.cpp. I try to avoid C++ myself, so hopefully this error report will be enought for someone else to solve it... running build_ext building 'matplotlib._transforms' extension _transforms.cpp c:\Program Files\Microsoft Visual Studio .NET 2003\VC7\BIN\cl.exe /c /nologo /Ox /MD /W3 /GX -Isrc -I. -IC:\Python22\include /Tpsrc/_transforms.cpp 1/Fobuild\temp.win32-2.2\Release\_transforms.obj -DNUMARRAY CXX\Objects.hxx(1128) : error C2039: 'random_access_iterator' : is not a member of 'std' CXX\Objects.hxx(1128) : see reference to class template instantiation 'Py::SeqBase<T>::iterator' being compiled CXX\Objects.hxx(1390) : see reference to class template instantiation 'Py::SeqBase<T>' being compiled CXX\Objects.hxx(1128) : error C2504: 'random_access_iterator' : base class undefined CXX\Objects.hxx(1128) : error C2143: syntax error : missing ',' before '<' CXX\Objects.hxx(1264) : error C2039: 'random_access_iterator' : is not a member of 'std' CXX\Objects.hxx(1264) : see reference to class template instantiation 'Py::SeqBase<T>::const_iterator' being compiled CXX\Objects.hxx(1264) : error C2504: 'random_access_iterator' : base class undefined CXX\Objects.hxx(1264) : error C2143: syntax error : missing ',' before '<' CXX\Objects.hxx(1128) : error C2039: 'random_access_iterator' : is not a member of 'std' CXX\Objects.hxx(2162) : see reference to class template instantiation 'Py::SeqBase<T>::iterator' being compiled with [ T=Py::Object ] CXX\Objects.hxx(2149) : see reference to class template instantiation 'Py::MapBase<T>::iterator' being compiled CXX\Objects.hxx(2330) : see reference to class template instantiation 'Py::MapBase<T>' being compiled CXX\Objects.hxx(1128) : error C2504: 'random_access_iterator' : base class undefined CXX\Objects.hxx(1128) : error C2143: syntax error : missing ',' before '<' src\_transforms.cpp(110) : error C2039: 'numeric_limits' : is not a member of 'std' src\_transforms.cpp(110) : error C2065: 'numeric_limits' : undeclared identifier src\_transforms.cpp(110) : error C2062: type 'double' unexpected src\_transforms.cpp(111) : error C2039: 'numeric_limits' : is not a member of 'std' src\_transforms.cpp(111) : error C2062: type 'double' unexpected src\_transforms.cpp(111) : error C3861: 'numeric_limits': identifier not found, even with argument-dependent lookup src\_transforms.cpp(280) : error C2039: 'numeric_limits' : is not a member of 'std' src\_transforms.cpp(280) : error C2062: type 'double' unexpected src\_transforms.cpp(281) : error C2039: 'numeric_limits' : is not a member of 'std' src\_transforms.cpp(281) : error C2062: type 'double' unexpected src\_transforms.cpp(282) : error C2039: 'numeric_limits' : is not a member of 'std' src\_transforms.cpp(282) : error C2062: type 'double' unexpected src\_transforms.cpp(283) : error C2039: 'numeric_limits' : is not a member of 'std' src\_transforms.cpp(283) : error C2062: type 'double' unexpected src\_transforms.cpp(280) : error C3861: 'numeric_limits': identifier not found, even with argument-dependent lookup src\_transforms.cpp(281) : error C3861: 'numeric_limits': identifier not found, even with argument-dependent lookup src\_transforms.cpp(282) : error C3861: 'numeric_limits': identifier not found, even with argument-dependent lookup src\_transforms.cpp(283) : error C3861: 'numeric_limits': identifier not found, even with argument-dependent lookup creating build\temp.win32-2.2 creating build\temp.win32-2.2\Release error: command 'cl.exe' failed with exit status 2 |