sxyu / svox2

Plenoxels: Radiance Fields without Neural Networks
BSD 2-Clause "Simplified" License
2.79k stars 359 forks source link

Running the technique on Windows #16

Open danperazzo opened 2 years ago

danperazzo commented 2 years ago

Hello everyone, thanks for releasing this wonderful project! Is there any way to make it run on WIndows? I have been having problems with the CUDA

KyungwonYun commented 2 years ago

Installing visual studio build tools with c++ features worked for me.

danperazzo commented 2 years ago

What version of Visual Studio are you working with?

KyungwonYun commented 2 years ago

I installed build tools 2019, version 16.11.8, image

Hope this helps.

FYI, the installation environment was: OS: Windows 10 GPU: RTX 2080 Ti CUDA: 11.3

And the problem in my case was build failure while building svox2. There was a warning regarding CUB_HOME environment variable, which says only the case of CUDA < 11. After that warning, there was a link to vs build tools. (Sorry, I didn't logged it and I cannot reproduce the case.)

So if this is your case, please check the link in the failure message. If you can't, maybe you can try tools for 2022 from here but I'm not sure MSVC v143 will do or not. (I installed MSVC v142)

danperazzo commented 2 years ago

Thank you, it seems to work now! My problem was that I have been using only the cudatoolkit available on conda environment. I also needed to install CUDA 11.3 on my entire system. After doing this, it worked just fine