Pointnet2_PyTorch icon indicating copy to clipboard operation
Pointnet2_PyTorch copied to clipboard

An issue about running setup.py

Open sailor-z opened this issue 4 years ago • 6 comments

Thank you so much for your work. I met a mistake of running "setup.py" with CUDA 10.1 and Pytorch 1.1.0. Could you please help me? image

sailor-z avatar Oct 14 '19 23:10 sailor-z

IIRC, this error happens when nvcc doesn't support the gcc version you are using.

erikwijmans avatar Oct 15 '19 00:10 erikwijmans

Thank you so much for your reply. Should I use gcc 6 ? My gcc version is 7.4.

sailor-z avatar Oct 15 '19 01:10 sailor-z

Worth a shot -- I don't know the compatibilities for a given version of nvcc and looking it up is always really annoying (nvidia doesn't explicitly document that)

erikwijmans avatar Oct 15 '19 01:10 erikwijmans

I got a similar problem. Any conclusions on how to fix it?

VictorZuanazzi avatar Oct 29 '19 09:10 VictorZuanazzi

I got the problem with Ubuntu18.04, CUDA10.1, GCC7.4.

LuyaooChen avatar Jun 02 '20 12:06 LuyaooChen

I install gcc6 and use it by adding this arg "-ccbin=/usr/bin/gcc-6" to nvcc, then the problem is solved!

LuyaooChen avatar Jun 03 '20 08:06 LuyaooChen