2010/5/25 Pim Schellart <p.schell...@gmail.com>:
> I tried both and although it now seems to find the libraries it still
> fails to link something.
>
> src/_png.cpp:293: error: ‘png_infopp_NULL’ was not declared in this scope
> src/_png.cpp:293: error: ‘png_infopp_NULL’ was not declared in this scope

I compiled matplotlib-0.99.1.2 just yesterday fine on Snow Leopard
from source without being aware of make.osx (with freetype2-2.3.12,
libpng-1.4.1).  The problem I'm citing here, which seems to be
actually also your problem, is due to an API change in linbpng from
1.3 to 1.4.  I soon ago pointed this out on the list but there were no
responses.  One can add #defines for the missing things in
src/_png.cpp to fix it.

I don't know if you would run into some more problems but this one is solvable.

But I also modified setupext.py to find my libraries in /usr/local.

Friedrich

------------------------------------------------------------------------------

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

Reply via email to