OCTproZ icon indicating copy to clipboard operation
OCTproZ copied to clipboard

compilation issue Ubuntu 18.04

Open jkim447 opened this issue 1 year ago • 1 comments

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.

jkim447 avatar Dec 11 '22 02:12 jkim447

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?

spectralcode avatar Dec 16 '22 11:12 spectralcode