Skip to content
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

win10 gpu_nms nvcc fatal : Host compiler targets unsupported OS. #504

Open
meng0li opened this issue Oct 10, 2020 · 0 comments
Open

win10 gpu_nms nvcc fatal : Host compiler targets unsupported OS. #504

meng0li opened this issue Oct 10, 2020 · 0 comments

Comments

@meng0li
Copy link

meng0li commented Oct 10, 2020

On win10 systems,setup. is split into two,the following error occured after i enter the "python setup_cuda.py install" command
E:\Users\17829\Faster-RCNN-TensorFlow-Python3\lib>python setup_cuda.py install
running install
running bdist_egg
running egg_info
creating py_fast_rcnn_gpu.egg-info
writing py_fast_rcnn_gpu.egg-info\PKG-INFO
writing dependency_links to py_fast_rcnn_gpu.egg-info\dependency_links.txt
writing top-level names to py_fast_rcnn_gpu.egg-info\top_level.txt
writing manifest file 'py_fast_rcnn_gpu.egg-info\SOURCES.txt'
reading manifest file 'py_fast_rcnn_gpu.egg-info\SOURCES.txt'
writing manifest file 'py_fast_rcnn_gpu.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_ext
building 'nms.gpu_nms' extension
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe --compiler-bindir "D:\Microsoft Visual Studio\VC98\bin" -c -ID:\py
thon3.6\lib\site-packages\numpy\core\include "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -ID:\python3.6\include
-ID:\python3.6\include "-ID:\Program Files (x86)\VS2017\VC\Tools\MSVC\14.16.27023\ATLMFC\include" "-ID:\Program Files (x86)\VS2017\VC\T
ools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits
10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows K
its\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows
Kits\10\include\10.0.17763.0\cppwinrt" "-ID:\Microsoft Visual Studio\VC98\atl\include" "-ID:\Microsoft Visual Studio\VC98\mfc\include" "
-ID:\Microsoft Visual Studio\VC98\include" nms\gpu_nms.cu -o build\temp.win-amd64-3.6\Release\nms\gpu_nms.obj -O --ptxas-options=-v -arc
h=sm_35 -c --compiler-options=/nologo,/Ox,/W3,/GL,/DNDEBUG,/MD
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
tmpxft_000030e4_00000000-1.cpp
nvcc fatal : Host compiler targets unsupported OS.
error: command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe' failed with exit status 1
How can i solve this problem? Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant