Re: [Matplotlib-users] win32 build error in _path.cpp: 'numeric_limits' : is not a member of 'std'

2008-04-24 Thread Michael Droettboom
Thanks. Your suggested changes (slightly modified) are in SVN r5070. Thanks for the warning output -- I'll try to tackle some of those as well. Cheers, Mike Martin Spacek wrote: It worked! I had to make a few changes, and there's lots of warnings, but it's now compiling. I've attached a

Re: [Matplotlib-users] win32 build error in _path.cpp: 'numeric_limits' : is not a member of 'std'

2008-04-23 Thread Michael Droettboom
It doesn't appear to exist in VS2008 -- at least I can't find it in the online docs. Maybe someone else can enlighten me. In the meantime, I just wrote my own round function and switched to use that. Please update from SVN and let me know how it goes. And again, thank you for your patience.

Re: [Matplotlib-users] win32 build error in _path.cpp: 'numeric_limits' : is not a member of 'std'

2008-04-22 Thread Michael Droettboom
Martin Spacek wrote: Michael, Sorry for the delay. Adding: #include limits to the top of path.cpp in rev5055 helps - most of the errors have disappeared, but I still get this: running build_ext building 'matplotlib._path' extension C:\bin\Microsoft Visual Studio .NET

Re: [Matplotlib-users] win32 build error in _path.cpp: 'numeric_limits' : is not a member of 'std'

2008-04-22 Thread Martin Spacek
round() is defined in math.h so adding #include math.h to the top of the file might fix it. Thanks for your patience! Mike Just tried the latest rev where you've added math.h to the top, still get the same error. Apparently round isn't defined in math.h:

Re: [Matplotlib-users] win32 build error in _path.cpp: 'numeric_limits' : is not a member of 'std'

2008-04-21 Thread Martin Spacek
Michael, Sorry for the delay. Adding: #include limits to the top of path.cpp in rev5055 helps - most of the errors have disappeared, but I still get this: running build_ext building 'matplotlib._path' extension C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox /MD /W3

Re: [Matplotlib-users] win32 build error in _path.cpp: 'numeric_limits' : is not a member of 'std'

2008-04-17 Thread Michael Droettboom
Unfortunately, you're using a compiler I don't have access to. I don't think even the guy that makes the Windows releases (Charlie Moad) uses Visual Studio 2003. That is not to say we don't want VS2003 to work, just that it unfortunately doesn't get much testing and you're hitting the

Re: [Matplotlib-users] win32 build error in _path.cpp: 'numeric_limits' : is not a member of 'std'

2008-04-17 Thread Charlie Moad
Actually I do use VS2003 for the releases. I haven't tried a build in a while, but I did have to add some ifdef's while building that last release. You can see these changes here: http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/trunk/matplotlib/ttconv/ttutil.cpp?revision=3953view=markup

Re: [Matplotlib-users] win32 build error in _path.cpp: 'numeric_limits' : is not a member of 'std'

2008-04-15 Thread Martin Spacek
I just tried reverting to some older revs. r4802 (0.91.2 release) builds fine. r4817, where the transforms branch was merged in, doesn't, and gives what looks like the same error (see below) as the current revision (see previous post). I think r4817 is also the first time the file _path.cpp

[Matplotlib-users] win32 build error in _path.cpp: 'numeric_limits' : is not a member of 'std'

2008-04-14 Thread Martin Spacek
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