[Distutils] Problem compiling Extensions on Win32
Michiel Jan Laurens de Hoon
mdehoon at ims.u-tokyo.ac.jp
Wed Feb 4 20:29:51 EST 2004
G D wrote:
> python setup.py build -cmingw32
>
> I get a hole bunch of undefined interface type errors (the computer's at home
> so I'm going by memory) similar to __Inf__PyString undefined, and it ends off
> with a line about WinMain at 16 with that setup terminates.
If these are linking errors, the problem might be that you don't have a
gcc-style Python library. See
http://bonsai.ims.u-tokyo.ac.jp/~mdehoon/software/python/cygwin.html
for details on how to get one.
> I'm a bit confused, is there something else to compiling under windows I'm
> missing? do I need to be in MSys (I've just been trying from cmd)?
Usually I run this from Cygwin's command prompt (using Windows' Python), which
works fine.
--Michiel.
--
Michiel de Hoon, Assistant Professor
University of Tokyo, Institute of Medical Science
Human Genome Center
4-6-1 Shirokane-dai, Minato-ku
Tokyo 108-8639
Japan
http://bonsai.ims.u-tokyo.ac.jp/~mdehoon
More information about the Distutils-SIG
mailing list