NVlabs / nvdiffrecmc

Official code for the NeurIPS 2022 paper "Shape, Light, and Material Decomposition from Images using Monte Carlo Rendering and Denoising".
Other
367 stars 30 forks source link

vs2022,RuntimeError: Could not locate a supported Microsoft Visual C++ installation #27

Open hjmnbnb opened 1 year ago

hjmnbnb commented 1 year ago

I have vs2022,locate at C:\Program Files\Microsoft Visual Studio,the code only consider C:\Program Files(x86)\Microsoft Visual Studio.I think you should add the path(C:\Program Files) to"D:\downLoad\nvdiffrecmc-main\render\optixutils\ops.py" to fix it.

jmunkberg commented 1 year ago

Thanks for letting us know, @hjmnbnb ,

I added a fix for the VS2022 include path in CL b3089bb

Let me know if that works!

hjmnbnb commented 1 year ago

@jmunkberg it work!