编译的时候出现/usr/bin/ld: cannot find -lcudart

编译的时候出现/usr/bin/ld: cannot find -lcudart
是咋回事阿?该杂解决?

你没有设置环境变量?