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::py_as_array(const
Py::Tuple&)’:
src/ft2font.cpp:397:83: error: ‘PyArray_UBYTE’ was not declared in this
scope
 PyArrayObject *A = (PyArrayObject *) PyArray_SimpleNewFromData(2,
dimensions, PyArray_UBYTE, _buffer);


Is there any other possible explanations for this issue? I'm using Numpy
1.7.2.

Thanks,
Greg




--
View this message in context: 
http://matplotlib.1069221.n5.nabble.com/build-failure-in-v1-2-x-branch-tp39933p43087.html
Sent from the matplotlib - devel mailing list archive at Nabble.com.

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


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 anyone else seeing similar errors.

-Greg



--
View this message in context: 
http://matplotlib.1069221.n5.nabble.com/build-failure-in-v1-2-x-branch-tp39933p43096.html
Sent from the matplotlib - devel mailing list archive at Nabble.com.

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel