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

Zhou, Mi Mi.Zhou at STJUDE.ORG
Fri Jan 12 11:29:09 CST 2007


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 it complains about is:
static void * floor_data[] = { (void *)floor,  (void *)floor,  (void
*)"floor",  };

Does anybody know how to fix it?

Thanks,

Mi Zhou




More information about the Numpy-discussion mailing list