On Tuesday, 26 July 2011 23:53:36 UTC, llw...@gmail.com wrote:
> Hi all again,
> I wonder if so far only Python 2.5.x support c extension. I try the
> MSVC 2010 and 2008, also try mingw (gcc 4.x.x) and swig. But even I try
> the simplest example, it said
>
> example_wrap.o:example_wrap.c:(.te
On 27/07/11 01:53, llwa...@gmail.com wrote:
>
> $ python setup.py build --compiler=mingw32
> running build
> running build_ext
> building 'example' extension
> D:\Programs\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall "-Ic:\Program Files
> (x8
> 6)\Python\include" "-Ic:\Program Files (x86)\Python\
Hi all again,
I wonder if so far only Python 2.5.x support c extension. I try the
MSVC 2010 and 2008, also try mingw (gcc 4.x.x) and swig. But even I try
the simplest example, it said
example_wrap.o:example_wrap.c:(.text+0x10ac): undefined reference to
`_imp__PyObject_Free'
example_wrap.o:ex