WanquanF / NeuralPoints

【Code of CVPR 2022 paper】Neural Points: Point Cloud Representation with Neural Fields for Arbitrary Upsampling
239 stars 39 forks source link

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

Open hay-001 opened 2 years ago

hay-001 commented 2 years ago

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。