Ask Your Question
0

Build OpenCV for iOS Unity

asked 2013-08-01 04:44:48 -0500

CaseJ gravatar image

updated 2013-08-01 05:21:06 -0500

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

edit retag flag offensive close merge delete

Comments

I am having the same problem. Did you find a solution?

midiman gravatar imagemidiman ( 2013-10-02 07:01:28 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-11-12 15:33:57 -0500

10tklz gravatar image

Has anyone made any progress in this direction? I am also working on a Unity-iOS-OpenCV project and any help here would be great.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-08-01 04:44:48 -0500

Seen: 1,863 times

Last updated: Nov 12 '13