配置PVN3D环境遇到的问题
1.报错提示:RuntimeError: Error compiling objects for extension
当配置完所有环境,到最后一步 python setup.py build_ext ,出现如下报错:
\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\utils\cpp_extension.py:270: UserWarning: Error checking compiler version for cl: [WinError 2] Das System kann die angegebene Datei nicht finden
warnings.warn('Error checking compiler version for {}: {}'.format(compiler, error))
building 'pointnet2_utils._ext' extension
Emitting ninja build file C:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\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/9] cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\TH -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -IC:\Users\Boche\anaconda3\envs\pvn3d36\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\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.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" -c C:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\pvn3d\_ext-src\src\ball_query.cpp /FoC:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\build\temp.win-amd64-3.6\Release\pvn3d/_ext-src/src\ball_query.obj -O2 -I./pvn3d/_ext-src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14
FAILED: C:/Users/Boche/Desktop/Bachelorarbeit/Implementation/PVN3D/build/temp.win-amd64-3.6/Release/pvn3d/_ext-src/src/ball_query.obj
cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\TH -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -IC:\Users\Boche\anaconda3\envs\pvn3d36\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\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.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" -c C:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\pvn3d\_ext-src\src\ball_query.cpp /FoC:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\build\temp.win-amd64-3.6\Release\pvn3d/_ext-src/src\ball_query.obj -O2 -I./pvn3d/_ext-src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14
C:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\pvn3d\_ext-src\src\ball_query.cpp(1): fatal error C1083: Datei (Include) kann nicht ge?ffnet werden: "ball_query.h": No such file or directory
[2/9] cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\TH -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -IC:\Users\Boche\anaconda3\envs\pvn3d36\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\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.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" -c C:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\pvn3d\_ext-src\src\sampling.cpp /FoC:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\build\temp.win-amd64-3.6\Release\pvn3d/_ext-src/src\sampling.obj -O2 -I./pvn3d/_ext-src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14
FAILED: C:/Users/Boche/Desktop/Bachelorarbeit/Implementation/PVN3D/build/temp.win-amd64-3.6/Release/pvn3d/_ext-src/src/sampling.obj
cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\TH -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -IC:\Users\Boche\anaconda3\envs\pvn3d36\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\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.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" -c C:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\pvn3d\_ext-src\src\sampling.cpp /FoC:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\build\temp.win-amd64-3.6\Release\pvn3d/_ext-src/src\sampling.obj -O2 -I./pvn3d/_ext-src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14
C:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\pvn3d\_ext-src\src\sampling.cpp(1): fatal error C1083: Datei (Include) kann nicht ge?ffnet werden: "sampling.h": No such file or directory
[3/9] cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\TH -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -IC:\Users\Boche\anaconda3\envs\pvn3d36\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\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.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" -c C:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\pvn3d\_ext-src\src\bindings.cpp /FoC:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\build\temp.win-amd64-3.6\Release\pvn3d/_ext-src/src\bindings.obj -O2 -I./pvn3d/_ext-src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14
FAILED: C:/Users/Boche/Desktop/Bachelorarbeit/Implementation/PVN3D/build/temp.win-amd64-3.6/Release/pvn3d/_ext-src/src/bindings.obj
cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\TH -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -IC:\Users\Boche\anaconda3\envs\pvn3d36\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\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.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" -c C:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\pvn3d\_ext-src\src\bindings.cpp /FoC:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\build\temp.win-amd64-3.6\Release\pvn3d/_ext-src/src\bindings.obj -O2 -I./pvn3d/_ext-src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14
C:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\pvn3d\_ext-src\src\bindings.cpp(1): fatal error C1083: Datei (Include) kann nicht ge?ffnet werden: "ball_query.h": No such file or directory
[4/9] cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\TH -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -IC:\Users\Boche\anaconda3\envs\pvn3d36\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\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.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" -c C:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\pvn3d\_ext-src\src\interpolate.cpp /FoC:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\build\temp.win-amd64-3.6\Release\pvn3d/_ext-src/src\interpolate.obj -O2 -I./pvn3d/_ext-src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14
FAILED: C:/Users/Boche/Desktop/Bachelorarbeit/Implementation/PVN3D/build/temp.win-amd64-3.6/Release/pvn3d/_ext-src/src/interpolate.obj
cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\TH -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -IC:\Users\Boche\anaconda3\envs\pvn3d36\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\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.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" -c C:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\pvn3d\_ext-src\src\interpolate.cpp /FoC:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\build\temp.win-amd64-3.6\Release\pvn3d/_ext-src/src\interpolate.obj -O2 -I./pvn3d/_ext-src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14
C:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\pvn3d\_ext-src\src\interpolate.cpp(1): fatal error C1083: Datei (Include) kann nicht ge?ffnet werden: "interpolate.h": No such file or directory
[5/9] cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\TH -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -IC:\Users\Boche\anaconda3\envs\pvn3d36\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\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.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" -c C:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\pvn3d\_ext-src\src\group_points.cpp /FoC:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\build\temp.win-amd64-3.6\Release\pvn3d/_ext-src/src\group_points.obj -O2 -I./pvn3d/_ext-src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14
FAILED: C:/Users/Boche/Desktop/Bachelorarbeit/Implementation/PVN3D/build/temp.win-amd64-3.6/Release/pvn3d/_ext-src/src/group_points.obj
cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\TH -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -IC:\Users\Boche\anaconda3\envs\pvn3d36\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\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.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" -c C:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\pvn3d\_ext-src\src\group_points.cpp /FoC:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\build\temp.win-amd64-3.6\Release\pvn3d/_ext-src/src\group_points.obj -O2 -I./pvn3d/_ext-src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14
C:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\pvn3d\_ext-src\src\group_points.cpp(1): fatal error C1083: Datei (Include) kann nicht ge?ffnet werden: "group_points.h": No such file or directory
[6/9] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\TH -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -IC:\Users\Boche\anaconda3\envs\pvn3d36\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\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.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" -c C:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\pvn3d\_ext-src\src\interpolate_gpu.cu -o C:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\build\temp.win-amd64-3.6\Release\pvn3d/_ext-src/src\interpolate_gpu.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O2 -I./pvn3d/_ext-src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_52,code=sm_52
FAILED: C:/Users/Boche/Desktop/Bachelorarbeit/Implementation/PVN3D/build/temp.win-amd64-3.6/Release/pvn3d/_ext-src/src/interpolate_gpu.obj
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\TH -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -IC:\Users\Boche\anaconda3\envs\pvn3d36\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\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.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" -c C:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\pvn3d\_ext-src\src\interpolate_gpu.cu -o C:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\build\temp.win-amd64-3.6\Release\pvn3d/_ext-src/src\interpolate_gpu.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O2 -I./pvn3d/_ext-src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_52,code=sm_52
C:/Users/Boche/Desktop/Bachelorarbeit/Implementation/PVN3D/pvn3d/_ext-src/src/interpolate_gpu.cu(5): fatal error C1083: Datei (Include) kann nicht ge÷ffnet werden: "cuda_utils.h": No such file or directory
interpolate_gpu.cu
[7/9] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\TH -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -IC:\Users\Boche\anaconda3\envs\pvn3d36\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\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.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" -c C:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\pvn3d\_ext-src\src\group_points_gpu.cu -o C:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\build\temp.win-amd64-3.6\Release\pvn3d/_ext-src/src\group_points_gpu.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O2 -I./pvn3d/_ext-src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_52,code=sm_52
FAILED: C:/Users/Boche/Desktop/Bachelorarbeit/Implementation/PVN3D/build/temp.win-amd64-3.6/Release/pvn3d/_ext-src/src/group_points_gpu.obj
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\TH -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -IC:\Users\Boche\anaconda3\envs\pvn3d36\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\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.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" -c C:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\pvn3d\_ext-src\src\group_points_gpu.cu -o C:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\build\temp.win-amd64-3.6\Release\pvn3d/_ext-src/src\group_points_gpu.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O2 -I./pvn3d/_ext-src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_52,code=sm_52
C:/Users/Boche/Desktop/Bachelorarbeit/Implementation/PVN3D/pvn3d/_ext-src/src/group_points_gpu.cu(4): fatal error C1083: Datei (Include) kann nicht ge÷ffnet werden: "cuda_utils.h": No such file or directory
group_points_gpu.cu
[8/9] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\TH -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -IC:\Users\Boche\anaconda3\envs\pvn3d36\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\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.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" -c C:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\pvn3d\_ext-src\src\ball_query_gpu.cu -o C:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\build\temp.win-amd64-3.6\Release\pvn3d/_ext-src/src\ball_query_gpu.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O2 -I./pvn3d/_ext-src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_52,code=sm_52
FAILED: C:/Users/Boche/Desktop/Bachelorarbeit/Implementation/PVN3D/build/temp.win-amd64-3.6/Release/pvn3d/_ext-src/src/ball_query_gpu.obj
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\TH -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -IC:\Users\Boche\anaconda3\envs\pvn3d36\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\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.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" -c C:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\pvn3d\_ext-src\src\ball_query_gpu.cu -o C:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\build\temp.win-amd64-3.6\Release\pvn3d/_ext-src/src\ball_query_gpu.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O2 -I./pvn3d/_ext-src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_52,code=sm_52
C:/Users/Boche/Desktop/Bachelorarbeit/Implementation/PVN3D/pvn3d/_ext-src/src/ball_query_gpu.cu(5): fatal error C1083: Datei (Include) kann nicht ge÷ffnet werden: "cuda_utils.h": No such file or directory
ball_query_gpu.cu
[9/9] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\TH -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -IC:\Users\Boche\anaconda3\envs\pvn3d36\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\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.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" -c C:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\pvn3d\_ext-src\src\sampling_gpu.cu -o C:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\build\temp.win-amd64-3.6\Release\pvn3d/_ext-src/src\sampling_gpu.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O2 -I./pvn3d/_ext-src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_52,code=sm_52
FAILED: C:/Users/Boche/Desktop/Bachelorarbeit/Implementation/PVN3D/build/temp.win-amd64-3.6/Release/pvn3d/_ext-src/src/sampling_gpu.obj
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\TH -IC:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -IC:\Users\Boche\anaconda3\envs\pvn3d36\include -IC:\Users\Boche\anaconda3\envs\pvn3d36\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\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.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" -c C:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\pvn3d\_ext-src\src\sampling_gpu.cu -o C:\Users\Boche\Desktop\Bachelorarbeit\Implementation\PVN3D\build\temp.win-amd64-3.6\Release\pvn3d/_ext-src/src\sampling_gpu.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O2 -I./pvn3d/_ext-src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_52,code=sm_52
C:/Users/Boche/Desktop/Bachelorarbeit/Implementation/PVN3D/pvn3d/_ext-src/src/sampling_gpu.cu(4): fatal error C1083: Datei (Include) kann nicht ge÷ffnet werden: "cuda_utils.h": No such file or directory
sampling_gpu.cu
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "C:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\utils\cpp_extension.py", line 1515, in _run_ninja_build
env=env)
File "C:\Users\Boche\anaconda3\envs\pvn3d36\lib\subprocess.py", line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.During handling of the above exception, another exception occurred:Traceback (most recent call last):
File "setup.py", line 30, in <module>
'build_ext': BuildExtension
File "C:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\setuptools\__init__.py", line 163, in setup
return distutils.core.setup(**attrs)
File "C:\Users\Boche\anaconda3\envs\pvn3d36\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Users\Boche\anaconda3\envs\pvn3d36\lib\distutils\dist.py", line 955, in run_commands
self.run_command(cmd)
File "C:\Users\Boche\anaconda3\envs\pvn3d36\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\setuptools\command\build_ext.py", line 87, in run
_build_ext.run(self)
File "C:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\Cython\Distutils\old_build_ext.py", line 186, in run
_build_ext.build_ext.run(self)
File "C:\Users\Boche\anaconda3\envs\pvn3d36\lib\distutils\command\build_ext.py", line 339, in run
self.build_extensions()
File "C:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\utils\cpp_extension.py", line 649, in build_extensions
build_ext.build_extensions(self)
File "C:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\Cython\Distutils\old_build_ext.py", line 195, in build_extensions
_build_ext.build_ext.build_extensions(self)
File "C:\Users\Boche\anaconda3\envs\pvn3d36\lib\distutils\command\build_ext.py", line 448, in build_extensions
self._build_extensions_serial()
File "C:\Users\Boche\anaconda3\envs\pvn3d36\lib\distutils\command\build_ext.py", line 473, in _build_extensions_serial
self.build_extension(ext)
File "C:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\setuptools\command\build_ext.py", line 208, in build_extension
_build_ext.build_extension(self, ext)
File "C:\Users\Boche\anaconda3\envs\pvn3d36\lib\distutils\command\build_ext.py", line 533, in build_extension
depends=ext.depends)
File "C:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\utils\cpp_extension.py", line 631, in win_wrap_ninja_compile
with_cuda=with_cuda)
File "C:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\utils\cpp_extension.py", line 1233, in _write_ninja_file_and_compile_objects
error_prefix='Error compiling objects for extension')
File "C:\Users\Boche\anaconda3\envs\pvn3d36\lib\site-packages\torch\utils\cpp_extension.py", line 1529, in _run_ninja_build
raise RuntimeError(message)
RuntimeError: Error compiling objects for extension
2.解决方案
另一种可能是因为pytorch与torchversion的版本太高,降低版本,成功解决问题。
1.卸载当前Pytorch与torchversion:
pip uninstall torch
pip uninstall torchversion
2.在官网查看与CUDA匹配的低版本,点击链接
我的CUDA版本为10.2,进入网站后,搜索10.2 ,下翻找到低版本配置:
Linux and Windows
# CUDA 9.2
conda install pytorch==1.5.0 torchvision==0.6.0 cudatoolkit=9.2 -c pytorch
# CUDA 10.1
conda install pytorch==1.5.0 torchvision==0.6.0 cudatoolkit=10.1 -c pytorch
# CUDA 10.2
conda install pytorch==1.5.0 torchvision==0.6.0 cudatoolkit=10.2 -c pytorch
# CPU Only
conda install pytorch==1.5.0 torchvision==0.6.0 cpuonly -c pytorch
输入对应版本安装指令:
conda install pytorch==1.5.0 torchvision==0.6.0 cudatoolkit=10.2 -c pytorch
3.查看是否成功修改:
conda list
若安装成功,则显示:
pytorch 1.5.0
torchvision 0.6.0
4.再次运行python setup.py build_ext ,成功解决。
|