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

1. 将CMakeLists.txt 文件中 find_package(OpenCV REQURED)补充完整为带版本号的:find_package(OpenCV 2.4.9 REQURED)

2. 将程序编译,若还不通过,参考这篇博文:https://blog.csdn.net/lql0716/article/details/54434695

posted @ 2019-04-08 20:58  不拿曾经看以后  阅读(2499)  评论(0编辑  收藏  举报