Skip to content

Installation problem in Windows10 #431

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

Closed
XingxinHE opened this issue Nov 9, 2020 · 7 comments
Closed

Installation problem in Windows10 #431

XingxinHE opened this issue Nov 9, 2020 · 7 comments
Assignees
Labels
installation Installation questions or issues

Comments

@XingxinHE
Copy link

XingxinHE commented Nov 9, 2020

Dear Pytorch3d team,

I hope you all had a nice weekend after election day. I am trying to install the Pytorch3d module with PyTorch1.6, CUDA 10.2, cudnn-10.2-v8.0.4.30 in my pc. Since I failed many times, I then decide to create a cpu only environment and it works. But I do hope I can play with PyTorch3d speeding with CUDA.

So there are two environment:
A. pytorch3d with pytorch1.6 CUDA 10.2(failed to install pytorch3d)❌
B. pytorch3dcpu with pytorch1.6 cpu only(succeed to install pytorch3d and can be run in jupyter notebook perfectly)✔️

The following description refers to the environment called pytorch3d(installed with pytorch1.6 CUDA 10.2)
The main route I was focusing on is the INSTALL.MD and reference some tricks in issue#172 and issue#323.

  1. Hacky modifications to argument_spec.h, cast.h, module.h,

  2. Used 'Install from a local clone'

git clone https://github.com/facebookresearch/pytorch3d.git
  1. open x64 Native Tools Command Prompt for VS 2019 activate conda env named 'pytorch3d'
cd pytorch3d
activate pytorch3d
python setup.py install

🐛 Bugs / Unexpected behaviors

UserWarning: It seems that the VC environment is activated but DISTUTILS_USE_SDK is not set.This may lead to multiple activations of the VC env.Please set `DISTUTILS_USE_SDK=1` and try again.

full error is availabe here:
before_SET_SDK.txt

After I

$SET DISTUTILS_USE_SDK=1

the error pop out even more...

(pytorch3d) C:\Windows\System32\pytorch3d>SET DISTUTILS_USE_SDK=1

(pytorch3d) C:\Windows\System32\pytorch3d>python setup.py install
running install
running bdist_egg
running egg_info
writing pytorch3d.egg-info\PKG-INFO
writing dependency_links to pytorch3d.egg-info\dependency_links.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'
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\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\utils\cpp_extension.py:270: UserWarning: Error checking compiler version for cl: 'utf-8' codec can't decode byte 0xd3 in position 0: invalid continuation byte
  warnings.warn('Error checking compiler version for {}: {}'.format(compiler, error))
building 'pytorch3d._C' extension
Emitting ninja build file C:\Windows\System32\pytorch3d\build\temp.win-amd64-3.8\Release\build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/12] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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 -DWITH_CUDA -IC:\Windows\System32\pytorch3d\pytorch3d\csrc -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\TH -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -IC:\Users\xingx\anaconda3\envs\pytorch3d\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.27.29110\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.backward.gpu.cu -o C:\Windows\System32\pytorch3d\build\temp.win-amd64-3.8\Release\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.backward.gpu.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr "-IC:\Program Files\cub-1.10.0" -std=c++14 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61
FAILED: C:/Windows/System32/pytorch3d/build/temp.win-amd64-3.8/Release/Windows/System32/pytorch3d/pytorch3d/csrc/pulsar/cuda/renderer.backward.gpu.obj
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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 -DWITH_CUDA -IC:\Windows\System32\pytorch3d\pytorch3d\csrc -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\TH -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -IC:\Users\xingx\anaconda3\envs\pytorch3d\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.27.29110\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.backward.gpu.cu -o C:\Windows\System32\pytorch3d\build\temp.win-amd64-3.8\Release\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.backward.gpu.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr "-IC:\Program Files\cub-1.10.0" -std=c++14 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61
C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\include\./camera.h(33): error: identifier "int32_t" is undefined

C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\include\./camera.h(34): error: identifier "int32_t" is undefined

C:/Users/xingx/anaconda3/envs/pytorch3d/lib/site-packages/torch/include\c10/util/ThreadLocalDebugInfo.h(12): warning: modifier is ignored on an enum specifier

C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\include\../cuda/commands.h(213): error: asm operand type size(4) does not match type/size implied by constraint 'l'

C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\include\../cuda/commands.h(213): error: asm operand type size(4) does not match type/size implied by constraint 'l'

