shengyu-meng/dreamfields-3D

How to install raymarching on Win10?

StrugglingForBetter opened this issue · 3 comments

How to install raymarching on Win10?

To be honest, I failed to install that on windows, only succeed in Ubuntu 16.04.
In theory, when you have a proper compiler in windows, for example, Developer Command Prompt for VS 2022/2019, you could try to run this command to install:

cd raymarching
python setup.py build_ext --inplace  # build ext only, do not install (only can be used in the parent directory)
pip install .  # install to python path (you still need the raymarching/ folder, since this only install the built extension.)

Then I meet a lot of errors which you may as well, then you can try to fix that by refering to ashawkey/torch-ngp#51
Hope that can help you and let me know if you figure it out.

I tried installing raymarching on win 10 and win 11 , anaconda env

Worked fine with visual studio 2019 installed
It was giving error with visual studio 2022

Can you give an example of the errors you encountered