vchoutas / torch-mesh-isect

Other
295 stars 73 forks source link

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

Open lingtengqiu opened 4 years ago

lingtengqiu commented 4 years ago

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

MoyGcc commented 4 years ago

Firstly make sure you have set the environment variable _$CUDA_SAMPLESINC 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!