Any fix for wxAgg on Mac?

Now when I try to build matplotlib it fails. Ouch.

It starts out with the same warning as last time: DeprecationWarning: The wxPython compatibility package is no longer automatically generated or activly maintained. Please switch to the wx package as soon as possible.

This really is just a warning -- I doubt it has anything to do with your issue.

$ which wx-config
$ ls -l /usr/local/bin/wx-config
lrwxr-xr-x 1 root admin 75 Nov 8 13:50 /usr/local/bin/wx-config -> /usr/local/lib/wxPython-unicode-
$ wx-config --version-full
$ wx-config --libs
-L/usr/local/lib/wxPython-unicode- -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 -framework QuickTime -framework IOKit -framework Carbon -framework Cocoa -framework System -lwx_macud-2.7

That does look right.

gcc: src/_wxagg.cpp
src/_wxagg.cpp: In function 'wxBitmap* convert_agg2bitmap(RendererAgg*, Bbox*)':
src/_wxagg.cpp:238: error: conversion from 'wxImage*' to 'const wxString' is ambiguous

That looks like a real error, though one I'm out of my (very limited) C++ depth to help with.

I'm going to see if I can give it a try with the new wxPython 2.7.2 -- and I'll post a note to the wxPython list -- someone there might understand this.



On second thought --- Russell E Owen wrote:

Christopher Barker, Ph.D.
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception