Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 this issue Jul 12, 2022 · 0 comments

Comments

@hay-001
Copy link

hay-001 commented Jul 12, 2022

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。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant