torch-mesh-isect icon indicating copy to clipboard operation
torch-mesh-isect copied to clipboard

error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

Open lingtengqiu opened this issue 3 years ago • 1 comments

There is a question mentioned above. My torch vision is 1.6 whether is higher than your version?

lingtengqiu avatar Sep 05 '20 08:09 lingtengqiu

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!

MoyGcc avatar Sep 20 '20 16:09 MoyGcc