CUDA cannot find include and library files that it used to find

NVCC can not find header files anymore. I double checked with CUDA samples it compiled successfully before. It got this:

cc1plus: fatal error: cuda_runtime.h: No such file or directory

I manually added the directory, then it got this:
/usr/bin/ld: cannot find -lcudadevrt
/usr/bin/ld: cannot find -lcudart_staic
collect2: error: ld returned 1 exit status

In addition to setting the include directories, you need to also set the library directories.

See for info: [url]http://docs.nvidia.com/cuda/cuda-installation-guide-linux/[/url]