nerfstudio icon indicating copy to clipboard operation
nerfstudio copied to clipboard

Nerfstudio not compile with latest Visual Studio 2022 due to MSC 1950

Open abrahamezzeddine opened this issue 9 months ago • 3 comments

Describe the bug Nerfstudio is not compatible with current Visual Studio 2022 17.10 due to differences in the MSC version being (194x)

#if _MSC_VER < 1910 || _MSC_VER >= 1940

The only version that supports the latest release Visual Studio 2022 17.10 is latest CUDA 12.5.

#if _MSC_VER < 1910 || _MSC_VER >= 1950

However, CUDA only supports compilers up to 193x according to the website. https://docs.nvidia.com/cuda/cuda-installation-guide-microsoft-windows/index.html

CUDA Requirements: MSVC Version 193x Visual Studio 2022 17.x

17.10 is however 194x when checking the cl.exe file.

To Reproduce To reproduce this error, install Nerfstudio from scratch using the latest Visual Studio 2022 17.10. Gsplat and Tiny Cuda will nt compile because CUDA 11.8 is not compatible.

Expected behavior A successful installation of nerfstudio

Additional context In order to install Nerfstudio, you must download and install an older version or Visual Studio 2022 17.9x.

https://learn.microsoft.com/en-us/visualstudio/releases/2022/release-history#updating-your-installation-to-a-specific-release

Link to earlier releases. I guess Microsoft is pushing for this to have everyone install Copilot with the new Visual Studio 2022 update to 17.10, creating this incompability.

abrahamezzeddine avatar May 23 '24 04:05 abrahamezzeddine