MrGF / py-faster-rcnn-windows

py-faster-rcnn that can compile on windows directly
MIT License
135 stars 70 forks source link

setup_cuda.py error: gpu_nms.obj LINK : fatal error LNK1181: cannot open input file 'ID=2.obj' #22

Open ghost opened 6 years ago

ycui123 commented 6 years ago

Hi @XufengLi,

Did you solve the problem?

aditipanda commented 6 years ago

I'm facing the same problem. Please help.

ypxie commented 5 years ago

run the link command manually by removing ID=2, and you will be good

yjtan118 commented 5 years ago

anyone encounter this linker problem after removing the ID=2 issue? i got quite a lot of linker errors as below: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe --compiler-bindir "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.15.26726\bin\Hostx64\x64" ucrt.lib --shared -LC:\Users\User\Anaconda3\libs -LC:\Users\User\Anaconda3\PCbuild\amd64 "-LC:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.15.26726\Lib\x64" "-LC:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.15.26726\ATLMFC\Lib\x64" "-LC:\Program Files (x86)\Windows Kits\10\lib\10.0.17134.0\um\x64" -LC:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319 "-LC:\Program Files (x86)\Windows Kits\10\lib\10.0.17134.0\ucrt\x64" "-LC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" -lcublas build\temp.win-amd64-3.5\Release\nms\gpu_nms.obj -o build\lib.win-amd64-3.5\nms\gpu_nms.cp35-win_amd64.pyd --linker-options=/nologo,/INCREMENTAL:NO,/LTCG,/nodefaultlib:libucrt.lib,/MANIFEST:EMBED,/MANIFESTUAC:NO,/IMPLIB:build\temp.win-amd64-3.5\Release\nms\gpu_nms.cp35-win_amd64.lib,/NODEFAULTLIB:libcmt.lib ucrt.lib gpu_nms.obj Creating library build\temp.win-amd64-3.5\Release\nms\gpu_nms.cp35-win_amd64.lib and object build\temp.win-amd64-3.5\Release\nms\gpu_nms.cp35-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(StlCompareStringA.obj) : error LNK2001: unresolved external symbol imp_GetCPInfo build/lib.win-amd64-3.5/nms/gpu_nms.cp35-win_amd64.pyd : fatal error LNK1120: 128 unresolved externals error: command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe' failed with exit status 2