Skip to content

install on windows failed #1969

Open
Open
@baijiorigin

Description

@baijiorigin

python 3.9.21
pytorch 1.12.1
cuda 11.6
cub 1.15.0
setted CUB_HOME,CUDA_HOME

when run 'python setup.py install' don't install successfully

building 'pytorch3d.C' extension
"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6\bin\nvcc" -c "E:\Program Files\pytorch3d-0.7.2\pytorch3d\csrc\ball_query\ball_query.cu" -o "build\temp.win-amd64-cpython-39\Release\Program Files\pytorch3d-0.7.2\pytorch3d\csrc\ball_query\ball_query.obj" "-IE:\Program Files\pytorch3d-0.7.2\pytorch3d\csrc" "-IE:\Program Files\cub-1.15.0" -IE:\Anaconda\envs\pytorch3d-1.12-11.6\lib\site-packages\torch\include -IE:\Anaconda\envs\pytorch3d-1.12-11.6\lib\site-packages\torch\include\torch\csrc\api\include -IE:\Anaconda\envs\pytorch3d-1.12-11.6\lib\site-packages\torch\include\TH -IE:\Anaconda\envs\pytorch3d-1.12-11.6\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6\include" -IE:\Anaconda\envs\pytorch3d-1.12-11.6\include -IE:\Anaconda\envs\pytorch3d-1.12-11.6\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcompiler /EHsc -Xcompiler /wd4190 -Xcompiler /wd4018 -Xcompiler /wd4275 -Xcompiler /wd4267 -Xcompiler /wd4244 -Xcompiler /wd4251 -Xcompiler /wd4819 -Xcompiler /MD -D__CUDA_NO_HALF_OPERATORS
_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -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_75,code=compute_75 -gencode=arch=compute_75,code=sm_75 --use-local-env
error: command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6\bin\nvcc' failed with exit code 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions