facebookresearch / PointContrast

Code for paper <PointContrast: Unsupervised Pretraining for 3D Point Cloud Understanding>
MIT License
329 stars 33 forks source link

installing minkowski engine issue #5

Open janardhan08 opened 3 years ago

janardhan08 commented 3 years ago

I having trouble installing Minkowski engine for Pointcontrast I am getting this error

NVCC src/pooling_max.cu nvcc fatal : Value 'c++14' is not defined for option 'std' Makefile:166: recipe for target 'objs/cuda/pooling_max.o' failed make: [objs/cuda/pooling_max.o] Error 1 make: Waiting for unfinished jobs.... Traceback (most recent call last): File "setup.py", line 146, in run_command(*compile_args) File "setup.py", line 48, in run_command subprocess.check_call(args) File "/Data4T/janardhan/anaconda3/envs/dlv/lib/python3.7/subprocess.py", line 363, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '('make', '-j12', 'PY

s9xie commented 3 years ago

From the description, it might be a GCC version problem:

See this post: https://discuss.pytorch.org/t/you-need-c-14-to-compile-pytorch/63185