[Numpy-tickets] [NumPy] #973: Error compiling trunk using MSVS 9

NumPy numpy-tickets@scipy....
Fri Dec 19 06:33:16 CST 2008


#973: Error compiling trunk using MSVS 9
--------------------+-------------------------------------------------------
 Reporter:  faltet  |       Owner:  somebody
     Type:  defect  |      Status:  new     
 Priority:  normal  |   Milestone:  1.3.0   
Component:  Other   |     Version:  devel   
 Severity:  normal  |    Keywords:          
--------------------+-------------------------------------------------------
 FYI. After trying to compile the NumPy trunk with MSVS 9 (32-bits), I'm
 getting the next error:

 {{{
 C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\link.exe /DLL
 /nologo
 /INCREMENTAL:NO /LIBPATH:C:\Python26\libs /LIBPATH:C:\Python26\PCbuild
 /EXPORT:i
 nitmtrand build\temp.win32-2.6\Release\numpy\random\mtrand\mtrand.obj
 build\temp
 .win32-2.6\Release\numpy\random\mtrand\randomkit.obj
 build\temp.win32-2.6\Releas
 e\numpy\random\mtrand\initarray.obj
 build\temp.win32-2.6\Release\numpy\random\mt
 rand\distributions.obj /OUT:build\lib.win32-2.6\numpy\random\mtrand.pyd
 /IMPLIB:
 build\temp.win32-2.6\Release\numpy\random\mtrand\mtrand.lib
 /MANIFESTFILE:build\
 temp.win32-2.6\Release\numpy\random\mtrand\mtrand.pyd.manifest
    Creating library
 build\temp.win32-2.6\Release\numpy\random\mtrand\mtrand.lib
 and object build\temp.win32-2.6\Release\numpy\random\mtrand\mtrand.exp
 randomkit.obj : error LNK2019: unresolved external symbol
 __imp__CryptReleaseCon
 text@8 referenced in function _rk_devfill
 randomkit.obj : error LNK2019: unresolved external symbol
 __imp__CryptGenRandom@
 12 referenced in function _rk_devfill
 randomkit.obj : error LNK2019: unresolved external symbol
 __imp__CryptAcquireCon
 textA@20 referenced in function _rk_devfill
 build\lib.win32-2.6\numpy\random\mtrand.pyd : fatal error LNK1120: 3
 unresolved
 externals
 error: Command "C:\Program Files (x86)\Microsoft Visual Studio
 9.0\VC\BIN\link.e
 xe /DLL /nologo /INCREMENTAL:NO /LIBPATH:C:\Python26\libs
 /LIBPATH:C:\Python26\P
 Cbuild /EXPORT:initmtrand
 build\temp.win32-2.6\Release\numpy\random\mtrand\mtran
 d.obj build\temp.win32-2.6\Release\numpy\random\mtrand\randomkit.obj
 build\temp.
 win32-2.6\Release\numpy\random\mtrand\initarray.obj
 build\temp.win32-2.6\Release
 \numpy\random\mtrand\distributions.obj
 /OUT:build\lib.win32-2.6\numpy\random\mtr
 and.pyd
 /IMPLIB:build\temp.win32-2.6\Release\numpy\random\mtrand\mtrand.lib /MAN
 IFESTFILE:build\temp.win32-2.6\Release\numpy\random\mtrand\mtrand.pyd.manifest"
 failed with exit status 1120
 }}}

 I regularly use MSVS 9 to compile trunk, but I've never seen this error
 before.

-- 
Ticket URL: <http://scipy.org/scipy/numpy/ticket/973>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.


More information about the Numpy-tickets mailing list