-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Nerfstudio not compile with latest Visual Studio 2022 due to MSC 1950 #3157
Description
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.
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.