cannot find -lopencv_core

总是出现
/usr/bin/ld: cannot find -lopencv_calib3d
/usr/bin/ld: cannot find -lopencv_core
/usr/bin/ld: cannot find -lopencv_features2d

终极解决方案!!
直接将自定义安装的所有opencv动态链接库文件拷贝到use/lib文件夹下!!
再执行ldconfig

cmake.
make
就能成功了。

转载于:https://www.cnblogs.com/-1339513141/p/8728043.html

你可能感兴趣的:(cannot find -lopencv_core)