graphdeco-inria / gaussian-splatting

Original reference implementation of "3D Gaussian Splatting for Real-Time Radiance Field Rendering"
https://repo-sam.inria.fr/fungraph/3d-gaussian-splatting/
Other
13.69k stars 1.77k forks source link

could could build submodule because lack of ***.obj #914

Open 5p6 opened 1 month ago

5p6 commented 1 month ago

environment:

5p6 commented 1 month ago

i have solved this problem,it seems that cuda cause this error, i changed the file ${cuda_path}\include\crt\host_config.h

#if _MSC_VER < 1910 || _MSC_VER >= 1940

...
#elif _MSC_VER >= 1910 && _MSC_VER < 1910
...
#endif /* (_MSC_VER < 1910 || _MSC_VER >= 1940) || (_MSC_VER >= 1910 && _MSC_VER < 1910) */

into

#if _MSC_VER < 1910 || _MSC_VER >= 2940

...
#elif _MSC_VER >= 1910 && _MSC_VER < 1910
...
#endif /* (_MSC_VER < 1910 || _MSC_VER >= 1940) || (_MSC_VER >= 1910 && _MSC_VER < 1910) */
RJ1227 commented 1 month ago

What CUDA toolkit did you use? Can you tell me your VS 2022 configuration? Here is mine. image

5p6 commented 1 month ago

What CUDA toolkit did you use? Can you tell me your VS 2022 configuration? Here is mine. image

RJ1227 commented 1 month ago

Thanks It is working now 🥹