-
Notifications
You must be signed in to change notification settings - Fork 414
New issue
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
Failed to build on windows with CUDA 9.0 and VC 2015 #122
Comments
I also met this error. Have you solved it? |
Same error, going to try CUDA 8~ |
This error I still get with VS 2015 and CUDA 8. CUDA 7.5 won't work because it requires < VS 2013, which is too old to build the modules. I think this error can be fixed by removing that "ID=2" somehow. A similar error is highlighted over at the py-faster-rcnn repo: If anyone else has any success before I do, let me know. |
I fixed this by adding the following line:
...to the bottom of the Hope that helps people who are stuck! |
init.bat failed to build nms with output:
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0\bin\nvcc.exe --compiler-bindir "D:\Program Files (x86)\Microsoft
Visual Studio 14.0\VC\BIN" --shared -LD:\Anaconda\envs\gluon\libs -LD:\Anaconda\envs\gluon\PCbuild\amd64 "-LD:\Program
Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64" "-LD:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC
LIB\amd64" "-LC:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64" "-LC:\Program Files (x86)\Windows Kits\N
ETFXSDK\4.6.1\lib\um\x64" "-LC:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64" "-LD:\Program Files (x86)\M
icrosoft Visual Studio 14.0\VC\LIB" "-LD:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB" "-LC:\Program
Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x86" "-LC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x86"
"-LC:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x86" -lcublas build\temp.win-amd64-3.6\Release\gpu_nms.ob
j -o build\lib.win-amd64-3.6\gpu_nms.cp36-win_amd64.pyd --linker-options=/nologo,/INCREMENTAL:NO,/LTCG,/MANIFEST:EMBED,I
D=2,/MANIFESTUAC:NO,/IMPLIB:build\temp.win-amd64-3.6\Release\gpu_nms.cp36-win_amd64.lib,/NODEFAULTLIB:libcmt.lib
gpu_nms.obj
LINK : fatal error LNK1181: cannot open input file 'ID=2.obj'
error: command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0\bin\nvcc.exe' failed with exit status 2
The text was updated successfully, but these errors were encountered: