在用QT编写调用caffe的工程时,发现一直有个错误:

error while loading shared libraries libcaffe.so.1.0.0-rc3: cannot open shared object file: No such file or directory

解决方案:

/etc/ld.so.conf.d文件夹下添加一个caffe.conf文件,将libcaffe.so文件的路经写到caffe.conf文件中,例如我的是/home/caffe/build/lib.
然后执行

sudo ldconfig

相关文章:

  • 2022-12-23
  • 2023-02-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-14
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-20
  • 2021-08-01
  • 2022-12-23
  • 2021-05-05
  • 2022-01-14
  • 2021-05-17
  • 2022-01-12
相关资源
相似解决方案