[SciPy-User] Numpy Building(AMD64)

Ewan Maxwell sungsuha@gmail....
Sun Dec 20 19:19:17 CST 2009


Hi!

I cannot [Build Numpy] which I want for [PyCuda]

I have [Windows 7(x64)] and PSDK 6.1(tried 7, didn't work either)
    Compilers:
        VS 2008(Not Express)
        gfortran(http://gcc.gnu.org/wiki/GFortranBinaries;                                                                          
http://quatramaran.ens.fr/~coudert/gfortran/gfortran-windows.exe)
        Python 2.6.4(AMD64)

I downloaded the numpy-1.3.0 source

I try

python.exe setup.py install



I get this

C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\link.exe /DLL /nologo
/INCREMENTAL:NO /LIBPATH:C:\Apps\Python26\libs /LIBPATH:C:\Apps\Python26\PCbuil
\amd64 /LIBPATH:build\temp.win-amd64-2.6 /EXPORT:init_sort build\temp.win-amd64
2.6\Release\build\src.win-amd64-2.6\numpy\core\src\_sortmodule.obj /OUT:build\l
b.win-amd64-2.6\numpy\core\_sort.pyd /IMPLIB:build\temp.win-amd64-2.6\Release\b
ild\src.win-amd64-2.6\numpy\core\src\_sort.lib /MANIFESTFILE:build\temp.win-amd
4-2.6\Release\build\src.win-amd64-2.6\numpy\core\src\_sort.pyd.manifest
   Creating library build\temp.win-amd64-2.6\Release\build\src.win-amd64-2.6\nu
py\core\src\_sort.lib and object build\temp.win-amd64-2.6\Release\build\src.win
amd64-2.6\numpy\core\src\_sort.exp
_sortmodule.obj : error LNK2019: unresolved external symbol __imp__PyErr_Format
referenced in function __import_array
_sortmodule.obj : error LNK2019: unresolved external symbol __imp__PyExc_Runtim
Error referenced in function __import_array
_sortmodule.obj : error LNK2019: unresolved external symbol __imp__PyCObject_As
oidPtr referenced in function __import_array
_sortmodule.obj : error LNK2019: unresolved external symbol __imp__PyCObject_Ty
e referenced in function __import_array
_sortmodule.obj : error LNK2019: unresolved external symbol __imp__PyObject_Get
ttrString referenced in function __import_array
_sortmodule.obj : error LNK2019: unresolved external symbol __imp__PyImport_Imp
rtModule referenced in function __import_array
_sortmodule.obj : error LNK2019: unresolved external symbol __imp__PyErr_NoMemo
y referenced in function _BOOL_mergesort
_sortmodule.obj : error LNK2019: unresolved external symbol __imp__PyMem_Free r
ferenced in function _BOOL_amergesort
_sortmodule.obj : error LNK2019: unresolved external symbol __imp__PyMem_Malloc
referenced in function _BOOL_amergesort
_sortmodule.obj : error LNK2019: unresolved external symbol __imp__PyErr_SetStr
ng referenced in function _init_sort
_sortmodule.obj : error LNK2019: unresolved external symbol __imp__PyExc_Import
rror referenced in function _init_sort
_sortmodule.obj : error LNK2019: unresolved external symbol __imp__PyErr_Print
eferenced in function _init_sort
_sortmodule.obj : error LNK2019: unresolved external symbol __imp__Py_InitModul
4 referenced in function _init_sort
build\lib.win-amd64-2.6\numpy\core\_sort.pyd : fatal error LNK1120: 13 unresolv
d externals
error: Command "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\link.
xe /DLL /nologo /INCREMENTAL:NO /LIBPATH:C:\Apps\Python26\libs /LIBPATH:C:\Apps
Python26\PCbuild\amd64 /LIBPATH:build\temp.win-amd64-2.6 /EXPORT:init_sort buil
\temp.win-amd64-2.6\Release\build\src.win-amd64-2.6\numpy\core\src\_sortmodule.
bj /OUT:build\lib.win-amd64-2.6\numpy\core\_sort.pyd /IMPLIB:build\temp.win-amd
4-2.6\Release\build\src.win-amd64-2.6\numpy\core\src\_sort.lib /MANIFESTFILE:bu
ld\temp.win-amd64-2.6\Release\build\src.win-amd64-2.6\numpy\core\src\_sort.pyd.
anifest" failed with exit status 1120

What I'm I doing wrong? What can I do better?



More information about the SciPy-User mailing list