I built OpenCV using the script available here: http://aptogo.co.uk/2011/09/opencv-framework-for-ios/
Then created a Unity3d iOS project, generated the xcode project from Unity3d, added the OpenCV framework to the project and tried to compile.
I get the following error:
I tried to remove http://adler32.so from the OpenCV lib, using "lipo" and "ar" then repackaged the lib, and I got another duplicated symbol. Eventually I removed a lot of objects from the OpenCV lib and it started complaining about missing symbols.
It was a fun experiment but didn't worked.
If I create a project on xcode with OpenCV it compiles without errors. Unity3d project without OpenCV also works.
xcode version: 4.3.3 unity3d version: 3.5.2 (latest) OpenCV: 2.4.1
I searched for linker option under xcode to see if I could make it more permissive but didnt found anything.
Any idea how to solve the error?