nvidia jetson xavier NX编译darknet, darknet /bin/sh: 1: nvcc: not found

原博客迁移到:https://blog.csdn.net/u013171226/article/details/107680309

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

查看/usr/local/cuda-10.0/bin下是否有nvcc可执行程序,如果有则说明nvcc没有被设置为系统变量

vim ~/.bashrc

然后在末尾添加

export PATH=/usr/local/cuda-10.0/bin${PATH:+:${PATH}}
export LD_LIBRARY_PATH=/usr/local/cuda-10.0/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}

然后source  ~/.bashrc

 

posted @ 2020-05-28 21:37  cumtchw  阅读(1124)  评论(0编辑  收藏  举报