一、前排提示:这可能是最终的解决方法,因为我把csdn
几乎所有的方法都试过了。比如:
- 添加环境变量
- 把
Windows Kits
里的rc.exe
和rcdll.dll
复制到.../VC/...
那里 - 下载
2015、2017、2019
的vs
- 重装系统
二、错误描述:
(MyCode) F:\Graduation_design\Code_4\CenterNet-master\src\lib\models\networks\DCNv2>python setup.py build develop
running build
running build_ext
building '_ext' extension
Emitting ninja build file F:\Graduation_design\Code_4\CenterNet-master\src\lib\models\networks\DCNv2\build\temp.win-amd64-3.6\Release\build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
1.10.2
D:\vs2017\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\link.exe /nologo /INCREMENTAL: