出现的问题如下:
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.3\include\crt/host_config.h(160): fatal error C1189: #error: -- unsupported Microsoft Visual Studio version! Only the versions between 2017 and 2019 (inclusive) are supported!
问题原因:
CUDA 11.3 对 Visual Studio 版本的支持有限,仅兼容 2017-2019 版本。若你使用 VS 2022,会触发此错误。建议卸载vs2022,重新安装2017-2019版本,具体参考以下博文:
Windows安装mmdet3d v0.17.1_mmdetection3d windows-CSDN博客