We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I get fatal error LNK1120: 130 unresolved externals when I try to build the py-faster-rcnn with CUDA. Any help is appreciated a lot.
fatal error LNK1120: 130 unresolved externals
py-faster-rcnn
Software Stack:
- Windows 10 - Python 3.7 - CUDA v10.1
Here is the full stacktrace:
running build running build_ext building 'nms.gpu_nms' extension C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc.exe --compiler-bindir "D:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\bin\Hostx64\x64" -c -IC:\Users\talha\AppData\Local\Programs\Python\Python37\lib\site-packages\numpy\core\include -IC:\Programming\CUDA\v7.5\include -IC:\Users\talha\AppData\Local\Programs\Python\Python37\include -IC:\Users\talha\AppData\Local\Programs\Python\Python37\include "-ID:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\ATLMFC\include" "-ID:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include" "-ID:\Windows Kits\10\include\10.0.17763.0\ucrt" "-ID:\Windows Kits\10\include\10.0.17763.0\shared" "-ID:\Windows Kits\10\include\10.0.17763.0\um" "-ID:\Windows Kits\10\include\10.0.17763.0\winrt" "-ID:\Windows Kits\10\include\10.0.17763.0\cppwinrt" nms\gpu_nms.cu -o build\temp.win-amd64-3.7\Release\nms\gpu_nms.obj -O3 --ptxas-options=-v -arch=sm_35 -c --compiler-options=/nologo,/Ox,/W3,/GL,/DNDEBUG,/MT gpu_nms.cu nms/gpu_nms.cu(6901): warning: function "__Pyx_PyObject_AsString" was declared but never referenced nms/gpu_nms.cu(6898): warning: function "__Pyx_PyUnicode_FromString" was declared but never referenced nms/gpu_nms.cu(7013): warning: function "__Pyx_PyIndex_AsSsize_t" was declared but never referenced nms/gpu_nms.cu(7075): warning: function "__Pyx_PyInt_FromSize_t" was declared but never referenced nms/gpu_nms.cu(5918): warning: function "__pyx_t_float_complex_from_parts" was declared but never referenced nms/gpu_nms.cu(6040): warning: function "__pyx_t_double_complex_from_parts" was declared but never referenced nms/gpu_nms.cu(6557): warning: function "__Pyx_PyInt_From_long" was declared but never referenced nms/gpu_nms.cu(1929): warning: function "__pyx_pw_5numpy_7ndarray_1__getbuffer__" was declared but never referenced nms/gpu_nms.cu(2801): warning: function "__pyx_pw_5numpy_7ndarray_3__releasebuffer__" was declared but never referenced nms/gpu_nms.cu(2891): warning: function "__pyx_f_5numpy_PyArray_MultiIterNew1" was declared but never referenced nms/gpu_nms.cu(2938): warning: function "__pyx_f_5numpy_PyArray_MultiIterNew2" was declared but never referenced nms/gpu_nms.cu(2985): warning: function "__pyx_f_5numpy_PyArray_MultiIterNew3" was declared but never referenced nms/gpu_nms.cu(3032): warning: function "__pyx_f_5numpy_PyArray_MultiIterNew4" was declared but never referenced nms/gpu_nms.cu(3079): warning: function "__pyx_f_5numpy_PyArray_MultiIterNew5" was declared but never referenced nms/gpu_nms.cu(3881): warning: function "__pyx_f_5numpy_set_array_base" was declared but never referenced nms/gpu_nms.cu(3977): warning: function "__pyx_f_5numpy_get_array_base" was declared but never referenced ptxas info : 0 bytes gmem ptxas info : Compiling entry function '_Z10nms_kernelifPKfPy' for 'sm_35' ptxas info : Function properties for _Z10nms_kernelifPKfPy 0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads ptxas info : Used 22 registers, 1280 bytes smem, 344 bytes cmem[0], 16 bytes cmem[2] C:\Users\talha\AppData\Local\Programs\Python\Python37\lib\site-packages\numpy\core\include\numpy\npy_1_7_deprecated_api.h(12) : Warning Msg: Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION nms/gpu_nms.cu(1638): warning C4244: '=': conversion from 'npy_intp' to 'int', possible loss of data nms/gpu_nms.cu(1647): warning C4244: '=': conversion from 'npy_intp' to 'int', possible loss of data C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc.exe --compiler-bindir "D:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\bin\Hostx64\x64" ucrt.lib --shared -LC:\Users\talha\AppData\Local\Programs\Python\Python37\libs -LC:\Users\talha\AppData\Local\Programs\Python\Python37\PCbuild\amd64 "-LD:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\ATLMFC\lib\x64" "-LD:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\lib\x64" "-LD:\Windows Kits\10\lib\10.0.17763.0\ucrt\x64" "-LD:\Windows Kits\10\lib\10.0.17763.0\um\x64" -lcublas build\temp.win-amd64-3.7\Release\nms\gpu_nms.obj -o build\lib.win-amd64-3.7\nms\gpu_nms.cp37-win_amd64.pyd --linker-options=/nologo,/INCREMENTAL:NO,/LTCG,/nodefaultlib:libucrt.lib,/MANIFEST:EMBED,/MANIFESTUAC:NO,/IMPLIB:build\temp.win-amd64-3.7\Release\nms\gpu_nms.cp37-win_amd64.lib,/NODEFAULTLIB:libcmt.lib ucrt.lib gpu_nms.obj Creating library build\temp.win-amd64-3.7\Release\nms\gpu_nms.cp37-win_amd64.lib and object build\temp.win-amd64-3.7\Release\nms\gpu_nms.cp37-win_amd64.exp libcpmt.lib(xlocale.obj) : error LNK2001: unresolved external symbol __CxxFrameHandler3 libcpmt.lib(ios.obj) : error LNK2001: unresolved external symbol __CxxFrameHandler3 libcpmt.lib(iosptrs.obj) : error LNK2001: unresolved external symbol __CxxFrameHandler3 libcpmt.lib(locale.obj) : error LNK2001: unresolved external symbol __CxxFrameHandler3 libcpmt.lib(wlocale.obj) : error LNK2001: unresolved external symbol __CxxFrameHandler3 gpu_nms.obj : error LNK2001: unresolved external symbol __CxxFrameHandler3 libcpmt.lib(xonce.obj) : error LNK2001: unresolved external symbol __CxxFrameHandler3 libcpmt.lib(cout.obj) : error LNK2001: unresolved external symbol __CxxFrameHandler3 libcpmt.lib(locale0.obj) : error LNK2001: unresolved external symbol __CxxFrameHandler3 libcpmt.lib(StlCompareStringA.obj) : error LNK2001: unresolved external symbol __security_check_cookie libcpmt.lib(locale.obj) : error LNK2001: unresolved external symbol __security_check_cookie libcpmt.lib(StlLCMapStringA.obj) : error LNK2001: unresolved external symbol __security_check_cookie libcpmt.lib(wlocale.obj) : error LNK2001: unresolved external symbol __security_check_cookie libcpmt.lib(xlocale.obj) : error LNK2001: unresolved external symbol __security_check_cookie cudart_static.lib(cudart_helper.obj) : error LNK2001: unresolved external symbol __security_check_cookie cudart_static.lib(nvSecureLoadLibrary.obj) : error LNK2001: unresolved external symbol __security_check_cookie libcpmt.lib(xonce.obj) : error LNK2001: unresolved external symbol __security_check_cookie libcpmt.lib(cout.obj) : error LNK2001: unresolved external symbol __security_check_cookie cudart_static.lib(cudart_context.obj) : error LNK2001: unresolved external symbol __security_check_cookie cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __security_check_cookie cudart_static.lib(cudart_context_mgr.obj) : error LNK2001: unresolved external symbol __security_check_cookie cudart_static.lib(cudart_array.obj) : error LNK2001: unresolved external symbol __security_check_cookie gpu_nms.obj : error LNK2001: unresolved external symbol __security_check_cookie cudart_static.lib(generated_cuda_runtime_api.obj) : error LNK2001: unresolved external symbol __security_check_cookie cudart_static.lib(cuda_runtime_api.obj) : error LNK2001: unresolved external symbol __security_check_cookie cudart_static.lib(cudart_global.obj) : error LNK2001: unresolved external symbol __security_check_cookie libcpmt.lib(locale.obj) : error LNK2001: unresolved external symbol __std_exception_destroy libcpmt.lib(wlocale.obj) : error LNK2001: unresolved external symbol __std_exception_destroy libcpmt.lib(xlocale.obj) : error LNK2001: unresolved external symbol __std_exception_destroy gpu_nms.obj : error LNK2001: unresolved external symbol __std_exception_destroy libcpmt.lib(xonce.obj) : error LNK2001: unresolved external symbol __std_exception_destroy libcpmt.lib(xthrow.obj) : error LNK2001: unresolved external symbol __std_exception_destroy libcpmt.lib(cout.obj) : error LNK2001: unresolved external symbol __std_exception_destroy libcpmt.lib(xlocale.obj) : error LNK2001: unresolved external symbol "void __cdecl operator delete[](void *)" (??_V@YAXPEAX@Z) gpu_nms.obj : error LNK2001: unresolved external symbol "void __cdecl operator delete[](void *)" (??_V@YAXPEAX@Z) libcpmt.lib(cout.obj) : error LNK2001: unresolved external symbol "void __cdecl operator delete[](void *)" (??_V@YAXPEAX@Z) libcpmt.lib(syserror.obj) : error LNK2001: unresolved external symbol "void __cdecl operator delete[](void *)" (??_V@YAXPEAX@Z) libcpmt.lib(locale.obj) : error LNK2001: unresolved external symbol "void __cdecl operator delete[](void *)" (??_V@YAXPEAX@Z) libcpmt.lib(locale.obj) : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned __int64)" (??2@YAPEAX_K@Z) libcpmt.lib(wlocale.obj) : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned __int64)" (??2@YAPEAX_K@Z) libcpmt.lib(xlocale.obj) : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned __int64)" (??2@YAPEAX_K@Z) gpu_nms.obj : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned __int64)" (??2@YAPEAX_K@Z) libcpmt.lib(xonce.obj) : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned __int64)" (??2@YAPEAX_K@Z) libcpmt.lib(cout.obj) : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned __int64)" (??2@YAPEAX_K@Z) libcpmt.lib(locale0.obj) : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned __int64)" (??2@YAPEAX_K@Z) libcpmt.lib(locale.obj) : error LNK2001: unresolved external symbol __std_exception_copy libcpmt.lib(wlocale.obj) : error LNK2001: unresolved external symbol __std_exception_copy libcpmt.lib(xlocale.obj) : error LNK2001: unresolved external symbol __std_exception_copy gpu_nms.obj : error LNK2001: unresolved external symbol __std_exception_copy libcpmt.lib(xonce.obj) : error LNK2001: unresolved external symbol __std_exception_copy libcpmt.lib(xthrow.obj) : error LNK2001: unresolved external symbol __std_exception_copy libcpmt.lib(cout.obj) : error LNK2001: unresolved external symbol __std_exception_copy libcpmt.lib(cout.obj) : error LNK2001: unresolved external symbol atexit libcpmt.lib(locale0.obj) : error LNK2001: unresolved external symbol atexit libcpmt.lib(iosptrs.obj) : error LNK2001: unresolved external symbol atexit gpu_nms.obj : error LNK2001: unresolved external symbol atexit cudart_static.lib(cudart_global.obj) : error LNK2001: unresolved external symbol atexit cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol atexit libcpmt.lib(xlock.obj) : error LNK2001: unresolved external symbol atexit libcpmt.lib(xlocale.obj) : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *,unsigned __int64)" (??3@YAXPEAX_K@Z) libcpmt.lib(locale0.obj) : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *,unsigned __int64)" (??3@YAXPEAX_K@Z) libcpmt.lib(ios.obj) : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *,unsigned __int64)" (??3@YAXPEAX_K@Z) libcpmt.lib(locale.obj) : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *,unsigned __int64)" (??3@YAXPEAX_K@Z) libcpmt.lib(wlocale.obj) : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *,unsigned __int64)" (??3@YAXPEAX_K@Z) gpu_nms.obj : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *,unsigned __int64)" (??3@YAXPEAX_K@Z) libcpmt.lib(xonce.obj) : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *,unsigned __int64)" (??3@YAXPEAX_K@Z) libcpmt.lib(xthrow.obj) : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *,unsigned __int64)" (??3@YAXPEAX_K@Z) libcpmt.lib(cout.obj) : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *,unsigned __int64)" (??3@YAXPEAX_K@Z) libcpmt.lib(wlocale.obj) : error LNK2001: unresolved external symbol _purecall libcpmt.lib(xlocale.obj) : error LNK2001: unresolved external symbol _purecall gpu_nms.obj : error LNK2001: unresolved external symbol _purecall libcpmt.lib(cout.obj) : error LNK2001: unresolved external symbol _purecall libcpmt.lib(locale0.obj) : error LNK2001: unresolved external symbol _purecall libcpmt.lib(locale.obj) : error LNK2001: unresolved external symbol _purecall libcpmt.lib(locale.obj) : error LNK2001: unresolved external symbol __std_terminate gpu_nms.obj : error LNK2001: unresolved external symbol __std_terminate libcpmt.lib(cout.obj) : error LNK2001: unresolved external symbol __std_terminate libcpmt.lib(locale0.obj) : error LNK2001: unresolved external symbol __std_terminate libcpmt.lib(iosptrs.obj) : error LNK2001: unresolved external symbol __std_terminate gpu_nms.obj : error LNK2001: unresolved external symbol strchr libcpmt.lib(locale0.obj) : error LNK2001: unresolved external symbol "const type_info::`vftable'" (??_7type_info@@6B@) libcpmt.lib(locale.obj) : error LNK2001: unresolved external symbol "const type_info::`vftable'" (??_7type_info@@6B@) libcpmt.lib(wlocale.obj) : error LNK2001: unresolved external symbol "const type_info::`vftable'" (??_7type_info@@6B@) libcpmt.lib(xlocale.obj) : error LNK2001: unresolved external symbol "const type_info::`vftable'" (??_7type_info@@6B@) gpu_nms.obj : error LNK2001: unresolved external symbol "const type_info::`vftable'" (??_7type_info@@6B@) libcpmt.lib(xonce.obj) : error LNK2001: unresolved external symbol "const type_info::`vftable'" (??_7type_info@@6B@) libcpmt.lib(xthrow.obj) : error LNK2001: unresolved external symbol "const type_info::`vftable'" (??_7type_info@@6B@) libcpmt.lib(cout.obj) : error LNK2001: unresolved external symbol "const type_info::`vftable'" (??_7type_info@@6B@) LINK : error LNK2001: unresolved external symbol _DllMainCRTStartup libcpmt.lib(StlLCMapStringA.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck libcpmt.lib(wlocale.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck libcpmt.lib(xlocale.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck libcpmt.lib(StlCompareStringA.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck cudart_static.lib(nvSecureLoadLibrary.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck libcpmt.lib(xonce.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck libcpmt.lib(cout.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck libcpmt.lib(locale.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck cudart_static.lib(cudart_context_mgr.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck cudart_static.lib(cudart_array.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck cudart_static.lib(cudart_helper.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck cudart_static.lib(generated_cuda_runtime_api.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck cudart_static.lib(cuda_runtime_api.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck cudart_static.lib(cudart_global.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck cudart_static.lib(cudart_context.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck cudart_static.lib(nvSecureLoadLibrary.obj) : error LNK2001: unresolved external symbol __chkstk libcpmt.lib(StlLCMapStringA.obj) : error LNK2001: unresolved external symbol __chkstk libcpmt.lib(StlCompareStringA.obj) : error LNK2001: unresolved external symbol __chkstk cudart_static.lib(cudart_tls.obj) : error LNK2001: unresolved external symbol __chkstk cudart_static.lib(cudart_array.obj) : error LNK2001: unresolved external symbol __chkstk cudart_static.lib(cudart_helper.obj) : error LNK2001: unresolved external symbol __chkstk cudart_static.lib(tools_runtime_instance.obj) : error LNK2001: unresolved external symbol __chkstk cudart_static.lib(cudart_etbl.obj) : error LNK2001: unresolved external symbol __chkstk cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __chkstk cudart_static.lib(cudart_context_mgr.obj) : error LNK2001: unresolved external symbol __chkstk cudart_static.lib(cudart_thread.obj) : error LNK2001: unresolved external symbol __chkstk cudart_static.lib(generated_cuda_runtime_api.obj) : error LNK2001: unresolved external symbol __chkstk cudart_static.lib(cuda_runtime_api.obj) : error LNK2001: unresolved external symbol __chkstk cudart_static.lib(cudart_global.obj) : error LNK2001: unresolved external symbol __chkstk cudart_static.lib(cudart_context.obj) : error LNK2001: unresolved external symbol __chkstk libcpmt.lib(StlLCMapStringA.obj) : error LNK2001: unresolved external symbol __security_cookie libcpmt.lib(wlocale.obj) : error LNK2001: unresolved external symbol __security_cookie libcpmt.lib(xlocale.obj) : error LNK2001: unresolved external symbol __security_cookie libcpmt.lib(StlCompareStringA.obj) : error LNK2001: unresolved external symbol __security_cookie cudart_static.lib(nvSecureLoadLibrary.obj) : error LNK2001: unresolved external symbol __security_cookie libcpmt.lib(xonce.obj) : error LNK2001: unresolved external symbol __security_cookie libcpmt.lib(cout.obj) : error LNK2001: unresolved external symbol __security_cookie libcpmt.lib(locale.obj) : error LNK2001: unresolved external symbol __security_cookie cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __security_cookie cudart_static.lib(cudart_context_mgr.obj) : error LNK2001: unresolved external symbol __security_cookie cudart_static.lib(cudart_array.obj) : error LNK2001: unresolved external symbol __security_cookie cudart_static.lib(cudart_helper.obj) : error LNK2001: unresolved external symbol __security_cookie cudart_static.lib(generated_cuda_runtime_api.obj) : error LNK2001: unresolved external symbol __security_cookie cudart_static.lib(cuda_runtime_api.obj) : error LNK2001: unresolved external symbol __security_cookie cudart_static.lib(cudart_global.obj) : error LNK2001: unresolved external symbol __security_cookie cudart_static.lib(cudart_context.obj) : error LNK2001: unresolved external symbol __security_cookie libcpmt.lib(wlocale.obj) : error LNK2001: unresolved external symbol memcpy libcpmt.lib(xlocale.obj) : error LNK2001: unresolved external symbol memcpy libcpmt.lib(xwcsxfrm.obj) : error LNK2001: unresolved external symbol memcpy libcpmt.lib(xstrxfrm.obj) : error LNK2001: unresolved external symbol memcpy libcpmt.lib(xonce.obj) : error LNK2001: unresolved external symbol memcpy libcpmt.lib(cout.obj) : error LNK2001: unresolved external symbol memcpy libcpmt.lib(locale0.obj) : error LNK2001: unresolved external symbol memcpy libcpmt.lib(locale.obj) : error LNK2001: unresolved external symbol memcpy cudart_static.lib(cuda_runtime_api.obj) : error LNK2001: unresolved external symbol memcpy cudart_static.lib(cudart_array.obj) : error LNK2001: unresolved external symbol memcpy cudart_static.lib(cudart_helper.obj) : error LNK2001: unresolved external symbol memcpy cudart_static.lib(nvSecureLoadLibrary.obj) : error LNK2001: unresolved external symbol memcpy cudart_static.lib(cudart_global.obj) : error LNK2001: unresolved external symbol __imp_FreeLibrary cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_FreeLibrary cudart_static.lib(nvSecureLoadLibrary.obj) : error LNK2001: unresolved external symbol __imp_FreeLibrary cudart_static.lib(cudart_global.obj) : error LNK2001: unresolved external symbol __imp_GetProcAddress cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_GetProcAddress cudart_static.lib(nvSecureLoadLibrary.obj) : error LNK2001: unresolved external symbol __imp_GetProcAddress libcpmt.lib(winapisupp.obj) : error LNK2001: unresolved external symbol __imp_GetProcAddress libcpmt.lib(wlocale.obj) : error LNK2001: unresolved external symbol _fltused libcpmt.lib(xlocale.obj) : error LNK2001: unresolved external symbol _fltused cudart_static.lib(cudart_context.obj) : error LNK2001: unresolved external symbol _fltused cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol _fltused cudart_static.lib(cudart_helper.obj) : error LNK2001: unresolved external symbol _fltused libcpmt.lib(locale.obj) : error LNK2001: unresolved external symbol _fltused cudart_static.lib(cudart_etbl.obj) : error LNK2001: unresolved external symbol memcmp cudart_static.lib(nvSecureLoadLibrary.obj) : error LNK2001: unresolved external symbol memcmp libcpmt.lib(xstrcoll.obj) : error LNK2001: unresolved external symbol memcmp cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_GetEnvironmentVariableA cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_SetEnvironmentVariableA cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_GetCurrentDirectoryA cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_CreateDirectoryA cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_DeleteFileA cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_GetFileAttributesExA cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_LockFileEx cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_RemoveDirectoryA cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_UnlockFileEx cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_CloseHandle cudart_static.lib(nvSecureLoadLibrary.obj) : error LNK2001: unresolved external symbol __imp_CloseHandle cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_GetLastError cudart_static.lib(nvSecureLoadLibrary.obj) : error LNK2001: unresolved external symbol __imp_GetLastError libcpmt.lib(xonce.obj) : error LNK2001: unresolved external symbol __imp_GetLastError cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_QueryPerformanceCounter cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_QueryPerformanceFrequency cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_HeapCreate cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_HeapDestroy cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_HeapAlloc cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_HeapReAlloc cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_HeapFree cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_InitializeSRWLock cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_ReleaseSRWLockExclusive cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_ReleaseSRWLockShared cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_AcquireSRWLockExclusive cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_AcquireSRWLockShared cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_TryAcquireSRWLockExclusive cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_TryAcquireSRWLockShared cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_InitializeCriticalSection cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_EnterCriticalSection libcpmt.lib(xmtx.obj) : error LNK2001: unresolved external symbol __imp_EnterCriticalSection cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_LeaveCriticalSection libcpmt.lib(xmtx.obj) : error LNK2001: unresolved external symbol __imp_LeaveCriticalSection cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_TryEnterCriticalSection cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_DeleteCriticalSection libcpmt.lib(xmtx.obj) : error LNK2001: unresolved external symbol __imp_DeleteCriticalSection cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_InitializeConditionVariable cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_WakeConditionVariable cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_WakeAllConditionVariable cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_SleepConditionVariableCS cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_SetEvent cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_ResetEvent cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_ReleaseSemaphore cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_WaitForSingleObject cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_CreateEventA cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_Sleep cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_GetCurrentProcess cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_GetCurrentProcessId cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_SwitchToThread libcpmt.lib(winapisupp.obj) : error LNK2001: unresolved external symbol __imp_SwitchToThread cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_GetCurrentThread cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_GetCurrentThreadId cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_TlsAlloc libcpmt.lib(winapisupp.obj) : error LNK2001: unresolved external symbol __imp_TlsAlloc cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_TlsGetValue libcpmt.lib(winapisupp.obj) : error LNK2001: unresolved external symbol __imp_TlsGetValue cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_TlsSetValue libcpmt.lib(winapisupp.obj) : error LNK2001: unresolved external symbol __imp_TlsSetValue cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_TlsFree libcpmt.lib(winapisupp.obj) : error LNK2001: unresolved external symbol __imp_TlsFree cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_GlobalMemoryStatusEx cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_GetLocalTime cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_GetSystemInfo cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_GetNativeSystemInfo cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_VirtualAlloc cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_VirtualFree cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_VirtualProtect cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_VirtualQuery cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_FreeLibraryAndExitThread cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_GetModuleFileNameA cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_GetModuleHandleA cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_GetModuleHandleExA cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_GetProcessAffinityMask cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_SetThreadAffinityMask cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_WaitForMultipleObjects cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_CreateSemaphoreA cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_LoadLibraryA cudart_static.lib(cuoswin32.obj) : error LNK2001: unresolved external symbol __imp_GetComputerNameA cudart_static.lib(cudart_tls.obj) : error LNK2001: unresolved external symbol _tls_index cudart_static.lib(nvSecureLoadLibrary.obj) : error LNK2001: unresolved external symbol __report_rangecheckfailure cudart_static.lib(nvSecureLoadLibrary.obj) : error LNK2001: unresolved external symbol wcsrchr cudart_static.lib(nvSecureLoadLibrary.obj) : error LNK2001: unresolved external symbol wcsstr cudart_static.lib(nvSecureLoadLibrary.obj) : error LNK2001: unresolved external symbol __imp_VerSetConditionMask cudart_static.lib(nvSecureLoadLibrary.obj) : error LNK2001: unresolved external symbol __imp_CompareFileTime cudart_static.lib(nvSecureLoadLibrary.obj) : error LNK2001: unresolved external symbol __imp_CreateFileW cudart_static.lib(nvSecureLoadLibrary.obj) : error LNK2001: unresolved external symbol __imp_GetFileAttributesW cudart_static.lib(nvSecureLoadLibrary.obj) : error LNK2001: unresolved external symbol __imp_GetFullPathNameW cudart_static.lib(nvSecureLoadLibrary.obj) : error LNK2001: unresolved external symbol __imp_OutputDebugStringW cudart_static.lib(nvSecureLoadLibrary.obj) : error LNK2001: unresolved external symbol __imp_SetLastError libcpmt.lib(winapisupp.obj) : error LNK2001: unresolved external symbol __imp_SetLastError cudart_static.lib(nvSecureLoadLibrary.obj) : error LNK2001: unresolved external symbol __imp_CreateProcessA cudart_static.lib(nvSecureLoadLibrary.obj) : error LNK2001: unresolved external symbol __imp_CreateProcessW cudart_static.lib(nvSecureLoadLibrary.obj) : error LNK2001: unresolved external symbol __imp_GetSystemDirectoryW cudart_static.lib(nvSecureLoadLibrary.obj) : error LNK2001: unresolved external symbol __imp_GetModuleHandleW libcpmt.lib(winapisupp.obj) : error LNK2001: unresolved external symbol __imp_GetModuleHandleW cudart_static.lib(nvSecureLoadLibrary.obj) : error LNK2001: unresolved external symbol __imp_LoadLibraryExW cudart_static.lib(nvSecureLoadLibrary.obj) : error LNK2001: unresolved external symbol __imp_LocalAlloc cudart_static.lib(nvSecureLoadLibrary.obj) : error LNK2001: unresolved external symbol __imp_LocalFree cudart_static.lib(nvSecureLoadLibrary.obj) : error LNK2001: unresolved external symbol __imp_lstrcmpA cudart_static.lib(nvSecureLoadLibrary.obj) : error LNK2001: unresolved external symbol __imp_VerifyVersionInfoW cudart_static.lib(nvSecureLoadLibrary.obj) : error LNK2001: unresolved external symbol __imp_FileTimeToSystemTime libcpmt.lib(wlocale.obj) : error LNK2001: unresolved external symbol _CxxThrowException libcpmt.lib(xlocale.obj) : error LNK2001: unresolved external symbol _CxxThrowException libcpmt.lib(xonce.obj) : error LNK2001: unresolved external symbol _CxxThrowException libcpmt.lib(xthrow.obj) : error LNK2001: unresolved external symbol _CxxThrowException libcpmt.lib(cout.obj) : error LNK2001: unresolved external symbol _CxxThrowException libcpmt.lib(locale.obj) : error LNK2001: unresolved external symbol _CxxThrowException libcpmt.lib(xlocale.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck_EH libcpmt.lib(xonce.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck_EH libcpmt.lib(cout.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck_EH libcpmt.lib(locale.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck_EH libcpmt.lib(wlocale.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck_EH libcpmt.lib(xlocale.obj) : error LNK2001: unresolved external symbol memmove libcpmt.lib(xonce.obj) : error LNK2001: unresolved external symbol memmove libcpmt.lib(cout.obj) : error LNK2001: unresolved external symbol memmove libcpmt.lib(locale.obj) : error LNK2001: unresolved external symbol memmove libcpmt.lib(wlocale.obj) : error LNK2001: unresolved external symbol memmove libcpmt.lib(xlocale.obj) : error LNK2001: unresolved external symbol __guard_dispatch_icall_fptr libcpmt.lib(winapinls.obj) : error LNK2001: unresolved external symbol __guard_dispatch_icall_fptr libcpmt.lib(ios.obj) : error LNK2001: unresolved external symbol __guard_dispatch_icall_fptr libcpmt.lib(iosptrs.obj) : error LNK2001: unresolved external symbol __guard_dispatch_icall_fptr libcpmt.lib(locale.obj) : error LNK2001: unresolved external symbol __guard_dispatch_icall_fptr libcpmt.lib(wlocale.obj) : error LNK2001: unresolved external symbol __guard_dispatch_icall_fptr libcpmt.lib(xonce.obj) : error LNK2001: unresolved external symbol __guard_dispatch_icall_fptr libcpmt.lib(cout.obj) : error LNK2001: unresolved external symbol __guard_dispatch_icall_fptr libcpmt.lib(locale0.obj) : error LNK2001: unresolved external symbol __guard_dispatch_icall_fptr libcpmt.lib(winapisupp.obj) : error LNK2001: unresolved external symbol __guard_dispatch_icall_fptr libcpmt.lib(uncaught_exception.obj) : error LNK2001: unresolved external symbol __uncaught_exception libcpmt.lib(syserror.obj) : error LNK2001: unresolved external symbol "void * __cdecl operator new[](unsigned __int64)" (??_U@YAPEAX_K@Z) libcpmt.lib(syserror.obj) : error LNK2001: unresolved external symbol __imp_FormatMessageW libcpmt.lib(syserror.obj) : error LNK2001: unresolved external symbol __imp_WideCharToMultiByte libcpmt.lib(StlLCMapStringA.obj) : error LNK2001: unresolved external symbol __imp_WideCharToMultiByte libcpmt.lib(xwctomb.obj) : error LNK2001: unresolved external symbol __imp_WideCharToMultiByte libcpmt.lib(winapisupp.obj) : error LNK2001: unresolved external symbol __imp_InitializeCriticalSectionAndSpinCount libcpmt.lib(winapisupp.obj) : error LNK2001: unresolved external symbol __imp_CreateEventW libcpmt.lib(winapisupp.obj) : error LNK2001: unresolved external symbol __imp_GetSystemTimeAsFileTime libcpmt.lib(winapisupp.obj) : error LNK2001: unresolved external symbol __imp_GetTickCount libcpmt.lib(iosptrs.obj) : error LNK2001: unresolved external symbol __imp_EncodePointer libcpmt.lib(iosptrs.obj) : error LNK2001: unresolved external symbol __imp_DecodePointer libcpmt.lib(locale.obj) : error LNK2001: unresolved external symbol memchr libcpmt.lib(xlocale.obj) : error LNK2001: unresolved external symbol memchr libcpmt.lib(xstoul.obj) : error LNK2001: unresolved external symbol memchr libcpmt.lib(xstoull.obj) : error LNK2001: unresolved external symbol memchr libcpmt.lib(StlLCMapStringA.obj) : error LNK2001: unresolved external symbol __imp_MultiByteToWideChar libcpmt.lib(xmbtowc.obj) : error LNK2001: unresolved external symbol __imp_MultiByteToWideChar libcpmt.lib(StlCompareStringA.obj) : error LNK2001: unresolved external symbol __imp_MultiByteToWideChar libcpmt.lib(winapinls.obj) : error LNK2001: unresolved external symbol __imp_CompareStringW libcpmt.lib(winapinls.obj) : error LNK2001: unresolved external symbol __imp_LCMapStringW libcpmt.lib(winapinls.obj) : error LNK2001: unresolved external symbol __imp_GetLocaleInfoW libcpmt.lib(xgetwctype.obj) : error LNK2001: unresolved external symbol __imp_GetStringTypeW libcpmt.lib(StlCompareStringA.obj) : error LNK2001: unresolved external symbol __imp_GetCPInfo build\lib.win-amd64-3.7\nms\gpu_nms.cp37-win_amd64.pyd : fatal error LNK1120: 130 unresolved externals error: command 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v10.1\\bin\\nvcc.exe' failed with exit status 2
The text was updated successfully, but these errors were encountered:
It looks to me that the program is not linking with kernel.dll (kernel.lib).
Sorry, something went wrong.
No branches or pull requests
I get
fatal error LNK1120: 130 unresolved externals
when I try to build thepy-faster-rcnn
with CUDA. Any help is appreciated a lot.Software Stack:
Here is the full stacktrace:
The text was updated successfully, but these errors were encountered: