Closed sunshinewhy closed 2 years ago
The log file is here. error.txt
pytorch1.8 + cuda 11.2 + win10
my first install meets the same problem with your compile log
then i comment out Line 60 in setup.py
# "-std=c++14",
it worked out !
maybe this problem is due to an older compiler
@LewisSean Thanks, I have installed it.
thank you very much!!!!!
pytorch1.8 + cuda 11.2 + win10 我的第一次安装遇到了与编译日志相同的问题,然后我注释掉了第60行,setup.py它解决了!也许这个问题是由于较旧的编译器造成的
# "-std=c++14",
pytorch1.8 + cuda 11.2 + win10 my first install meets the same problem with your compile log then i comment out Line 60 in setup.py
# "-std=c++14",
it worked out ! maybe this problem is due to an older compiler
Thank you. This was the key for me to install it on w11. I used torch==1.12.0+cu116 torchvision==0.13.0+cu116 torchaudio==0.12.0 --extra-index-url https://download.pytorch.org/whl/cu116
editing setup.py Linea 52
extra_compile_args = {"cxx": [""]}
and linea 77 if os.name != "nt":
nvcc_args.append("")
@txirrindulari I tried this but having same error:
File "C:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\utils\cpp_extension.py", line 1683, in _run_ninja_build raise RuntimeError(message) from e RuntimeError: Error compiling objects for extension
Hello, cuda 11.1 pytorch 1.8 win11
setup.py:84: UserWarning: The environment variable CUB_HOME
was not found. NVIDIA CUB is required for compilation and can be downloaded from https://github.com/NVIDIA/cub/releases
. You can unpack it to a location of your choice and set the environment variable CUB_HOME
to the folder containing the CMakeListst.txt
file.
warnings.warn(
running install
C:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\setuptools_distutils\cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer, pypa/build or
other standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!! self.initialize_options() C:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\setuptools_distutils\cmd.py:66: EasyInstallDeprecationWarning: easy_install command is deprecated. !!
********************************************************************************
Please avoid running ``setup.py`` and ``easy_install``.
Instead, use pypa/build, pypa/installer, pypa/build or
other standards-based tools.
See https://github.com/pypa/setuptools/issues/917 for details.
********************************************************************************
!! self.initialize_options() running bdist_egg running egg_info writing pytorch3d.egg-info\PKG-INFO writing dependency_links to pytorch3d.egg-info\dependency_links.txt writing entry points to pytorch3d.egg-info\entry_points.txt writing requirements to pytorch3d.egg-info\requires.txt writing top-level names to pytorch3d.egg-info\top_level.txt reading manifest file 'pytorch3d.egg-info\SOURCES.txt' adding license file 'LICENSE' adding license file 'LICENSE-3RD-PARTY' writing manifest file 'pytorch3d.egg-info\SOURCES.txt' installing library code to build\bdist.win-amd64\egg running install_lib running build_py running build_ext C:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\utils\cpp_extension.py:304: UserWarning: Error checking compiler version for cl: [WinError 2] The system cannot find the file specified warnings.warn(f'Error checking compiler version for {compiler}: {error}') building 'pytorch3d._C' extension Emitting ninja build file C:\Users\hp\pytorch3d\build\temp.win-amd64-cpython-38\Release\build.ninja... Compiling objects... Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N) [1/67] cl /showIncludes /nologo /O2 /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IC:\Users\hp\pytorch3d\pytorch3d\csrc -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\TH -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" -c C:\Users\hp\pytorch3d\pytorch3d\csrc\ball_query\ball_query_cpu.cpp /FoC:\Users\hp\pytorch3d\build\temp.win-amd64-cpython-38\Release\Users\hp\pytorch3d\pytorch3d\csrc\ball_query\ball_query_cpu.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14 FAILED: C:/Users/hp/pytorch3d/build/temp.win-amd64-cpython-38/Release/Users/hp/pytorch3d/pytorch3d/csrc/ball_query/ball_query_cpu.obj cl /showIncludes /nologo /O2 /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IC:\Users\hp\pytorch3d\pytorch3d\csrc -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\TH -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" -c C:\Users\hp\pytorch3d\pytorch3d\csrc\ball_query\ball_query_cpu.cpp /FoC:\Users\hp\pytorch3d\build\temp.win-amd64-cpython-38\Release\Users\hp\pytorch3d\pytorch3d\csrc\ball_query\ball_query_cpu.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14 C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\include\cstddef(12): fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory [2/67] cl /showIncludes /nologo /O2 /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IC:\Users\hp\pytorch3d\pytorch3d\csrc -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\TH -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" -c C:\Users\hp\pytorch3d\pytorch3d\csrc\compositing\weighted_sum_cpu.cpp /FoC:\Users\hp\pytorch3d\build\temp.win-amd64-cpython-38\Release\Users\hp\pytorch3d\pytorch3d\csrc\compositing\weighted_sum_cpu.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14 FAILED: C:/Users/hp/pytorch3d/build/temp.win-amd64-cpython-38/Release/Users/hp/pytorch3d/pytorch3d/csrc/compositing/weighted_sum_cpu.obj cl /showIncludes /nologo /O2 /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IC:\Users\hp\pytorch3d\pytorch3d\csrc -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\TH -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" -c C:\Users\hp\pytorch3d\pytorch3d\csrc\compositing\weighted_sum_cpu.cpp /FoC:\Users\hp\pytorch3d\build\temp.win-amd64-cpython-38\Release\Users\hp\pytorch3d\pytorch3d\csrc\compositing\weighted_sum_cpu.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14 C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\include\cstddef(12): fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory [3/67] cl /showIncludes /nologo /O2 /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IC:\Users\hp\pytorch3d\pytorch3d\csrc -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\TH -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" -c C:\Users\hp\pytorch3d\pytorch3d\csrc\compositing\norm_weighted_sum_cpu.cpp /FoC:\Users\hp\pytorch3d\build\temp.win-amd64-cpython-38\Release\Users\hp\pytorch3d\pytorch3d\csrc\compositing\norm_weighted_sum_cpu.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14 FAILED: C:/Users/hp/pytorch3d/build/temp.win-amd64-cpython-38/Release/Users/hp/pytorch3d/pytorch3d/csrc/compositing/norm_weighted_sum_cpu.obj cl /showIncludes /nologo /O2 /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IC:\Users\hp\pytorch3d\pytorch3d\csrc -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\TH -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" -c C:\Users\hp\pytorch3d\pytorch3d\csrc\compositing\norm_weighted_sum_cpu.cpp /FoC:\Users\hp\pytorch3d\build\temp.win-amd64-cpython-38\Release\Users\hp\pytorch3d\pytorch3d\csrc\compositing\norm_weighted_sum_cpu.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14 C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\include\cstddef(12): fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory [4/67] cl /showIncludes /nologo /O2 /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IC:\Users\hp\pytorch3d\pytorch3d\csrc -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\TH -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" -c C:\Users\hp\pytorch3d\pytorch3d\csrc\blending\sigmoid_alpha_blend_cpu.cpp /FoC:\Users\hp\pytorch3d\build\temp.win-amd64-cpython-38\Release\Users\hp\pytorch3d\pytorch3d\csrc\blending\sigmoid_alpha_blend_cpu.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14 FAILED: C:/Users/hp/pytorch3d/build/temp.win-amd64-cpython-38/Release/Users/hp/pytorch3d/pytorch3d/csrc/blending/sigmoid_alpha_blend_cpu.obj cl /showIncludes /nologo /O2 /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IC:\Users\hp\pytorch3d\pytorch3d\csrc -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\TH -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" -c C:\Users\hp\pytorch3d\pytorch3d\csrc\blending\sigmoid_alpha_blend_cpu.cpp /FoC:\Users\hp\pytorch3d\build\temp.win-amd64-cpython-38\Release\Users\hp\pytorch3d\pytorch3d\csrc\blending\sigmoid_alpha_blend_cpu.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14 C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\include\cstddef(12): fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory [5/67] cl /showIncludes /nologo /O2 /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IC:\Users\hp\pytorch3d\pytorch3d\csrc -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\TH -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" -c C:\Users\hp\pytorch3d\pytorch3d\csrc\compositing\alpha_composite_cpu.cpp /FoC:\Users\hp\pytorch3d\build\temp.win-amd64-cpython-38\Release\Users\hp\pytorch3d\pytorch3d\csrc\compositing\alpha_composite_cpu.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14 FAILED: C:/Users/hp/pytorch3d/build/temp.win-amd64-cpython-38/Release/Users/hp/pytorch3d/pytorch3d/csrc/compositing/alpha_composite_cpu.obj cl /showIncludes /nologo /O2 /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IC:\Users\hp\pytorch3d\pytorch3d\csrc -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\TH -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" -c C:\Users\hp\pytorch3d\pytorch3d\csrc\compositing\alpha_composite_cpu.cpp /FoC:\Users\hp\pytorch3d\build\temp.win-amd64-cpython-38\Release\Users\hp\pytorch3d\pytorch3d\csrc\compositing\alpha_composite_cpu.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14 C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\include\cstddef(12): fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory [6/67] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin\nvcc --generate-dependencies-with-compile --dependency-output C:\Users\hp\pytorch3d\build\temp.win-amd64-cpython-38\Release\Users\hp\pytorch3d\pytorch3d\csrc\compositing\norm_weighted_sum.obj.d --use-local-env -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 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IC:\Users\hp\pytorch3d\pytorch3d\csrc -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\TH -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" -c C:\Users\hp\pytorch3d\pytorch3d\csrc\compositing\norm_weighted_sum.cu -o C:\Users\hp\pytorch3d\build\temp.win-amd64-cpython-38\Release\Users\hp\pytorch3d\pytorch3d\csrc\compositing\norm_weighted_sum.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=compute_75 -gencode=arch=compute_75,code=sm_75 FAILED: C:/Users/hp/pytorch3d/build/temp.win-amd64-cpython-38/Release/Users/hp/pytorch3d/pytorch3d/csrc/compositing/norm_weighted_sum.obj C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin\nvcc --generate-dependencies-with-compile --dependency-output C:\Users\hp\pytorch3d\build\temp.win-amd64-cpython-38\Release\Users\hp\pytorch3d\pytorch3d\csrc\compositing\norm_weighted_sum.obj.d --use-local-env -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 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IC:\Users\hp\pytorch3d\pytorch3d\csrc -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\TH -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" -c C:\Users\hp\pytorch3d\pytorch3d\csrc\compositing\norm_weighted_sum.cu -o C:\Users\hp\pytorch3d\build\temp.win-amd64-cpython-38\Release\Users\hp\pytorch3d\pytorch3d\csrc\compositing\norm_weighted_sum.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=compute_75 -gencode=arch=compute_75,code=sm_75 C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.36.32532/include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory norm_weighted_sum.cu [7/67] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin\nvcc --generate-dependencies-with-compile --dependency-output C:\Users\hp\pytorch3d\build\temp.win-amd64-cpython-38\Release\Users\hp\pytorch3d\pytorch3d\csrc\ball_query\ball_query.obj.d --use-local-env -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 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IC:\Users\hp\pytorch3d\pytorch3d\csrc -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\TH -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" -c C:\Users\hp\pytorch3d\pytorch3d\csrc\ball_query\ball_query.cu -o C:\Users\hp\pytorch3d\build\temp.win-amd64-cpython-38\Release\Users\hp\pytorch3d\pytorch3d\csrc\ball_query\ball_query.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=compute_75 -gencode=arch=compute_75,code=sm_75 FAILED: C:/Users/hp/pytorch3d/build/temp.win-amd64-cpython-38/Release/Users/hp/pytorch3d/pytorch3d/csrc/ball_query/ball_query.obj C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin\nvcc --generate-dependencies-with-compile --dependency-output C:\Users\hp\pytorch3d\build\temp.win-amd64-cpython-38\Release\Users\hp\pytorch3d\pytorch3d\csrc\ball_query\ball_query.obj.d --use-local-env -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 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IC:\Users\hp\pytorch3d\pytorch3d\csrc -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\TH -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" -c C:\Users\hp\pytorch3d\pytorch3d\csrc\ball_query\ball_query.cu -o C:\Users\hp\pytorch3d\build\temp.win-amd64-cpython-38\Release\Users\hp\pytorch3d\pytorch3d\csrc\ball_query\ball_query.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=compute_75 -gencode=arch=compute_75,code=sm_75 C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.36.32532/include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory ball_query.cu [8/67] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin\nvcc --generate-dependencies-with-compile --dependency-output C:\Users\hp\pytorch3d\build\temp.win-amd64-cpython-38\Release\Users\hp\pytorch3d\pytorch3d\csrc\blending\sigmoid_alpha_blend.obj.d --use-local-env -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 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IC:\Users\hp\pytorch3d\pytorch3d\csrc -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\TH -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" -c C:\Users\hp\pytorch3d\pytorch3d\csrc\blending\sigmoid_alpha_blend.cu -o C:\Users\hp\pytorch3d\build\temp.win-amd64-cpython-38\Release\Users\hp\pytorch3d\pytorch3d\csrc\blending\sigmoid_alpha_blend.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=compute_75 -gencode=arch=compute_75,code=sm_75 FAILED: C:/Users/hp/pytorch3d/build/temp.win-amd64-cpython-38/Release/Users/hp/pytorch3d/pytorch3d/csrc/blending/sigmoid_alpha_blend.obj C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin\nvcc --generate-dependencies-with-compile --dependency-output C:\Users\hp\pytorch3d\build\temp.win-amd64-cpython-38\Release\Users\hp\pytorch3d\pytorch3d\csrc\blending\sigmoid_alpha_blend.obj.d --use-local-env -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 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IC:\Users\hp\pytorch3d\pytorch3d\csrc -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\TH -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" -c C:\Users\hp\pytorch3d\pytorch3d\csrc\blending\sigmoid_alpha_blend.cu -o C:\Users\hp\pytorch3d\build\temp.win-amd64-cpython-38\Release\Users\hp\pytorch3d\pytorch3d\csrc\blending\sigmoid_alpha_blend.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=compute_75 -gencode=arch=compute_75,code=sm_75 C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.36.32532/include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory sigmoid_alpha_blend.cu [9/67] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin\nvcc --generate-dependencies-with-compile --dependency-output C:\Users\hp\pytorch3d\build\temp.win-amd64-cpython-38\Release\Users\hp\pytorch3d\pytorch3d\csrc\compositing\alpha_composite.obj.d --use-local-env -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 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IC:\Users\hp\pytorch3d\pytorch3d\csrc -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\TH -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" -c C:\Users\hp\pytorch3d\pytorch3d\csrc\compositing\alpha_composite.cu -o C:\Users\hp\pytorch3d\build\temp.win-amd64-cpython-38\Release\Users\hp\pytorch3d\pytorch3d\csrc\compositing\alpha_composite.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=compute_75 -gencode=arch=compute_75,code=sm_75 FAILED: C:/Users/hp/pytorch3d/build/temp.win-amd64-cpython-38/Release/Users/hp/pytorch3d/pytorch3d/csrc/compositing/alpha_composite.obj C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin\nvcc --generate-dependencies-with-compile --dependency-output C:\Users\hp\pytorch3d\build\temp.win-amd64-cpython-38\Release\Users\hp\pytorch3d\pytorch3d\csrc\compositing\alpha_composite.obj.d --use-local-env -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 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IC:\Users\hp\pytorch3d\pytorch3d\csrc -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\TH -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" -c C:\Users\hp\pytorch3d\pytorch3d\csrc\compositing\alpha_composite.cu -o C:\Users\hp\pytorch3d\build\temp.win-amd64-cpython-38\Release\Users\hp\pytorch3d\pytorch3d\csrc\compositing\alpha_composite.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=compute_75 -gencode=arch=compute_75,code=sm_75 C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.36.32532/include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory alpha_composite.cu [10/67] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin\nvcc --generate-dependencies-with-compile --dependency-output C:\Users\hp\pytorch3d\build\temp.win-amd64-cpython-38\Release\Users\hp\pytorch3d\pytorch3d\csrc\compositing\weighted_sum.obj.d --use-local-env -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 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IC:\Users\hp\pytorch3d\pytorch3d\csrc -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\TH -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" -c C:\Users\hp\pytorch3d\pytorch3d\csrc\compositing\weighted_sum.cu -o C:\Users\hp\pytorch3d\build\temp.win-amd64-cpython-38\Release\Users\hp\pytorch3d\pytorch3d\csrc\compositing\weighted_sum.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=compute_75 -gencode=arch=compute_75,code=sm_75 FAILED: C:/Users/hp/pytorch3d/build/temp.win-amd64-cpython-38/Release/Users/hp/pytorch3d/pytorch3d/csrc/compositing/weighted_sum.obj C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin\nvcc --generate-dependencies-with-compile --dependency-output C:\Users\hp\pytorch3d\build\temp.win-amd64-cpython-38\Release\Users\hp\pytorch3d\pytorch3d\csrc\compositing\weighted_sum.obj.d --use-local-env -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 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -IC:\Users\hp\pytorch3d\pytorch3d\csrc -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\TH -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\include -IC:\Users\hp\anaconda3\envs\6D_CUDA11.1\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" -c C:\Users\hp\pytorch3d\pytorch3d\csrc\compositing\weighted_sum.cu -o C:\Users\hp\pytorch3d\build\temp.win-amd64-cpython-38\Release\Users\hp\pytorch3d\pytorch3d\csrc\compositing\weighted_sum.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=compute_75 -gencode=arch=compute_75,code=sm_75 C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.36.32532/include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory weighted_sum.cu ninja: build stopped: subcommand failed. Traceback (most recent call last): File "C:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\site-packages\torch\utils\cpp_extension.py", line 1667, in _run_ninja_build subprocess.run( File "C:\Users\hp\anaconda3\envs\6D_CUDA11.1\lib\subprocess.py", line 516, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "setup.py", line 144, in
@BhavinPrajapti Please open a new issue if you still need help, detailing what you did and what went wrong. This issue is old and closed.
❓ Questions on how to use PyTorch3D
I am trying to install Pytorch3D in Windows10 with CUDA 11.1, VS2019, and Pytorch 1.8. I tried the following commands and got the following errors. Would you mind letting me know what I did wrong and how to correctly install it?
Thank you very much for your time and help!
The error is: