|
Building XCode applications with opencv pluginHi, I'm trying to embed a composition in an xcode project. The composition uses opencv plugin. I get the following error when trying to build with xcode 3.2.1/iMac i7: 2010-02-05 10:45:19.364 Quartz3[6520:a0f] *** <QCNodeManager | namespace = "com.apple.QuartzComposer" | 423 nodes>: Could not load bundle at path "/Library/Graphics/Quartz Composer Patches/OpenCV.plugin" (Error Domain=NSCocoaErrorDomain Code=3585 UserInfo=0x11433fca0 "The bundle “OpenCV” couldn’t be loaded because it doesn’t contain a version for the current architecture." (dlopen_preflight(/Library/Graphics/Quartz Composer Patches/OpenCV.plugin/Contents/MacOS/OpenCV): no suitable image found. Did find: /Library/Graphics/Quartz Composer Patches/OpenCV.plugin/Contents/MacOS/OpenCV: no matching architecture in universal wrapper)) 2010-02-05 10:45:19.389 Quartz3[6520:a0f] An uncaught exception was raised 2010-02-05 10:45:19.390 Quartz3[6520:a0f] Cannot create BOOL from object <QCPatch = 0x14613030 "(null)"> of class QCPatch 2010-02-05 10:45:19.391 Quartz3[6520:a0f] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Cannot create BOOL from object <QCPatch = 0x14613030 "(null)"> of class QCPatch' How should I fix this? |
"The bundle “OpenCV” couldn’t be loaded because it doesn’t contain a version for the current architecture."
Maybe you try to build a 64bit app, and OpenCV plugin supports 32bit mode only. Try build on 32bit.
relatedly, make sure garbage collection is Disabled -- openCV doesn't support it. (that generates the same error, iirc)