Maximilian
Maximilian

Reputation: 774

Opencv iOS install

Opencv for iOS wont work on my Mac I've done this steps

1.Downloaded cmake

2.installed and runned it(opened ".dmg" and install)

3.cd ~/documents

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

It startet downloading and a Folder appeared

5.cd /

6.sudo on -s /Applications/Xcode.app/Contents/Developer Developer

7.cd ~/documents

8.python opencv/platforms/ios/build_framework.py ios

I now get the error:

Executing: cmake -GXcode -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=/Users/Maxi/Documents/opencv/platforms/ios/cmake/Toolchains/Toolchain-iPhoneOS_Xcode.cmake -DCMAKE_C_FLAGS="-Wno-implicit-function-declaration" -DCMAKE_INSTALL_PREFIX=install -DENABLE_NEON=ON -DBUILD_opencv_world=ON /Users/Maxi/Documents/opencv
/bin/sh: cmake: command not found
('Child returned:', 127)

Thanks in advance

Ps: Mac OS X Yosemite 10.10.2, Xcode 6.1.1, cmake 3.1.3

Upvotes: 0

Views: 1082

Answers (4)

Abhishek Mishra
Abhishek Mishra

Reputation: 1655

You can also use POD for OpenCV , it is easy and simple.

LINK

Upvotes: 0

Arup Sarker
Arup Sarker

Reputation: 175

If you need OpenCV iOS Framework, You can just download the framework from the OpenCV portal. Download OpenCV

Or You can build from Mac. In your command sequence, You have not install CMAKE. Check the below link for installing CMAKE. Process of Installing CMAKE in MAC. Then execute the command which you have done before. Problem will be solved.

Upvotes: 0

wrdeman
wrdeman

Reputation: 820

Try installing from either of the repositories brew or macports.

Upvotes: 1

leMale
leMale

Reputation: 179

Cmake is missing

/bin/sh: cmake: command not found

You just have to install it correctly (link it).

Upvotes: 0

Related Questions