Re: [matplotlib-devel] build failure in v1.2.x branch

2014-03-18 Thread Greg-M
Turns out I had turned off the deprecated Numpy API a year or so ago after I updated Numpy. By removing my definition of the non deprecated Numpy Version at the end of my ndarraytypes.h file, I was able to get the git version of matplotlib to compile and install successfully. Hope this helps anyon

Re: [matplotlib-devel] build failure in v1.2.x branch

2014-03-17 Thread Greg-M
Hi all, I'm trying to build matplotlib 1.3.1 from source on a Windows 8.1 machine via Cygwin. It seems I'm gettting similar errors to what Ben was above: In file included from src/file_compat.h:7:0, from src/ft2font.cpp:7: src/ft2font.cpp: In member function ‘Py::Object FT2Image:

Re: [matplotlib-devel] build failure in v1.2.x branch

2012-12-04 Thread Benjamin Root
On Tue, Dec 4, 2012 at 1:10 PM, Michael Droettboom wrote: > I think I see what's happened. I accidentally committed a #define in > there when I was experimenting last week with removing deprecated Numpy > APIs. It didn't cause things to break for me, but it looks like it could > break things f

Re: [matplotlib-devel] build failure in v1.2.x branch

2012-12-04 Thread Michael Droettboom
I think I see what's happened. I accidentally committed a #define in there when I was experimenting last week with removing deprecated Numpy APIs. It didn't cause things to break for me, but it looks like it could break things for more recent Numpy's. I've just gone ahead and reverted my cha

Re: [matplotlib-devel] build failure in v1.2.x branch

2012-12-04 Thread Benjamin Root
On Tue, Dec 4, 2012 at 10:43 AM, Michael Droettboom wrote: > It looks like we're using the "old" Numpy API there. Did you recently > update Numpy by any chance? I hadn't realised these APIs had been turned > off yet, but maybe they are in git master. In any event, we should update > these to

Re: [matplotlib-devel] build failure in v1.2.x branch

2012-12-04 Thread Michael Droettboom
It looks like we're using the "old" Numpy API there. Did you recently update Numpy by any chance? I hadn't realised these APIs had been turned off yet, but maybe they are in git master. In any event, we should update these to the new APIs (NPY_UBYTE instead of PyArray_UBYTE etc.). Cheers,