opencv3 run in Xcode 40C

Xcode :Version 9.4.1 (9F2000

MAC :10.13.5 (17F77)

dyld: lazy symbol binding failed: can't resolve symbol __ZN2cv6String8allocateEm in /Users/wanglan/Library/Developer/CoreSimulator/Devices/EF5901A6-342D-4190-A9CD-58D3EC1DAF67/data/Containers/Bundle/Application/9E032D25-2416-49B5-95B4-3F5668336EF3/0823.app/0823 because dependent dylib #32 could not be loaded

dyld: can't resolve symbol __ZN2cv6String8allocateEm in /Users/wanglan/Library/Developer/CoreSimulator/Devices/EF5901A6-342D-4190-A9CD-58D3EC1DAF67/data/Containers/Bundle/Application/9E032D25-2416-49B5-95B4-3F5668336EF3/0823.app/0823 because dependent dylib #32 could not be loaded

1个回答

这个说明你的静态库没有配置对,你看下你的opencv3是否安装了。以及它所在的路径是否放在DYLD_LIBRARY_PATH下面了

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问