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

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

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

转载于:https://www.cnblogs.com/Yanfang20180701/p/10673356.html

你可能感兴趣的:(error while loading shared libraries: libopencv_core.so.3.4: cannot open shared object file: No such...)