[Numpy-discussion] numpy-1.0b3 under windows

Jordan Dawe jdawe at eos.ubc.ca
Wed Aug 23 16:27:29 CDT 2006


I just tried to compile numpy-1.0b3 under windows using mingw.  I got 
this error:

compile options: '-Ibuild\src.win32-2.4\numpy\core\src 
-Inumpy\core\include -Ibuild\src.win32-2.4\numpy\core -Inumpy\core\src 
-Inumpy\core\include -Ic:\Python24\include -Ic:\Python24\PC -c'
gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes 
-Ibuild\src.win32-2.4\numpy\core\src -Inumpy\core\include 
-Ibuild\src.win32-2.4\numpy\core -Inumpy\core\src -Inumpy\core\include 
-Ic:\Python24\include -Ic:\Python24\PC -c 
numpy\core\src\multiarraymodule.c -o 
build\temp.win32-2.4\Release\numpy\core\src\multiarraymodule.o
In file included from numpy/core/src/multiarraymodule.c:64:
numpy/core/src/arrayobject.c:6643: initializer element is not constant
numpy/core/src/arrayobject.c:6643: (near initialization for 
`PyArray_Type.tp_free')
numpy/core/src/arrayobject.c:10312: initializer element is not constant
numpy/core/src/arrayobject.c:10312: (near initialization for 
`PyArrayMultiIter_Type.tp_free')
numpy/core/src/arrayobject.c:11189: initializer element is not constant
numpy/core/src/arrayobject.c:11189: (near initialization for 
`PyArrayDescr_Type.tp_hash')
error: Command "gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes 
-Ibuild\src.win32-2.4\numpy\core\src -Inumpy\core\include 
-Ibuild\src.win32-2.4\numpy\core -Inumpy\core\src -Inumpy\core\include 
-Ic:\Python24\include -Ic:\Python24\PC -c 
numpy\core\src\multiarraymodule.c -o 
build\temp.win32-2.4\Release\numpy\core\src\multiarraymodule.o" failed 
with exit status 1

Any ideas?

Jordan Dawe





More information about the Numpy-discussion mailing list