Hallo,
I was using cuda 5.0 toolkit successfully till I have unfortunately rewritten .bashrc in my home directory (ubuntu 12.04). After I realized what happened, I set up the environmental variables as is written in the CUDA getting started guide. But unfortunately, I am unable to compile CUDA samples. The compiler returns the following error:
g++ -m64 -o simpleTextureDrv simpleTextureDrv.o -L/usr/local/cuda-5.0/lib64 -lcuda
/usr/bin/ld: cannot find -lcuda
I have tried to reinstall the toolkit, but the problem remained.
Can anyone, please, help me?
Thanks in advance,
Dalibor