env:
win10 Python35 vs2015 cuda8.0
while import theano, I get the following messages:

MSVCRT.lib(gs_report.obj) : error LNK2001: 无法解析的外部符号 __imp_RtlCaptureContext
MSVCRT.lib(utility_desktop.obj) : error LNK2019: 无法解析的外部符号 
__imp_RtlLookupFunctionEntry,该符号在函数 __scrt_fa
stfail 中被引用
MSVCRT.lib(gs_report.obj) : error LNK2001: 无法解析的外部符号 
__imp_RtlLookupFunctionEntry
MSVCRT.lib(utility_desktop.obj) : error LNK2019: 无法解析的外部符号 
__imp_RtlVirtualUnwind,该符号在函数 __scrt_fastfail
 中被引用
MSVCRT.lib(gs_report.obj) : error LNK2001: 无法解析的外部符号 __imp_RtlVirtualUnwind
MSVCRT.lib(utility_desktop.obj) : error LNK2019: 无法解析的外部符号 
__imp_IsDebuggerPresent,该符号在函数 __scrt_fastfai
l 中被引用
MSVCRT.lib(utility_desktop.obj) : error LNK2019: 无法解析的外部符号 
__imp_UnhandledExceptionFilter,该符号在函数 __scrt_
fastfail 中被引用
MSVCRT.lib(gs_report.obj) : error LNK2001: 无法解析的外部符号 
__imp_UnhandledExceptionFilter
MSVCRT.lib(utility_desktop.obj) : error LNK2019: 无法解析的外部符号 
__imp_SetUnhandledExceptionFilter,该符号在函数 __sc
rt_fastfail 中被引用
MSVCRT.lib(gs_report.obj) : error LNK2001: 无法解析的外部符号 
__imp_SetUnhandledExceptionFilter
MSVCRT.lib(utility_desktop.obj) : error LNK2019: 无法解析的外部符号 
__imp_GetStartupInfoW,该符号在函数 __scrt_get_show_
window_mode 中被引用
MSVCRT.lib(utility_desktop.obj) : error LNK2019: 无法解析的外部符号 
IsProcessorFeaturePresent,该符号在函数 __scrt_fastf
ail 中被引用
MSVCRT.lib(gs_report.obj) : error LNK2001: 无法解析的外部符号 
IsProcessorFeaturePresent
MSVCRT.lib(utility_desktop.obj) : error LNK2019: 无法解析的外部符号 
__imp_GetModuleHandleW,该符号在函数 __scrt_is_manag
ed_app 中被引用
MSVCRT.lib(gs_report.obj) : error LNK2019: 无法解析的外部符号 
__imp_GetCurrentProcess,该符号在函数 __raise_securityfail
ure 中被引用
MSVCRT.lib(gs_report.obj) : error LNK2019: 无法解析的外部符号 
__imp_TerminateProcess,该符号在函数 __raise_securityfailu
re 中被引用
MSVCRT.lib(gs_support.obj) : error LNK2019: 无法解析的外部符号 
__imp_QueryPerformanceCounter,该符号在函数 __security_in
it_cookie 中被引用
MSVCRT.lib(gs_support.obj) : error LNK2019: 无法解析的外部符号 
__imp_GetCurrentProcessId,该符号在函数 __security_init_c
ookie 中被引用
MSVCRT.lib(gs_support.obj) : error LNK2019: 无法解析的外部符号 
__imp_GetCurrentThreadId,该符号在函数 __security_init_co
okie 中被引用
MSVCRT.lib(gs_support.obj) : error LNK2019: 无法解析的外部符号 
__imp_GetSystemTimeAsFileTime,该符号在函数 __security_in
it_cookie 中被引用
MSVCRT.lib(dll_dllmain_stub.obj) : error LNK2019: 无法解析的外部符号 
__imp_DisableThreadLibraryCalls,该符号在函数 DllMa
in 中被引用
MSVCRT.lib(tncleanup.obj) : error LNK2019: 无法解析的外部符号 
__imp_InitializeSListHead,该符号在函数 "void __cdecl __sc
rt_initialize_type_info(void)" (?__scrt_initialize_type_info@@YAXXZ) 中被引用
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Lib\uuid.lib : warning 
LNK4272:库计算机类型“X86”与目标计算机类型“x64
”冲突
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Lib\kernel32.lib : 
warning LNK4272:库计算机类型“X86”与目标计算机类型
“x64”冲突
C:/Users/chmtt/AppData/Local/Theano/compiledir_Windows-10-10.0.15063-SP0-Intel64_Family_6_Model_58_Stepping_9_GenuineInt
el-3.5.2-64/cuda_ndarray/cuda_ndarray.pyd : fatal error LNK1120: 23 
个无法解析的外部命令

['nvcc', '-shared', '-O3', '-LE:\\Anaconda3\\libs', '-use_fast_math', 
'--compiler-bindir', 'C:\\Program Files (x86)\\Mic
rosoft Visual Studio 14.0\\VC\\bin\\amd64', '-Xlinker', '/DEBUG', '-D 
HAVE_ROUND', '-m64', '-Xcompiler', '-DCUDA_NDARRAY
_CUH=mc72d035fdf91890f3b36710688069b2e,-DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION,/Zi,/MD',
 
'-IC:\\Anaconda3\\lib\\site
-packages\\theano\\sandbox\\cuda', 
'-IC:\\Anaconda3\\lib\\site-packages\\numpy\\core\\include', 
'-IC:\\Anaconda3\\includ
e', '-IC:\\Anaconda3\\lib\\site-packages\\theano\\gof', '-o', 
'C:\\Users\\chmtt\\AppData\\Local\\Theano\\compiledir_Wind
ows-10-10.0.15063-SP0-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-3.5.2-64\\cuda_ndarray\\cuda_ndarray.pyd',
 
'mod.
cu', '-LC:\\Anaconda3\\libs', '-LC:\\Anaconda3', '-lcublas', '-lpython35', 
'-lcudart']
ERROR (theano.sandbox.cuda): Failed to compile cuda_ndarray.cu: ('nvcc 
return status', 2, 'for cmd', 'nvcc -shared -O3 -
LE:\\Anaconda3\\libs -use_fast_math --compiler-bindir C:\\Program Files 
(x86)\\Microsoft Visual Studio 14.0\\VC\\bin\\am
d64 -Xlinker /DEBUG -D HAVE_ROUND -m64 -Xcompiler 
-DCUDA_NDARRAY_CUH=mc72d035fdf91890f3b36710688069b2e,-DNPY_NO_DEPRECAT
ED_API=NPY_1_7_API_VERSION,/Zi,/MD 
-IC:\\Anaconda3\\lib\\site-packages\\theano\\sandbox\\cuda 
-IC:\\Anaconda3\\lib\\site
-packages\\numpy\\core\\include -IC:\\Anaconda3\\include 
-IC:\\Anaconda3\\lib\\site-packages\\theano\\gof -o C:\\Users\\
chmtt\\AppData\\Local\\Theano\\compiledir_Windows-10-10.0.15063-SP0-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-3.
5.2-64\\cuda_ndarray\\cuda_ndarray.pyd mod.cu -LC:\\Anaconda3\\libs 
-LC:\\Anaconda3 -lcublas -lpython35 -lcudart')
WARNING (theano.sandbox.cuda): CUDA is installed, but device gpu is not 
available  (error: cuda unavailable)


Is there any guys know how to fix it? 

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to