NeuralPoints icon indicating copy to clipboard operation
NeuralPoints copied to clipboard

When running the test file, an error is reported。RuntimeError: Error building extension 'cd': [1/1] c++ chamfer_distance.o chamfer_distance.cuda.o

Open hay-001 opened this issue 2 years ago • 0 comments

error: RuntimeError: Error building extension 'cd': [1/1] c++ chamfer_distance.o chamfer_distance.cuda.o -shared -L/home/hay/Downloads/ENTER/envs/NePs/lib/python3.8/site-packages/torch/lib -lc10 -lc10_cuda -ltorch_cpu -ltorch_cuda -ltorch -ltorch_python -L/home/hay/Downloads/ENTER/envs/NePs/lib64 -lcudart -o cd.so FAILED: cd.so c++ chamfer_distance.o chamfer_distance.cuda.o -shared -L/home/hay/Downloads/ENTER/envs/NePs/lib/python3.8/site-packages/torch/lib -lc10 -lc10_cuda -ltorch_cpu -ltorch_cuda -ltorch -ltorch_python -L/home/hay/Downloads/ENTER/envs/NePs/lib64 -lcudart -o cd.so /usr/bin/ld: cannot find -lcudart collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed.

When running the test file, an error is reported。

hay-001 avatar Jul 12 '22 11:07 hay-001