[Numpy-discussion] Compiling on windows?

Tim Hochberg tim.hochberg at cox.net
Thu Jun 24 09:42:13 CDT 2004


 I've been using numarray 0.8 since 0.9 has some bugs that I can't 
easily work around. Since these have been fixed in CVS, I finally 
decided to try to download and compile a copy of numarray from CVS. 
Unfortunately, 'python setup.py build' bombs out almost imediately:

creating build\temp.win32-2.3
creating build\temp.win32-2.3\Release
creating build\temp.win32-2.3\Release\Src
C:\Program Files\Microsoft Visual Studio\VC98\BIN\cl.exe /c /nologo /Ox 
/MD /W3 /GX /DNDEBUG -IInclude/numarray -IC:\python23\include 
-IC:\python23\PC /TcSrc\_convmodule.c 
/Fobuild\temp.win32-2.3\Release\Src\_convmodule.obj_convmodule.c
Src\_convmodule.c(683) : warning C4244: '=' : conversion from 'int ' to 
'float ', possible loss of data

....

Src\_convmodule.c(2310) : error C2520: conversion from unsigned __int64 
to double not implemented, use signed __int64
error: command '"C:\Program Files\Microsoft Visual 
Studio\VC98\BIN\cl.exe"' failed with exit status 2


This on Windows XP, Python 2.3.2, VC++ 6.0. Any hints as to what I could 
to make this work? I downloaded the source for version 0.9 and tried 
compiling it but got the same set of errors.

Alternatively, is there going to be a 0.9.1 or 0.10 release soon?

Thanks,

-tim





More information about the Numpy-discussion mailing list