我正在关注这个: http ://sadeepj.blogspot.com.br/2012/03/installing-and-configuring-opencv-to.html
我有一个问题,编译。但我已经修复了它,修改了2个文件......
现在我正在尝试运行该示例。
我收到此错误消息:
ld /Users/eduardoreis/Library/Developer/Xcode/DerivedData/DemoOpenCV2-cqudsdzwopsadacnkbwrsxuncofg/Build/Products/Debug/DemoOpenCV2 normal x86_64 cd /Users/eduardoreis/Documents/XCodeDevelopment/DemoOpenCV2 setenv MACOSX_DEPLOYMENT_TARGET 10.8 /Applications/Xcode.app/Contents/ Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8。sdk -L/Users/eduardoreis/Library/Developer/Xcode/DerivedData/DemoOpenCV2-cqudsdzwopsadacnkbwrsxuncofg/Build/Products/Debug -F/Users/eduardoreis/Library/Developer/Xcode/DerivedData/DemoOpenCV2-cqudsdzwopsadacnkbwrsxuncofg/Build/Products/Debug -文件列表 /Users/eduardoreis/Library/Developer/Xcode/DerivedData/DemoOpenCV2-cqudsdzwopsadacnkbwrsxuncofg/Build/Intermediates/DemoOpenCV2.build/Debug/DemoOpenCV2.build/Objects-normal/x86_64/DemoOpenCV2.LinkFileList -mmacosx-version-min=10.8 - stdlib=libc++ -lopencv_core.2.4.6 -lopencv_highgui.2.4.6 -Xlinker -dependency_info -Xlinker /Users/eduardoreis/Library/Developer/Xcode/DerivedData/DemoOpenCV2-cqudsdzwopsadacnkbwrsxuncofg/Build/Intermediates/DemoOpenCV2.build/Debug/DemoOpenCV2。构建/对象-正常/x86_64/DemoOpenCV2_dependency_info。dat -o /Users/eduardoreis/Library/Developer/Xcode/DerivedData/DemoOpenCV2-cqudsdzwopsadacnkbwrsxuncofg/Build/Products/Debug/DemoOpenCV2
ld:找不到 -lopencv_core.2.4.6 的库 clang:错误:链接器命令失败,退出代码为 1(使用 -v 查看调用)
我已经遵循所有步骤。我什至无法建造它。请帮我。
[在有人说这是重复的帖子之前,我知道,这是原始的: C++ linker errors with OpenCV。对不起。但我什至不能评论那个:/]