Ask Your Question

Build OpenCV for iOS Unity

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

CaseJ gravatar image

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

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

but when i run the command

python opencv/platforms/ios/ ios

The build fails with this error

    -o /<path>/ios/build/iPhoneOS-armv7/lib/Release/libopencv_world.a
can't open file: /<path>/ios/build/iPhoneOS-armv7/3rdparty/libjpeg/ 
(No such file or directory)
    Command /Applications/ 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


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

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

1 answer

Sort by ยป oldest newest most voted

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

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


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

Seen: 2,163 times

Last updated: Nov 12 '13