torch-mesh-isect
torch-mesh-isect copied to clipboard
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
There is a question mentioned above. My torch vision is 1.6 whether is higher than your version?
Firstly make sure you have set the environment variable $CUDA_SAMPLES_INC correctly to the path that contains the header helper_math.h
. If you still have the problem, try to replace all AT_CHECK
with TORCH_CHECK
in the file src/bvh.cpp
and build again (the reason might be you have a higher version of PyTorch on your device).
Hope this can help you!