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

compilation issue Ubuntu 18.04 #23

Open
jkim447 opened this issue Dec 11, 2022 · 1 comment
Open

compilation issue Ubuntu 18.04 #23

jkim447 opened this issue Dec 11, 2022 · 1 comment

Comments

@jkim447
Copy link

jkim447 commented Dec 11, 2022

System: Ubuntu 18.04
Cuda: 11.2
Qt: 5.10.1
GPU: RTX 3090

I am building the project in Qt for the first time and I am getting the following error: "/usr/bin/ld cannot find -lcuda" as seen in the picture below:

image

Additionally, in qtcreator terminal, I'm getting the following error message:
image

I can see that it's not able to locate cuda. But based on the messages it looks like it get can find cudart but not cuda. Any thoughts? Been struggling with this for a while... also I'm pretty certain cuda is properly installed as well.

@spectralcode
Copy link
Owner

Hello, I've never had this problem before, so I'm not sure how to solve it, but have you performed the mandatory post-installation actions mentioned in the cuda installation guide for Linux? Are you able to build the cuda samples without error?

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

2 participants