Closed xiaomihefeifei closed 1 year ago
This looks like a ninja build issue and isn't necessarily related to the nvdiffrast version change. The error could be caused by the library being in use while you're trying to compile a new version. If that's not the case here, you should try clearing torch's extension build directory for nvdiffrast, in case it's in some sort of corrupted state.
The directory is easiest to locate by seeing what torch.utils.cpp_extension._get_build_directory('nvdiffrast_plugin', False)
returns. On Windows it's probably somewhere under %localappdata%\torch_extensions
by default.
This looks like a ninja build issue and isn't necessarily related to the nvdiffrast version change. The error could be caused by the library being in use while you're trying to compile a new version. If that's not the case here, you should try clearing torch's extension build directory for nvdiffrast, in case it's in some sort of corrupted state.
The directory is easiest to locate by seeing what
torch.utils.cpp_extension._get_build_directory('nvdiffrast_plugin', False)
returns. On Windows it's probably somewhere under%localappdata%\torch_extensions
by default.
Thank you very much for helping me I solved this problem perfectly.
I was able to use version 0.28 before. But, it seems like meet a compile error when I try use version 0.30.
Thank you very much for any suggestionl.