[issue18210] Problem creating extension in python3.3 with mingw32

2013-06-14 Thread Aditya Atluri
New submission from Aditya Atluri: I am trying to build c extensions in windows using mingw32. The file hello.c works fine with 2.7 but, errors are poping up in 3.3. Attachments: [1] log.txt : The errors [2] hello.c : The C file [3] setup.py: The setup file The command I used in cmd is

[issue15315] Can't build Python extension with mingw32 on Windows

2013-06-14 Thread Aditya Atluri
Aditya Atluri added the comment: I have found a hack for the issue. First, install Microsoft Visual C++ 2010 Redistributable Package. Second, copy the msvcr100.dll to C:\Python33\libs. Reason: During compilation, the directory for linking is C:\Python44\libs. Both -lpython and -lmsvcr100 are