OpenCV4.1.1 解决无法如下问题:

error while loading shared libraries: libopencv_highgui.so.4.1: cannot open shared object file: No such file or directory

  • step1: cd /etc/ld.so.conf.d
  • step2: 创建 Opencv.conf 文件: sudo touch OpenCV.conf
    • 在OpenCV.conf 文件中添加 libopencv_highgui.so.4.1 所在的文件夹地址

Error while loading shared libraries: libopencv_highgui.so.4.1: cannot open shared object file:

  

  • step3: sudo vim OpenCV.conf // 使用sudo 解决 readonly 问题
  • step4: sudo ldconfig

 

 

 

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-29
  • 2022-12-23
  • 2021-07-07
  • 2021-04-24
猜你喜欢
  • 2022-12-23
  • 2021-09-26
  • 2022-12-23
  • 2021-04-03
  • 2021-07-21
  • 2021-08-31
  • 2022-12-23
相关资源
相似解决方案