recipe for target 'obj/convolutional_kernels.o' failed
xdq:darknet xindq$cmake /bin/sh: 1: nvcc: not found Makefile:88: recipe for target 'obj/convolutional_kernels.o' failed make: *** [obj/convolutional_kernels.o] Error 127
查看CUDA版本 cat /usr/local/cuda/version.txt 编辑配置文件 sudo vim /etc/profile 添加cuda路径配置 export PATH=/usr/local/cuda-8.0/bin${PATH:+:${PATH}} export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} 编译路径文件 source /etc/profile 编译darknet make clean make