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,
Mike

On 12/04/2012 09:46 AM, Benjamin Root wrote:
I can't seem to build v1.2.x branch right now on CentOS6. This has not been a problem before. I get the following error message while trying to build the freetype2 stuff:

creating build/temp.linux-x86_64-2.7/CXX
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include -I/nas/home/broot/centos6/lib/python2.7/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/home/broot/.local_centos6/include/python2.7 -c src/ft2font.cpp -o build/temp.linux-x86_64-2.7/src/ft2font.o src/ft2font.cpp: In member function 'Py::Object FT2Image::py_as_array(const Py::Tuple&)':
src/ft2font.cpp:388: error: 'PyArray_UBYTE' was not declared in this scope
src/ft2font.cpp: In member function 'Py::Object FT2Font::get_path()':
src/ft2font.cpp:626: error: 'PyArray_DOUBLE' was not declared in this scope
src/ft2font.cpp:632: error: 'PyArray_UINT8' was not declared in this scope
error: command 'gcc' failed with exit status 1


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d


_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to