CUDA on linux 64 bit SDK Compiling error

My graphic card is Geforce GTX 280, and the linux is 64 bit linux, after I installed the driver( 180.60 ) and Toolkit,SDK( CUDA 2.0 ), I compile the SDK and get the error:
cannot find -lcudart

How can do now? thanks

You should verify the file in the sdk_dir/common/

and enter the right cuda installation path

also make sure you have PATH and LD_LIBRARY_PATH set

looks something like this



then edit the /etc/ file

and make sure you have this entry

/cuda/cuda/lib # path should be set to your installation path

and run ldconfig

should work now