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