4 errors detected in the compilation of "C:/Users/xingx/AppData/Local/Temp/tmpxft_00003cc4_00000000-10_renderer.backward.gpu.cpp1.ii".
nvcc warning : The -std=c++14 flag is not supported with the configured host compiler. Flag will be ignored.
renderer.backward.gpu.cu
[2/12] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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 -DWITH_CUDA -IC:\Windows\System32\pytorch3d\pytorch3d\csrc -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\TH -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -IC:\Users\xingx\anaconda3\envs\pytorch3d\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.27.29110\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.calc_signature.gpu.cu -o C:\Windows\System32\pytorch3d\build\temp.win-amd64-3.8\Release\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.calc_signature.gpu.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr "-IC:\Program Files\cub-1.10.0" -std=c++14 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61
FAILED: C:/Windows/System32/pytorch3d/build/temp.win-amd64-3.8/Release/Windows/System32/pytorch3d/pytorch3d/csrc/pulsar/cuda/renderer.calc_signature.gpu.obj
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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 -DWITH_CUDA -IC:\Windows\System32\pytorch3d\pytorch3d\csrc -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\TH -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -IC:\Users\xingx\anaconda3\envs\pytorch3d\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.27.29110\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.calc_signature.gpu.cu -o C:\Windows\System32\pytorch3d\build\temp.win-amd64-3.8\Release\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.calc_signature.gpu.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr "-IC:\Program Files\cub-1.10.0" -std=c++14 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61
C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\include\./camera.h(33): error: identifier "int32_t" is undefined

C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\include\./camera.h(34): error: identifier "int32_t" is undefined

C:/Users/xingx/anaconda3/envs/pytorch3d/lib/site-packages/torch/include\c10/util/ThreadLocalDebugInfo.h(12): warning: modifier is ignored on an enum specifier

C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\include\../cuda/commands.h(213): error: asm operand type size(4) does not match type/size implied by constraint 'l'

C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\include\../cuda/commands.h(213): error: asm operand type size(4) does not match type/size implied by constraint 'l'

4 errors detected in the compilation of "C:/Users/xingx/AppData/Local/Temp/tmpxft_000046c0_00000000-10_renderer.calc_signature.gpu.cpp1.ii".
nvcc warning : The -std=c++14 flag is not supported with the configured host compiler. Flag will be ignored.
renderer.calc_signature.gpu.cu
[3/12] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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 -DWITH_CUDA -IC:\Windows\System32\pytorch3d\pytorch3d\csrc -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\TH -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -IC:\Users\xingx\anaconda3\envs\pytorch3d\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.27.29110\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.backward_dbg.gpu.cu -o C:\Windows\System32\pytorch3d\build\temp.win-amd64-3.8\Release\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.backward_dbg.gpu.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr "-IC:\Program Files\cub-1.10.0" -std=c++14 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61
FAILED: C:/Windows/System32/pytorch3d/build/temp.win-amd64-3.8/Release/Windows/System32/pytorch3d/pytorch3d/csrc/pulsar/cuda/renderer.backward_dbg.gpu.obj
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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 -DWITH_CUDA -IC:\Windows\System32\pytorch3d\pytorch3d\csrc -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\TH -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -IC:\Users\xingx\anaconda3\envs\pytorch3d\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.27.29110\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.backward_dbg.gpu.cu -o C:\Windows\System32\pytorch3d\build\temp.win-amd64-3.8\Release\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.backward_dbg.gpu.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr "-IC:\Program Files\cub-1.10.0" -std=c++14 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61
C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\include\./camera.h(33): error: identifier "int32_t" is undefined

C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\include\./camera.h(34): error: identifier "int32_t" is undefined

C:/Users/xingx/anaconda3/envs/pytorch3d/lib/site-packages/torch/include\c10/util/ThreadLocalDebugInfo.h(12): warning: modifier is ignored on an enum specifier

C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\include\../cuda/commands.h(213): error: asm operand type size(4) does not match type/size implied by constraint 'l'

C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\include\../cuda/commands.h(213): error: asm operand type size(4) does not match type/size implied by constraint 'l'

4 errors detected in the compilation of "C:/Users/xingx/AppData/Local/Temp/tmpxft_00000518_00000000-10_renderer.backward_dbg.gpu.cpp1.ii".
nvcc warning : The -std=c++14 flag is not supported with the configured host compiler. Flag will be ignored.
renderer.backward_dbg.gpu.cu
[4/12] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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 -DWITH_CUDA -IC:\Windows\System32\pytorch3d\pytorch3d\csrc -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\TH -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -IC:\Users\xingx\anaconda3\envs\pytorch3d\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.27.29110\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.render.gpu.cu -o C:\Windows\System32\pytorch3d\build\temp.win-amd64-3.8\Release\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.render.gpu.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr "-IC:\Program Files\cub-1.10.0" -std=c++14 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61
FAILED: C:/Windows/System32/pytorch3d/build/temp.win-amd64-3.8/Release/Windows/System32/pytorch3d/pytorch3d/csrc/pulsar/cuda/renderer.render.gpu.obj
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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 -DWITH_CUDA -IC:\Windows\System32\pytorch3d\pytorch3d\csrc -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\TH -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -IC:\Users\xingx\anaconda3\envs\pytorch3d\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.27.29110\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.render.gpu.cu -o C:\Windows\System32\pytorch3d\build\temp.win-amd64-3.8\Release\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.render.gpu.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr "-IC:\Program Files\cub-1.10.0" -std=c++14 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61
C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\include\./camera.h(33): error: identifier "int32_t" is undefined

C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\include\./camera.h(34): error: identifier "int32_t" is undefined

C:/Users/xingx/anaconda3/envs/pytorch3d/lib/site-packages/torch/include\c10/util/ThreadLocalDebugInfo.h(12): warning: modifier is ignored on an enum specifier

C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\include\../cuda/commands.h(213): error: asm operand type size(4) does not match type/size implied by constraint 'l'

C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\include\../cuda/commands.h(213): error: asm operand type size(4) does not match type/size implied by constraint 'l'

4 errors detected in the compilation of "C:/Users/xingx/AppData/Local/Temp/tmpxft_00004f54_00000000-10_renderer.render.gpu.cpp1.ii".
nvcc warning : The -std=c++14 flag is not supported with the configured host compiler. Flag will be ignored.
renderer.render.gpu.cu
[5/12] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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 -DWITH_CUDA -IC:\Windows\System32\pytorch3d\pytorch3d\csrc -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\TH -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -IC:\Users\xingx\anaconda3\envs\pytorch3d\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.27.29110\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.norm_sphere_gradients.gpu.cu -o C:\Windows\System32\pytorch3d\build\temp.win-amd64-3.8\Release\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.norm_sphere_gradients.gpu.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr "-IC:\Program Files\cub-1.10.0" -std=c++14 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61
FAILED: C:/Windows/System32/pytorch3d/build/temp.win-amd64-3.8/Release/Windows/System32/pytorch3d/pytorch3d/csrc/pulsar/cuda/renderer.norm_sphere_gradients.gpu.obj
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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 -DWITH_CUDA -IC:\Windows\System32\pytorch3d\pytorch3d\csrc -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\TH -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -IC:\Users\xingx\anaconda3\envs\pytorch3d\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.27.29110\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.norm_sphere_gradients.gpu.cu -o C:\Windows\System32\pytorch3d\build\temp.win-amd64-3.8\Release\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.norm_sphere_gradients.gpu.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr "-IC:\Program Files\cub-1.10.0" -std=c++14 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61
C:/Users/xingx/anaconda3/envs/pytorch3d/lib/site-packages/torch/include\c10/util/ThreadLocalDebugInfo.h(12): warning: modifier is ignored on an enum specifier

C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\include\../cuda/commands.h(213): error: asm operand type size(4) does not match type/size implied by constraint 'l'

C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\include\../cuda/commands.h(213): error: asm operand type size(4) does not match type/size implied by constraint 'l'

2 errors detected in the compilation of "C:/Users/xingx/AppData/Local/Temp/tmpxft_0000082c_00000000-10_renderer.norm_sphere_gradients.gpu.cpp1.ii".
nvcc warning : The -std=c++14 flag is not supported with the configured host compiler. Flag will be ignored.
renderer.norm_sphere_gradients.gpu.cu
[6/12] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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 -DWITH_CUDA -IC:\Windows\System32\pytorch3d\pytorch3d\csrc -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\TH -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -IC:\Users\xingx\anaconda3\envs\pytorch3d\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.27.29110\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.create_selector.gpu.cu -o C:\Windows\System32\pytorch3d\build\temp.win-amd64-3.8\Release\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.create_selector.gpu.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr "-IC:\Program Files\cub-1.10.0" -std=c++14 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61
FAILED: C:/Windows/System32/pytorch3d/build/temp.win-amd64-3.8/Release/Windows/System32/pytorch3d/pytorch3d/csrc/pulsar/cuda/renderer.create_selector.gpu.obj
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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 -DWITH_CUDA -IC:\Windows\System32\pytorch3d\pytorch3d\csrc -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\TH -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -IC:\Users\xingx\anaconda3\envs\pytorch3d\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.27.29110\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.create_selector.gpu.cu -o C:\Windows\System32\pytorch3d\build\temp.win-amd64-3.8\Release\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.create_selector.gpu.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr "-IC:\Program Files\cub-1.10.0" -std=c++14 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61
C:/Users/xingx/anaconda3/envs/pytorch3d/lib/site-packages/torch/include\c10/util/ThreadLocalDebugInfo.h(12): warning: modifier is ignored on an enum specifier

C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\include\../cuda/commands.h(213): error: asm operand type size(4) does not match type/size implied by constraint 'l'

C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\include\../cuda/commands.h(213): error: asm operand type size(4) does not match type/size implied by constraint 'l'

2 errors detected in the compilation of "C:/Users/xingx/AppData/Local/Temp/tmpxft_00003540_00000000-10_renderer.create_selector.gpu.cpp1.ii".
nvcc warning : The -std=c++14 flag is not supported with the configured host compiler. Flag will be ignored.
renderer.create_selector.gpu.cu
[7/12] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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 -DWITH_CUDA -IC:\Windows\System32\pytorch3d\pytorch3d\csrc -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\TH -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -IC:\Users\xingx\anaconda3\envs\pytorch3d\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.27.29110\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.norm_cam_gradients.gpu.cu -o C:\Windows\System32\pytorch3d\build\temp.win-amd64-3.8\Release\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.norm_cam_gradients.gpu.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr "-IC:\Program Files\cub-1.10.0" -std=c++14 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61
FAILED: C:/Windows/System32/pytorch3d/build/temp.win-amd64-3.8/Release/Windows/System32/pytorch3d/pytorch3d/csrc/pulsar/cuda/renderer.norm_cam_gradients.gpu.obj
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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 -DWITH_CUDA -IC:\Windows\System32\pytorch3d\pytorch3d\csrc -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\TH -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -IC:\Users\xingx\anaconda3\envs\pytorch3d\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.27.29110\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.norm_cam_gradients.gpu.cu -o C:\Windows\System32\pytorch3d\build\temp.win-amd64-3.8\Release\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.norm_cam_gradients.gpu.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr "-IC:\Program Files\cub-1.10.0" -std=c++14 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61
C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\include\./camera.h(33): error: identifier "int32_t" is undefined

C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\include\./camera.h(34): error: identifier "int32_t" is undefined

C:/Users/xingx/anaconda3/envs/pytorch3d/lib/site-packages/torch/include\c10/util/ThreadLocalDebugInfo.h(12): warning: modifier is ignored on an enum specifier

C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\include\../cuda/commands.h(213): error: asm operand type size(4) does not match type/size implied by constraint 'l'

C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\include\../cuda/commands.h(213): error: asm operand type size(4) does not match type/size implied by constraint 'l'

4 errors detected in the compilation of "C:/Users/xingx/AppData/Local/Temp/tmpxft_000064a4_00000000-10_renderer.norm_cam_gradients.gpu.cpp1.ii".
nvcc warning : The -std=c++14 flag is not supported with the configured host compiler. Flag will be ignored.
renderer.norm_cam_gradients.gpu.cu
[8/12] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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 -DWITH_CUDA -IC:\Windows\System32\pytorch3d\pytorch3d\csrc -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\TH -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -IC:\Users\xingx\anaconda3\envs\pytorch3d\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.27.29110\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.calc_gradients.gpu.cu -o C:\Windows\System32\pytorch3d\build\temp.win-amd64-3.8\Release\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.calc_gradients.gpu.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr "-IC:\Program Files\cub-1.10.0" -std=c++14 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61
FAILED: C:/Windows/System32/pytorch3d/build/temp.win-amd64-3.8/Release/Windows/System32/pytorch3d/pytorch3d/csrc/pulsar/cuda/renderer.calc_gradients.gpu.obj
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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 -DWITH_CUDA -IC:\Windows\System32\pytorch3d\pytorch3d\csrc -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\TH -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -IC:\Users\xingx\anaconda3\envs\pytorch3d\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.27.29110\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.calc_gradients.gpu.cu -o C:\Windows\System32\pytorch3d\build\temp.win-amd64-3.8\Release\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.calc_gradients.gpu.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr "-IC:\Program Files\cub-1.10.0" -std=c++14 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61
C:/Users/xingx/anaconda3/envs/pytorch3d/lib/site-packages/torch/include\c10/util/ThreadLocalDebugInfo.h(12): warning: modifier is ignored on an enum specifier

C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\include\../cuda/commands.h(213): error: asm operand type size(4) does not match type/size implied by constraint 'l'

C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\include\../cuda/commands.h(213): error: asm operand type size(4) does not match type/size implied by constraint 'l'

2 errors detected in the compilation of "C:/Users/xingx/AppData/Local/Temp/tmpxft_00006550_00000000-10_renderer.calc_gradients.gpu.cpp1.ii".
nvcc warning : The -std=c++14 flag is not supported with the configured host compiler. Flag will be ignored.
renderer.calc_gradients.gpu.cu
[9/12] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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 -DWITH_CUDA -IC:\Windows\System32\pytorch3d\pytorch3d\csrc -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\TH -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -IC:\Users\xingx\anaconda3\envs\pytorch3d\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.27.29110\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.destruct.gpu.cu -o C:\Windows\System32\pytorch3d\build\temp.win-amd64-3.8\Release\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.destruct.gpu.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr "-IC:\Program Files\cub-1.10.0" -std=c++14 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61
FAILED: C:/Windows/System32/pytorch3d/build/temp.win-amd64-3.8/Release/Windows/System32/pytorch3d/pytorch3d/csrc/pulsar/cuda/renderer.destruct.gpu.obj
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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 -DWITH_CUDA -IC:\Windows\System32\pytorch3d\pytorch3d\csrc -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\TH -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -IC:\Users\xingx\anaconda3\envs\pytorch3d\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.27.29110\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.destruct.gpu.cu -o C:\Windows\System32\pytorch3d\build\temp.win-amd64-3.8\Release\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.destruct.gpu.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr "-IC:\Program Files\cub-1.10.0" -std=c++14 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61
C:/Users/xingx/anaconda3/envs/pytorch3d/lib/site-packages/torch/include\c10/util/ThreadLocalDebugInfo.h(12): warning: modifier is ignored on an enum specifier

C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\include\../cuda/commands.h(213): error: asm operand type size(4) does not match type/size implied by constraint 'l'

C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\include\../cuda/commands.h(213): error: asm operand type size(4) does not match type/size implied by constraint 'l'

2 errors detected in the compilation of "C:/Users/xingx/AppData/Local/Temp/tmpxft_00004374_00000000-10_renderer.destruct.gpu.cpp1.ii".
nvcc warning : The -std=c++14 flag is not supported with the configured host compiler. Flag will be ignored.
renderer.destruct.gpu.cu
[10/12] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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 -DWITH_CUDA -IC:\Windows\System32\pytorch3d\pytorch3d\csrc -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\TH -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -IC:\Users\xingx\anaconda3\envs\pytorch3d\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.27.29110\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.forward.gpu.cu -o C:\Windows\System32\pytorch3d\build\temp.win-amd64-3.8\Release\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.forward.gpu.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr "-IC:\Program Files\cub-1.10.0" -std=c++14 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61
FAILED: C:/Windows/System32/pytorch3d/build/temp.win-amd64-3.8/Release/Windows/System32/pytorch3d/pytorch3d/csrc/pulsar/cuda/renderer.forward.gpu.obj
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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 -DWITH_CUDA -IC:\Windows\System32\pytorch3d\pytorch3d\csrc -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\TH -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -IC:\Users\xingx\anaconda3\envs\pytorch3d\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.27.29110\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.forward.gpu.cu -o C:\Windows\System32\pytorch3d\build\temp.win-amd64-3.8\Release\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.forward.gpu.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr "-IC:\Program Files\cub-1.10.0" -std=c++14 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61
C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\include\./camera.h(33): error: identifier "int32_t" is undefined

C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\include\./camera.h(34): error: identifier "int32_t" is undefined

C:/Users/xingx/anaconda3/envs/pytorch3d/lib/site-packages/torch/include\c10/util/ThreadLocalDebugInfo.h(12): warning: modifier is ignored on an enum specifier

C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\include\../cuda/commands.h(213): error: asm operand type size(4) does not match type/size implied by constraint 'l'

C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\include\../cuda/commands.h(213): error: asm operand type size(4) does not match type/size implied by constraint 'l'

4 errors detected in the compilation of "C:/Users/xingx/AppData/Local/Temp/tmpxft_00006338_00000000-10_renderer.forward.gpu.cpp1.ii".
nvcc warning : The -std=c++14 flag is not supported with the configured host compiler. Flag will be ignored.
renderer.forward.gpu.cu
[11/12] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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 -DWITH_CUDA -IC:\Windows\System32\pytorch3d\pytorch3d\csrc -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\TH -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -IC:\Users\xingx\anaconda3\envs\pytorch3d\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.27.29110\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.construct.gpu.cu -o C:\Windows\System32\pytorch3d\build\temp.win-amd64-3.8\Release\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.construct.gpu.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr "-IC:\Program Files\cub-1.10.0" -std=c++14 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61
FAILED: C:/Windows/System32/pytorch3d/build/temp.win-amd64-3.8/Release/Windows/System32/pytorch3d/pytorch3d/csrc/pulsar/cuda/renderer.construct.gpu.obj
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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 -DWITH_CUDA -IC:\Windows\System32\pytorch3d\pytorch3d\csrc -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\TH -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -IC:\Users\xingx\anaconda3\envs\pytorch3d\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.27.29110\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.construct.gpu.cu -o C:\Windows\System32\pytorch3d\build\temp.win-amd64-3.8\Release\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.construct.gpu.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr "-IC:\Program Files\cub-1.10.0" -std=c++14 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61
C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\include\./camera.h(33): error: identifier "int32_t" is undefined

C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\include\./camera.h(34): error: identifier "int32_t" is undefined

C:/Users/xingx/anaconda3/envs/pytorch3d/lib/site-packages/torch/include\c10/util/ThreadLocalDebugInfo.h(12): warning: modifier is ignored on an enum specifier

C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\include\../cuda/commands.h(213): error: asm operand type size(4) does not match type/size implied by constraint 'l'

C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\include\../cuda/commands.h(213): error: asm operand type size(4) does not match type/size implied by constraint 'l'

4 errors detected in the compilation of "C:/Users/xingx/AppData/Local/Temp/tmpxft_00003fc8_00000000-10_renderer.construct.gpu.cpp1.ii".
nvcc warning : The -std=c++14 flag is not supported with the configured host compiler. Flag will be ignored.
renderer.construct.gpu.cu
[12/12] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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 -DWITH_CUDA -IC:\Windows\System32\pytorch3d\pytorch3d\csrc -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\TH -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -IC:\Users\xingx\anaconda3\envs\pytorch3d\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.27.29110\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.fill_bg.gpu.cu -o C:\Windows\System32\pytorch3d\build\temp.win-amd64-3.8\Release\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.fill_bg.gpu.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr "-IC:\Program Files\cub-1.10.0" -std=c++14 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61
FAILED: C:/Windows/System32/pytorch3d/build/temp.win-amd64-3.8/Release/Windows/System32/pytorch3d/pytorch3d/csrc/pulsar/cuda/renderer.fill_bg.gpu.obj
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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 -DWITH_CUDA -IC:\Windows\System32\pytorch3d\pytorch3d\csrc -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\TH -IC:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -IC:\Users\xingx\anaconda3\envs\pytorch3d\include -IC:\Users\xingx\anaconda3\envs\pytorch3d\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.27.29110\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" -c C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.fill_bg.gpu.cu -o C:\Windows\System32\pytorch3d\build\temp.win-amd64-3.8\Release\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\cuda\renderer.fill_bg.gpu.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr "-IC:\Program Files\cub-1.10.0" -std=c++14 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61
C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\include\./camera.h(33): error: identifier "int32_t" is undefined

C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\include\./camera.h(34): error: identifier "int32_t" is undefined

C:/Users/xingx/anaconda3/envs/pytorch3d/lib/site-packages/torch/include\c10/util/ThreadLocalDebugInfo.h(12): warning: modifier is ignored on an enum specifier

C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\include\../cuda/commands.h(213): error: asm operand type size(4) does not match type/size implied by constraint 'l'

C:\Windows\System32\pytorch3d\pytorch3d\csrc\pulsar\include\../cuda/commands.h(213): error: asm operand type size(4) does not match type/size implied by constraint 'l'

