当我使用 opencv 时,我不断收到此错误
linker command failed with exit code 1 ld: library not found for -lopencv_core.2.4.6
clang: error: linker command failed with exit code 1 (use -v to see invocation)
在我的主cpp中,我使用
#include <opencv2/opencv.hpp>
并且在我的构建设置中标题搜索路径我有路径连接到
/usr/local/include
我的库libopencv_highgui.2.4.6.dylib和libopencv_core.2.4.6.dylib中有这两个文件