Re: Problem with building extension in Python

2007-07-18 Thread cornpicker
I solved my problem. I had the math.h import step in the wrong location. The import step needed to be outside of the function -- I'm so embarrassed. Code: [Download] 1. 2. # 3. # Use C math functions 4. # 5. 6. # Import the native C functions we need 7. cdef extern from "ma

Re: Problem with building extension in Python

2007-07-12 Thread cornpicker
On Jul 5, 4:33 am, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Thu, 05 Jul 2007 05:08:58 -0300, <[EMAIL PROTECTED]> > escribió: > > > I have already install Microsoft visual studio .NET 2003 and MinGw, > > when I try to build a extension: > > Is this for Python 2.4? I think you can't compil

Re: Problem with building extension in Python

2007-07-05 Thread Gabriel Genellina
En Thu, 05 Jul 2007 05:08:58 -0300, <[EMAIL PROTECTED]> escribió: > I have already install Microsoft visual studio .NET 2003 and MinGw, > when I try to build a extension: Is this for Python 2.4? I think you can't compile Python 2.5 with VS2003. > python my_extension_setup.py build ( or install

Re: Problem with building extension in Python

2007-07-05 Thread Stefan Behnel
[EMAIL PROTECTED] wrote: > I have already install Microsoft visual studio .NET 2003 and MinGw, > when I try to build a extension: > > python my_extension_setup.py build ( or install ) , I get an error: > > LINK : fatal error LNK1141: failure during build of exports file > error: command '"C:\Prog

Problem with building extension in Python

2007-07-05 Thread vedrandekovic
Hi, I have already install Microsoft visual studio .NET 2003 and MinGw, when I try to build a extension: python my_extension_setup.py build ( or install ) , I get an error: LINK : fatal error LNK1141: failure during build of exports file error: command '"C:\Program Files\Microsoft Visual Studio