“ / usr / bin / ld:找不到-lcudart”
我是Ubuntu的新手,并且使用Ubuntu 14.04 64位。我想make一个项目,用途cuda和opencv运行时,我得到了以下错误cmake . && make Linking CXX executable ground_estimation /usr/bin/ld: cannot find -lcudart collect2: error: ld returned 1 exit status make[2]: *** [ground_estimation] Error 1 make[1]: *** [CMakeFiles/ground_estimation.dir/all] Error 2 make: *** [all] Error 2 这是输出 ld -lcudart --verbose attempt to open /usr/x86_64-linux-gnu/lib64/libcudart.so failed attempt to open /usr/x86_64-linux-gnu/lib64/libcudart.a failed …