Ask Your Question

CaseJ's profile - activity

2013-08-01 05:21:06 -0600 received badge  Editor (source)
2013-08-01 05:17:40 -0600 received badge  Supporter (source)
2013-08-01 05:17:33 -0600 commented question OpenCV 2.4 build Failed error while creating iOS framework in Mac

Did you ever figure this out?

2013-08-01 04:44:48 -0600 asked a question Build OpenCV for iOS Unity

Hi, I am trying to build a version of the opencv library for the iOS Unity game engine by following the instructions here link.

I have cloned the git

https://github.com/Itseez/opencv.git

but when i run the command

python opencv/platforms/ios/build_framework.py ios

The build fails with this error

    -o /<path>/ios/build/iPhoneOS-armv7/lib/Release/libopencv_world.a
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: 
can't open file: /<path>/ios/build/iPhoneOS-armv7/3rdparty/libjpeg/OpenCV.build/Release-iphoneos/libjpeg.build/Objects-normal/armv7/jmemansi.o 
(No such file or directory)
    Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool failed with exit code 1

        ** BUILD FAILED **

        The following build commands failed:
            Libtool /<working-path>/ios/build/iPhoneOS-armv7/lib/Release/libopencv_world.a normal armv7
        (1 failure)
        Build settings from command line:
            ARCHS = armv7
            SDKROOT = iphoneos6.0

How do build the library for iOS

Note: The reason why i need to do this is so is build a pre c++11 version to work with Unity, when i figure out how to build the current version