[Distutils] Compile Windows64 AMD64

Thomas Heller theller at ctypes.org
Sat May 19 00:07:52 CEST 2007

Mowry, Peter schrieb:
> I am trying to compile a python extension for Windows64 using distutils
> from "Python 2.5.1 (r251:54863, Apr 18 2007, 09:02:36) [MSC v.1400 64
> bit (AMD64)] on win32".  My extension basically is just a simple C code
> file which does a LoadLibrary (dlopen for unix) of my 64-bit shared
> library (dll/so) (and then call one function to test it).

> Then when I try it after setting env variables DISTUTILS_USE_SDK and
> MSSdk (both to "1"), it says:
> error: Don't know how to compile demo.C
Can it be that the file must be named 'demo.c' instead of 'demo.C'?


More information about the Distutils-SIG mailing list