[Numpy-discussion] failed to build numpy and Numeric in Windows

2007-01-26 Thread Zhou, Mi
Hi, I am trying to build Numpy-1.01 in windows using "python setup.py build". My C compiler is MSVS2005. The compiler throws an error about umathmodule.c: "__umath_generated.c(72): error C2099: initializer is not a constant." Tried with Numeric-24.2, it gives the same error. The line of code

Re: [Numpy-discussion] failed to build numpy and Numeric in Windows

2007-01-12 Thread Gerard Vermeulen
# Moreover, the compiler flags /Og as deprecated. +self.compile_options = [ + '/nologo', '/Ob2ty', '/MD', '/W3', '/EHsc' , '/DNDEBUG'] +self.compile_options_debug = [ +'/nologo

Re: [Numpy-discussion] failed to build numpy and Numeric in Windows

2007-01-12 Thread Zhou, Mi
ceil(): static void * floor_data[] = { (void *)ceil, (void *)ceil, (void *)"floor", }; Thanks, Mi -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Kern Sent: Friday, January 12, 2007 1:55 PM To: Discussion of Numerical Python Subject: Re: [Num

Re: [Numpy-discussion] failed to build numpy and Numeric in Windows

2007-01-12 Thread Robert Kern
Zhou, Mi wrote: > Hi, > > I am trying to build Numpy-1.01 in windows using "python setup.py > build". My C compiler is MSVS2005. Hmm. I was pretty sure that MSVS2005 was not capable of building Python extension modules that work with the official Python interpreter builds. That doesn't explain o

[Numpy-discussion] failed to build numpy and Numeric in Windows

2007-01-12 Thread Zhou, Mi
Hi, I am trying to build Numpy-1.01 in windows using "python setup.py build". My C compiler is MSVS2005. The compiler throws an error about umathmodule.c: "__umath_generated.c(72): error C2099: initializer is not a constant." Tried with Numeric-24.2, it gives the same error. The line of code