facebookresearch / pytorch3d

PyTorch3D is FAIR's library of reusable components for deep learning with 3D data
https://pytorch3d.org/
Other
8.7k stars 1.3k forks source link

Install error for Windows #1715

Closed Whaoze closed 8 months ago

Whaoze commented 8 months ago

C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4690): warning C4996: 'pruneInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4707): warning C4996: 'pruneInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4722): warning C4996: 'pruneInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4743): warning C4996: 'pruneInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4764): warning C4996: 'pruneInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4783): warning C4996: 'pruneInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4803): warning C4996: 'pruneInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4823): warning C4996: 'pruneInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4841): warning C4996: 'pruneInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4861): warning C4996: 'pruneInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4881): warning C4996: 'pruneInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4899): warning C4996: 'pruneInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\bin\nvcc -c D:\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc\face_areas_normals\face_areas_normals.cu -o build\temp.win-amd64-3.10\Release\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc\face_areas_normals\face_areas_normals.obj -ID:\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc -ID:\cub-2.1.0 -ID:\Miniconda\envs\d2l\lib\site-packages\torch\include -ID:\Miniconda\envs\d2l\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Miniconda\envs\d2l\lib\site-packages\torch\include\TH -ID:\Miniconda\envs\d2l\lib\site-packages\torch\include\THC -IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include -ID:\Miniconda\envs\d2l\include -ID:\Miniconda\envs\d2l\Include -ID:\vs\vs\VC\Tools\MSVC\14.29.30133\ATLMFC\include -ID:\vs\vs\VC\Tools\MSVC\14.29.30133\include -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 /wd4068 -Xcompiler /wd4067 -Xcompiler /wd4624 -Xcompiler /wd4190 -Xcompiler /wd4018 -Xcompiler /wd4275 -Xcompiler /wd4267 -Xcompiler /wd4244 -Xcompiler /wd4251 -Xcompiler /wd4819 -Xcompiler /MD -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 -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 -std=c++17 --use-local-env face_areas_normals.cu tmpxft_00002fb8_00000000-7_face_areas_normals.cudafe1.cpp D:\vs\vs\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -ID:\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc -ID:\cub-2.1.0 -ID:\Miniconda\envs\d2l\lib\site-packages\torch\include -ID:\Miniconda\envs\d2l\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Miniconda\envs\d2l\lib\site-packages\torch\include\TH -ID:\Miniconda\envs\d2l\lib\site-packages\torch\include\THC -IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include -ID:\Miniconda\envs\d2l\include -ID:\Miniconda\envs\d2l\Include -ID:\vs\vs\VC\Tools\MSVC\14.29.30133\ATLMFC\include -ID:\vs\vs\VC\Tools\MSVC\14.29.30133\include -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 /EHsc /TpD:\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc\pulsar\host\renderer.backward.cpu.cpp /Fobuild\temp.win-amd64-3.10\Release\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc\pulsar\host\renderer.backward.cpu.obj /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /wd4624 /wd4067 /wd4068 /EHsc -std=c++17 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++17 cl: 命令行 warning D9002 :忽略未知选项“-std=c++17” renderer.backward.cpu.cpp C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(434): warning C4996: 'csric02Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(438): warning C4996: 'csric02Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(442): warning C4996: 'bsric02Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(446): warning C4996: 'bsric02Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(450): warning C4996: 'csrilu02Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(454): warning C4996: 'csrilu02Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(458): warning C4996: 'bsrilu02Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(462): warning C4996: 'bsrilu02Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(466): warning C4996: 'bsrsv2Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(470): warning C4996: 'bsrsv2Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(474): warning C4996: 'bsrsm2Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(478): warning C4996: 'bsrsm2Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(482): warning C4996: 'csru2csrInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(486): warning C4996: 'csru2csrInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(490): warning C4996: 'cusparseColorInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(494): warning C4996: 'cusparseColorInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(498): warning C4996: 'pruneInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(502): warning C4996: 'pruneInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(759): warning C4996: 'bsrsv2Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(774): warning C4996: 'bsrsv2Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(789): warning C4996: 'bsrsv2Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(804): warning C4996: 'bsrsv2Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(819): warning C4996: 'bsrsv2Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(834): warning C4996: 'bsrsv2Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(849): warning C4996: 'bsrsv2Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(864): warning C4996: 'bsrsv2Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(879): warning C4996: 'bsrsv2Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(894): warning C4996: 'bsrsv2Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(2040): warning C4996: 'cusparseSolvePolicy_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(2052): warning C4996: 'csric02Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(2053): warning C4996: 'cusparseSolvePolicy_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(2065): warning C4996: 'csric02Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(2066): warning C4996: 'cusparseSolvePolicy_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(2078): warning C4996: 'csric02Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(2079): warning C4996: 'cusparseSolvePolicy_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(2091): warning C4996: 'csric02Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(2092): warning C4996: 'cusparseSolvePolicy_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(2104): warning C4996: 'csric02Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(2105): warning C4996: 'cusparseSolvePolicy_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(2117): warning C4996: 'csric02Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(2118): warning C4996: 'cusparseSolvePolicy_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(2130): warning C4996: 'csric02Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(2131): warning C4996: 'cusparseSolvePolicy_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(2137): warning C4996: 'bsric02Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(2151): warning C4996: 'bsric02Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(2165): warning C4996: 'bsric02Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(2179): warning C4996: 'bsric02Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(2193): warning C4996: 'bsric02Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(2207): warning C4996: 'bsric02Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(2221): warning C4996: 'bsric02Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(2235): warning C4996: 'bsric02Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(2249): warning C4996: 'bsric02Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(2263): warning C4996: 'bsric02Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(2264): warning C4996: 'cusparseSolvePolicy_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(2278): warning C4996: 'bsric02Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(2279): warning C4996: 'cusparseSolvePolicy_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(2293): warning C4996: 'bsric02Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(2294): warning C4996: 'cusparseSolvePolicy_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(2308): warning C4996: 'bsric02Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(2309): warning C4996: 'cusparseSolvePolicy_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(2323): warning C4996: 'bsric02Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(2324): warning C4996: 'cusparseSolvePolicy_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(2338): warning C4996: 'bsric02Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(2339): warning C4996: 'cusparseSolvePolicy_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(2354): warning C4996: 'bsric02Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(2355): warning C4996: 'cusparseSolvePolicy_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(2369): warning C4996: 'bsric02Info_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(2370): warning C4996: 'cusparseSolvePolicy_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(3043): warning C4996: 'cusparseColorInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(3058): warning C4996: 'cusparseColorInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(3073): warning C4996: 'cusparseColorInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(3088): warning C4996: 'cusparseColorInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4142): warning C4996: 'csru2csrInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4154): warning C4996: 'csru2csrInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4166): warning C4996: 'csru2csrInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4178): warning C4996: 'csru2csrInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4191): warning C4996: 'csru2csrInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4204): warning C4996: 'csru2csrInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4217): warning C4996: 'csru2csrInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4230): warning C4996: 'csru2csrInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4243): warning C4996: 'csru2csrInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4256): warning C4996: 'csru2csrInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4269): warning C4996: 'csru2csrInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4282): warning C4996: 'csru2csrInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4591): warning C4996: 'pruneInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4609): warning C4996: 'pruneInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4625): warning C4996: 'pruneInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4642): warning C4996: 'pruneInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4658): warning C4996: 'pruneInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4673): warning C4996: 'pruneInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4690): warning C4996: 'pruneInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4707): warning C4996: 'pruneInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4722): warning C4996: 'pruneInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4743): warning C4996: 'pruneInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4764): warning C4996: 'pruneInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4783): warning C4996: 'pruneInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4803): warning C4996: 'pruneInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4823): warning C4996: 'pruneInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4841): warning C4996: 'pruneInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4861): warning C4996: 'pruneInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4881): warning C4996: 'pruneInfo_t': The type will be removed in the next major release C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\cusparse.h(4899): warning C4996: 'pruneInfo_t': The type will be removed in the next major release D:\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc\pulsar\include./camera.device.h(18): error C2668: “make_float3”: 对重载函数的调用不明确 D:\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc\pulsar\include../global.h(70): note: 可能是“float3 make_float3(const float &,const float &,const float &)” C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\vector_functions.hpp(243): note: 或 “float3 make_float3(float,float,float)” D:\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc\pulsar\include./camera.device.h(18): note: 尝试匹配参数列表“(float, float, float)”时 D:\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc\pulsar\include./camera.device.h(19): error C2668: “make_float3”: 对重载函数的调用不明确 D:\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc\pulsar\include../global.h(70): note: 可能是“float3 make_float3(const float &,const float &,const float &)” C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\vector_functions.hpp(243): note: 或 “float3 make_float3(float,float,float)” D:\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc\pulsar\include./camera.device.h(19): note: 尝试匹配参数列表“(float, float, float)”时 D:\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc\pulsar\include./camera.device.h(20): error C2668: “make_float3”: 对重载函数的调用不明确 D:\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc\pulsar\include../global.h(70): note: 可能是“float3 make_float3(const float &,const float &,const float &)” C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\vector_functions.hpp(243): note: 或 “float3 make_float3(float,float,float)” D:\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc\pulsar\include./camera.device.h(20): note: 尝试匹配参数列表“(float, float, float)”时 D:\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc\pulsar\include./camera.device.h(21): error C2668: “make_float3”: 对重载函数的调用不明确 D:\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc\pulsar\include../global.h(70): note: 可能是“float3 make_float3(const float &,const float &,const float &)” C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\vector_functions.hpp(243): note: 或 “float3 make_float3(float,float,float)” D:\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc\pulsar\include./camera.device.h(21): note: 尝试匹配参数列表“(float, float, float)”时 D:\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc\pulsar\include./math.h(42): error C2668: “make_float3”: 对重载函数 的调用不明确 D:\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc\pulsar\include../global.h(70): note: 可能是“float3 make_float3(const float &,const float &,const float &)” C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\vector_functions.hpp(243): note: 或 “float3 make_float3(float,float,float)” D:\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc\pulsar\include./math.h(45): note: 尝试匹配参数列表“(float, float, float)”时 D:\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc\pulsar\include./math.h(50): error C2668: “make_float3”: 对重载函数 的调用不明确 D:\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc\pulsar\include../global.h(70): note: 可能是“float3 make_float3(const float &,const float &,const float &)” C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\vector_functions.hpp(243): note: 或 “float3 make_float3(float,float,float)” D:\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc\pulsar\include./math.h(50): note: 尝试匹配参数列表“(float, float, float)”时 D:\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc\pulsar\include./math.h(78): error C2668: “make_float3”: 对重载函数 的调用不明确 D:\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc\pulsar\include../global.h(70): note: 可能是“float3 make_float3(const float &,const float &,const float &)” C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\vector_functions.hpp(243): note: 或 “float3 make_float3(float,float,float)” D:\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc\pulsar\include./math.h(78): note: 尝试匹配参数列表“(float, float, float)”时 D:\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc\pulsar\include./math.h(82): error C2668: “make_float3”: 对重载函数 的调用不明确 D:\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc\pulsar\include../global.h(70): note: 可能是“float3 make_float3(const float &,const float &,const float &)” C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\vector_functions.hpp(243): note: 或 “float3 make_float3(float,float,float)” D:\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc\pulsar\include./math.h(82): note: 尝试匹配参数列表“(float, float, float)”时 D:\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc\pulsar\include./math.h(86): error C2668: “make_float3”: 对重载函数 的调用不明确 D:\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc\pulsar\include../global.h(70): note: 可能是“float3 make_float3(const float &,const float &,const float &)” C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\vector_functions.hpp(243): note: 或 “float3 make_float3(float,float,float)” D:\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc\pulsar\include./math.h(86): note: 尝试匹配参数列表“(float, float, float)”时 D:\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc\pulsar\include./math.h(90): error C2668: “make_float3”: 对重载函数 的调用不明确 D:\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc\pulsar\include../global.h(70): note: 可能是“float3 make_float3(const float &,const float &,const float &)” C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\vector_functions.hpp(243): note: 或 “float3 make_float3(float,float,float)” D:\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc\pulsar\include./math.h(90): note: 尝试匹配参数列表“(float, float, float)”时 D:\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc\pulsar\include./math.h(111): error C2668: “make_float3”: 对重载函数的调用不明确 D:\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc\pulsar\include../global.h(70): note: 可能是“float3 make_float3(const float &,const float &,const float &)” C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\vector_functions.hpp(243): note: 或 “float3 make_float3(float,float,float)” D:\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc\pulsar\include./math.h(114): note: 尝试匹配参数列表“(float, float, float)”时 D:\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc\pulsar\include./math.h(127): error C2668: “make_float3”: 对重载函数的调用不明确 D:\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc\pulsar\include../global.h(70): note: 可能是“float3 make_float3(const float &,const float &,const float &)” C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include\vector_functions.hpp(243): note: 或 “float3 make_float3(float,float,float)” D:\pytorch3d-0.7.5\pytorch3d-0.7.5\pytorch3d\csrc\pulsar\include./math.h(128): note: 尝试匹配参数列表“(float, float, float)”时 error: command 'D:\vs\vs\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\cl.exe' failed with exit code 2

bottler commented 8 months ago

We've had a problem like this, then fixed it, then fixed the fix. Are you using the very latest commit of pytorch3d? Or version 0.7.5? Or a different commit?

Whaoze commented 8 months ago

We've had a problem like this, then fixed it, then fixed the fix. Are you using the very latest commit of pytorch3d? Or version 0.7.5? Or a different commit?

I am using the latest version 0.7.5.

bottler commented 8 months ago

So you need to update to the latest commit on main. Version 0.7.5 is expected to have this problem with CUDA 12.3 (see #1680).

Whaoze commented 8 months ago

So you need to update to the latest commit on main. Version 0.7.5 is expected to have this problem with CUDA 12.3 (see #1680).

Thank you very much. It was your patience that helped me solve this problem.