unable to execute ‘usr/local/cuda-10.0/bin/nvcc‘: No such file or directory【编译过程出错解决办法】

unable to execute 'usr/local/cuda-10.0/bin/nvcc': No such file or directory
error: command 'usr/local/cuda-10.0/bin/nvcc' failed with exit status 1

解决办法:使用export CUDA_HOME='cuda位置'   重新设置环境变量。

问题解决。

解决后,成功编译。

解决问题参考文章:https://blog.csdn.net/sparkexpert/article/details/103693678

猜你喜欢

转载自blog.csdn.net/qq_41251963/article/details/110120386