SourceForge logo
SourceForge logo
Menu

Re: [matplotlib-devel] Re: building mpl on windows for wx blitting

From: Ken M. <mc...@ii...> - 2006年01月08日 03:28:53
On Jan 7, 2006, at 3:33 PM, Charlie Moad wrote:
> I was on the wx list a little and got some help, but no solutions.
> Basically I get the same linker errors if I pass no wx libs, so mingw
> is not finding any symbols in the libraries. It is not complaining
> about the libraries either.
That's pretty strange behavior in a compiler. The compiler output 
you posted earlier doesn't make it clear how your build environment 
was set up. It seems to me that the _wxagg extension must be built 
using the wxPython-win32-devel headers and libraries to ensure 
compatibility with the current stable version of wxPython and wxWidgets.
This may result in an extension that only works with one version of 
wxPython. I'm not sure how best to deal with that situation in a 
binary distribution. It may be to build a _wxagg extension for 
several versions of wxPython and select the right one at run time.
> Someone on the list said the c++ symbols are mangled by visual studio,
> so the only way to get it to work is compile _wxagg wil vs.
That's something I hadn't considered before now, but is no doubt the 
case. There isn't a standard application binary interface for C++ 
compilers, so they tend to use different name mangling schemes to 
discourage you from shooting your foot (e.g. by linking incompatible 
object files together into an application that doesn't work).
I'm afraid I'm not going to be of much help here, since don't have 
easy access to a windows computer. I just got back from the lab, 
where I spent several hours trying to get the build environment setup 
so I could build matplotlib. I gave up in the end, having failed to 
get the Agg backend to build due to weird linking errors.
If anyone needs me I'll be hugging my iBook and crying. ;-)
Ken

View entire thread

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /