building extensions: ming & python mathlink for win32

Jelle Feringa // EZCT / Paris jelle.feringa at ezct.net
Thu Jan 20 20:38:35 CET 2005


Have been trying to build python extensions from the C libs ming & mathlink.
I have been able to produce a .pyd object after studying Mike Fletchers
excellent: 
http://www.vrplumber.com/programming/mstoolkit/
 
which is a terrific tutorial for anyone trying to compile .pyd on win32!
 
Building mathlink (communicating with mathematica from python!) was semi
successful in the sense that it did build a .pyd, Semi, since importing it
gave: >>> import mathlink
Fatal Python error: Error initializing mathlink extension module
 
This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.
 
Has anyone been able to compile this extension for python?
Same thing goes for Ming (c lib for compiling flas .swf files), such a pity
no disutils script is included in this very powerful library!
##if you succeeded to build this, please consider sharing it with me! (2.3
is fine as well!)
 
What struck me while trying to compile is that instead of the Active Python
2.4 version I was running I downloaded and installed the python.org version
(as recommended by Fletcher), and while launching it, I stated 
 
ActivePython 2.4 Build 243 (ActiveState Corp.) based on Python 2.4
 
HUH! WHAT! No actual difference between the python.org & activestate
version???
 
Cheers,
 
Jelle.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20050120/49f1efb0/attachment.html>


More information about the Python-list mailing list