Xcode 开发C++程序 用到opencv库
开发环境:
MAC OSX10.8
Xcode4.6
OpenCV 2.4.5
Common Win32程序
报错:
dyld: lazy symbol binding failed: can't resolve symbol __ZN2cv6imreadERKSsi in /Users/carol/Library/Developer/Xcode/DerivedData/GrabCut-gnrbubgxxlawrjbejmvbeuvlsjus/Build/Products/Debug/GrabCut because dependent dylib #1 could not be loaded
dyld: can't resolve symbol __ZN2cv6imreadERKSsi in /Users/carol/Library/Developer/Xcode/DerivedData/GrabCut-gnrbubgxxlawrjbejmvbeuvlsjus/Build/Products/Debug/GrabCut because dependent dylib #1 could not be loaded
有木有人遇到过这个问题?
目测是用到imread这个方法出错。但是看不粗来是哪里错了。
dylib #1是
libopencv_highgui.2.4.5.dylib这个库文件