18 May
2007
18 May
'07
5:07 p.m.
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'? Thomas