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

Zhou, Mi Mi.Zhou at STJUDE.ORG
Fri Jan 12 14:36:18 EST 2007


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

"__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?


Mi Zhou

More information about the NumPy-Discussion mailing list