4 errors detected in the compilation of "C:/Users/xingx/AppData/Local/Temp/tmpxft_000047dc_00000000-10_renderer.fill_bg.gpu.cpp1.ii".
nvcc warning : The -std=c++14 flag is not supported with the configured host compiler. Flag will be ignored.
renderer.fill_bg.gpu.cu
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
  File "C:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\utils\cpp_extension.py", line 1509, in _run_ninja_build
    subprocess.run(
  File "C:\Users\xingx\anaconda3\envs\pytorch3d\lib\subprocess.py", line 512, in run
    raise CalledProcessError(retcode, process.args,
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 96, in <module>
    setup(
  File "C:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\setuptools\__init__.py", line 163, in setup
    return distutils.core.setup(**attrs)
  File "C:\Users\xingx\anaconda3\envs\pytorch3d\lib\distutils\core.py", line 148, in setup
    dist.run_commands()
  File "C:\Users\xingx\anaconda3\envs\pytorch3d\lib\distutils\dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "C:\Users\xingx\anaconda3\envs\pytorch3d\lib\distutils\dist.py", line 985, in run_command
    cmd_obj.run()
  File "C:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\setuptools\command\install.py", line 67, in run
    self.do_egg_install()
  File "C:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\setuptools\command\install.py", line 109, in do_egg_install
    self.run_command('bdist_egg')
  File "C:\Users\xingx\anaconda3\envs\pytorch3d\lib\distutils\cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "C:\Users\xingx\anaconda3\envs\pytorch3d\lib\distutils\dist.py", line 985, in run_command
    cmd_obj.run()
  File "C:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\setuptools\command\bdist_egg.py", line 175, in run
    cmd = self.call_command('install_lib', warn_dir=0)
  File "C:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\setuptools\command\bdist_egg.py", line 161, in call_command
    self.run_command(cmdname)
  File "C:\Users\xingx\anaconda3\envs\pytorch3d\lib\distutils\cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "C:\Users\xingx\anaconda3\envs\pytorch3d\lib\distutils\dist.py", line 985, in run_command
    cmd_obj.run()
  File "C:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\setuptools\command\install_lib.py", line 11, in run
    self.build()
  File "C:\Users\xingx\anaconda3\envs\pytorch3d\lib\distutils\command\install_lib.py", line 107, in build
    self.run_command('build_ext')
  File "C:\Users\xingx\anaconda3\envs\pytorch3d\lib\distutils\cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "C:\Users\xingx\anaconda3\envs\pytorch3d\lib\distutils\dist.py", line 985, in run_command
    cmd_obj.run()
  File "C:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\setuptools\command\build_ext.py", line 87, in run
    _build_ext.run(self)
  File "C:\Users\xingx\anaconda3\envs\pytorch3d\lib\distutils\command\build_ext.py", line 340, in run
    self.build_extensions()
  File "C:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\utils\cpp_extension.py", line 649, in build_extensions
    build_ext.build_extensions(self)
  File "C:\Users\xingx\anaconda3\envs\pytorch3d\lib\distutils\command\build_ext.py", line 449, in build_extensions
    self._build_extensions_serial()
  File "C:\Users\xingx\anaconda3\envs\pytorch3d\lib\distutils\command\build_ext.py", line 474, in _build_extensions_serial
    self.build_extension(ext)
  File "C:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\setuptools\command\build_ext.py", line 208, in build_extension
    _build_ext.build_extension(self, ext)
  File "C:\Users\xingx\anaconda3\envs\pytorch3d\lib\distutils\command\build_ext.py", line 528, in build_extension
    objects = self.compiler.compile(sources,
  File "C:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\utils\cpp_extension.py", line 622, in win_wrap_ninja_compile
    _write_ninja_file_and_compile_objects(
  File "C:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\utils\cpp_extension.py", line 1228, in _write_ninja_file_and_compile_objects
    _run_ninja_build(
  File "C:\Users\xingx\anaconda3\envs\pytorch3d\lib\site-packages\torch\utils\cpp_extension.py", line 1529, in _run_ninja_build
    raise RuntimeError(message)
RuntimeError: Error compiling objects for extension

There are many errors in the compilation. I enclose the full error here.
after_SET_SDK.txt

Thank you in advance : )

@bottler
Copy link
Contributor

bottler commented Nov 9, 2020

There are quite a few things here. I would recommend you build from the stable tag (latest release) if you don't need the bleeding edge of pytorch3d. The build on the main / master branch is not stable at the moment. I think you might not get any of these errors on the stable tag.

For the errors with asm operand type size(4), I think this is caused by the definition of long differing between some/all windows configurations and linux configurations.

For identifier "int32_t" is undefined, we may want an extra #include <stdint.h>, but I'm not sure.

@nikhilaravi nikhilaravi added the installation Installation questions or issues label Nov 9, 2020
@classner
Copy link
Contributor

classner commented Nov 9, 2020

Hi @XingxinHE,

Thanks for reporting! I just landed a fix that should address the issue, but it'd be great if you could confirm. The bot was a bit quick with closing it.

@XingxinHE
Copy link
Author

Thank you @bottler @classner . I tried but failed again. I think I will use the cpu version instead. Looking forward to the package available in PyPI. 😁

@classner
Copy link
Contributor

@XingxinHE, could you still let us know what error message this produces? I think I addressed both issues that we were observing before, but I don't have a Windows machine around to verify so I'm flying blind here a bit. ;-)

@XingxinHE
Copy link
Author

XingxinHE commented Nov 12, 2020

@classner Thank you for your help! I follow Jeremy's instruction.

1# git clone stable version
The command I typed:

$ git clone https://github.com/facebookresearch/pytorch3d.git@stable

Did I use the correct tag of 'stable'? It said:

Cloning into 'pytorch3d.git@stable'...
fatal: unable to access 'https://github.com/facebookresearch/pytorch3d.git@stable/': The requested URL returned error: 400

2# Different command-line interpreter

2.1# cmd / conda prompt
I found out different command-line interpreters may affect the git or pip procedure. I had the same result as in the issue #172.(error is the same in the section of 2. Install from GitHub) When I use conda prompt to pip install any version, stable or master branch.

$ pip install 'git+https://github.com/facebookresearch/pytorch3d.git'

or

$ pip install 'git+https://github.com/facebookresearch/pytorch3d.git@stable'

I got the same result

ERROR: Invalid requirement: "'git+https://github.com/facebookresearch/pytorch3d.git'"

2.2# Powershell
Windows Powershell is the interpreters I found out which can manage to 'pip install' without the error of 'Invalid requirement'. Few days ago, I tried this and it succeeds in cloning and checks the dependencies. but I failed.

PS C:\Users\xingx\pytorch3d> pip install -e .
Obtaining file:///C:/Users/xingx/pytorch3d
Requirement already satisfied: torchvision>=0.4 in c:\users\xingx\anaconda3\lib\site-packages (from pytorch3d==0.2.5) (0.7.0)
Requirement already satisfied: fvcore in c:\users\xingx\anaconda3\lib\site-packages (from pytorch3d==0.2.5) (0.1.2.post20201030)
Requirement already satisfied: numpy in c:\users\xingx\anaconda3\lib\site-packages (from torchvision>=0.4->pytorch3d==0.2.5) (1.18.5)
Requirement already satisfied: torch==1.6.0 in c:\users\xingx\anaconda3\lib\site-packages (from torchvision>=0.4->pytorch3d==0.2.5) (1.6.0)
Requirement already satisfied: pillow>=4.1.1 in c:\users\xingx\anaconda3\lib\site-packages (from torchvision>=0.4->pytorch3d==0.2.5) (7.2.0)
Requirement already satisfied: yacs>=0.1.6 in c:\users\xingx\anaconda3\lib\site-packages (from fvcore->pytorch3d==0.2.5) (0.1.6)
Requirement already satisfied: termcolor>=1.1 in c:\users\xingx\anaconda3\lib\site-packages (from fvcore->pytorch3d==0.2.5) (1.1.0)
Requirement already satisfied: tqdm in c:\users\xingx\anaconda3\lib\site-packages (from fvcore->pytorch3d==0.2.5) (4.48.2)
Requirement already satisfied: pyyaml>=5.1 in c:\users\xingx\anaconda3\lib\site-packages (from fvcore->pytorch3d==0.2.5) (5.3.1)
Requirement already satisfied: portalocker in c:\users\xingx\anaconda3\lib\site-packages (from fvcore->pytorch3d==0.2.5) (1.7.0)
Requirement already satisfied: tabulate in c:\users\xingx\anaconda3\lib\site-packages (from fvcore->pytorch3d==0.2.5) (0.8.7)
Requirement already satisfied: future in c:\users\xingx\anaconda3\lib\site-packages (from torch==1.6.0->torchvision>=0.4->pytorch3d==0.2.5) (0.18.2)
Requirement already satisfied: pywin32!=226; platform_system == "Windows" in c:\users\xingx\anaconda3\lib\site-packages (from portalocker->fvcore->pytorch3d==0.2.5) (227)
Installing collected packages: pytorch3d
  Running setup.py develop for pytorch3d
    ERROR: Command errored out with exit status 1:
     command: 'C:\Users\xingx\anaconda3\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\xingx\\pytorch3d\\setup.py'"'"'; __file__='"'"'C:\\Users\\xingx\\pytorch3d\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps

This is very strange.....lol.....😂 Today I do nothing different from the past but I work out to pip install via Powershell.... I assume my only contribution to the pytorch3d community is to recommend to use Windows Powershell....

3#Ninja build
I don't know if my modification on Ninja may help with the installation. When I was doing the pip install version on the Powershell a few days ago, I put

$ pip install 'git+https://github.com/facebookresearch/pytorch3d.git'

When I searched out from the error message, I found out this

File"C:\Users\xingx\anaconda3\lib\subprocess.py",line512, in run output=stdout,stderr=stderr)subprocess: CalledProcessError: Command'['ninja','-v']' returned non-zero exit status 1.

I tried to type in the command line

ninja -v

But it said can't find out the program ninja. Then I modify the 'subprocess.py'
L512

-command = ['ninja', '-v']
+command = ['ninja', '--version']

And I install the ninja building from https://ninja-build.org/, I put the ninja.exe into the PATH from the environment variable.

#Conclusion
I used Powershell to interpret and succeed.

$ pip install 'git+https://github.com/facebookresearch/pytorch3d.git@stable'

@classner
Copy link
Contributor

@XingxinHE Great to hear! Happy everything worked out!

@XingxinHE
Copy link
Author

@classner Thank you and the team for the help! Hoooray! Nice library, super love it.

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

No branches or pull requests

4 participants