cuda sdk building errors Building cuda sdk on ubuntu 64 bit without nvidia card


Im installing CUDA 2.3 SDK on ubuntu 64 bit. Unfortunately my laptop doesnt have an NVIDIA card.
Im doing a make at the root directory of sdk. It gives linking error (-lcuda) not found.
Dont you ship along with the SDK/took kit? Where can i get it? Do i need any other header files along with this?



Yes, is included in the installation. But you have to add it to your path variables before compiling. Add this to the end of the .bashrc file in your home directory:


export PATH=$PATH:/usr/local/cuda/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib64

These are the default installation paths for the CUDA toolkit. If you specified a different location for the toolkit, change the paths above.

After changing .bashrc, exit your terminal window and open a new one (so that the new .bashrc will be run). The compiler should now see