在qt程序中使用yolo时报错:

./conjugateGradientPrecond: error while loading shared libraries: libcublas.so.8.0: cannot open shared object file: No such file or directory

解决办法:
首先找到libcublas.so.8.0  这个文件在哪里,在我的系统Ubuntu16.04,文件在  /usr/local/cuda-8.0/lib64/ 目录下。
然后:

sudo gedit  /etc/ld.so.conf.d/cuda.conf

在文档里添加目录

 /usr/local/cuda-8.0/lib64/   

写完后,然后:

sudo ldconfig
``` 
记住一定要用sudo,除非你在root下。

相关文章:

  • 2021-05-04
  • 2022-12-23
  • 2021-06-12
  • 2021-12-18
  • 2022-12-23
  • 2021-07-04
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-12
  • 2022-12-23
  • 2021-04-03
  • 2021-07-20
  • 2022-12-23
  • 2022-12-23
  • 2021-07-10
相关资源
相似解决方案