Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Problems installing Opencv on Mac

Hello! I am trying to install Opencv for the first time. When I run this command line:

python opencv/platforms/ios/build_framework.py ios

Comes our this error:

image description image description

How can I figure out what's going wrong?

Thank you so much for your time!

Problems installing Opencv on Mac

Hello! I am trying to install Opencv for the first time. When I run this command line:

python opencv/platforms/ios/build_framework.py ios

Comes our this error:

image description image description

Executing: ['cmake', '-GXcode', '-DAPPLE_FRAMEWORK=ON', '-DCMAKE_INSTALL_PREFIX=install', '-DCMAKE_BUILD_TYPE=Release', '-DCMAKE_TOOLCHAIN_FILE=/Users/Jocy/Downloads/opencv/platforms/ios/cmake/Toolchains/Toolchain-iPhoneOS_Xcode.cmake', '-DENABLE_NEON=ON', '/Users/Jocy/Downloads/opencv', '-DCMAKE_C_FLAGS=-fembed-bitcode', '-DCMAKE_CXX_FLAGS=-fembed-bitcode'] in /Users/Jocy/Downloads/ios/build/armv7-iPhoneOS

ERROR: [Errno 2] No such file or directory

Traceback (most recent call last): File "opencv/platforms/ios/build_framework.py", line 87, in build self._build(outdir) File "opencv/platforms/ios/build_framework.py", line 81, in _build self.buildOne(t[0], t[1], mainBD, cmake_flags) File "opencv/platforms/ios/build_framework.py", line 133, in buildOne execute(cmakecmd, cwd = builddir) File "opencv/platforms/ios/build_framework.py", line 34, in execute retcode = check_call(cmd, cwd = cwd) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 535, in check_call retcode = call(popenargs, *kwargs) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 522, in call return Popen(popenargs, *kwargs).wait() File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1335, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory

How can I figure out what's going wrong?wrong? I just find some answers says that I should add path to CMake, but still don't know how to add it.

Thank you so much for your time!

Problems installing Opencv on Mac

Hello! I am trying to install Opencv for the first time. When I run this command line:

python opencv/platforms/ios/build_framework.py ios

Comes our this error:

Executing: ['cmake', '-GXcode', '-DAPPLE_FRAMEWORK=ON', '-DCMAKE_INSTALL_PREFIX=install', '-DCMAKE_BUILD_TYPE=Release', '-DCMAKE_TOOLCHAIN_FILE=/Users/Jocy/Downloads/opencv/platforms/ios/cmake/Toolchains/Toolchain-iPhoneOS_Xcode.cmake', '-DENABLE_NEON=ON', '/Users/Jocy/Downloads/opencv', '-DCMAKE_C_FLAGS=-fembed-bitcode', '-DCMAKE_CXX_FLAGS=-fembed-bitcode'] in /Users/Jocy/Downloads/ios/build/armv7-iPhoneOS

ERROR: [Errno 2] No such file or directory

Traceback (most recent call last): File "opencv/platforms/ios/build_framework.py", line 87, in build self._build(outdir) File "opencv/platforms/ios/build_framework.py", line 81, in _build self.buildOne(t[0], t[1], mainBD, cmake_flags) File "opencv/platforms/ios/build_framework.py", line 133, in buildOne execute(cmakecmd, cwd = builddir) File "opencv/platforms/ios/build_framework.py", line 34, in execute retcode = check_call(cmd, cwd = cwd) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 535, in check_call retcode = call(popenargs, *kwargs) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 522, in call return Popen(popenargs, *kwargs).wait() File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1335, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory

How can I figure out what's going wrong? I just find some answers says that I should add path to CMake, but still don't know how to add it.

Thank you so much for your time!

click to hide/show revision 4
No.4 Revision

updated 2016-09-28 12:27:03 -0600

berak gravatar image

Problems installing Opencv on Mac

Hello! I am trying to install Opencv for the first time. When I run this command line:

python opencv/platforms/ios/build_framework.py ios

Comes our this error:

Executing: ['cmake', '-GXcode', '-DAPPLE_FRAMEWORK=ON', '-DCMAKE_INSTALL_PREFIX=install', '-DCMAKE_BUILD_TYPE=Release', '-DCMAKE_TOOLCHAIN_FILE=/Users/Jocy/Downloads/opencv/platforms/ios/cmake/Toolchains/Toolchain-iPhoneOS_Xcode.cmake', '-DENABLE_NEON=ON', '/Users/Jocy/Downloads/opencv', '-DCMAKE_C_FLAGS=-fembed-bitcode', '-DCMAKE_CXX_FLAGS=-fembed-bitcode'] in /Users/Jocy/Downloads/ios/build/armv7-iPhoneOS

/Users/Jocy/Downloads/ios/build/armv7-iPhoneOS ============================================================ ERROR: [Errno 2] No such file or directory

directory ============================================================ Traceback (most recent call last): File "opencv/platforms/ios/build_framework.py", line 87, in build self._build(outdir) File "opencv/platforms/ios/build_framework.py", line 81, in _build self.buildOne(t[0], t[1], mainBD, cmake_flags) File "opencv/platforms/ios/build_framework.py", line 133, in buildOne execute(cmakecmd, cwd = builddir) File "opencv/platforms/ios/build_framework.py", line 34, in execute retcode = check_call(cmd, cwd = cwd) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 535, in check_call retcode = call(popenargs, *kwargs) call(*popenargs, **kwargs) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 522, in call return Popen(popenargs, *kwargs).wait() Popen(*popenargs, **kwargs).wait() File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1335, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory

directory

How can I figure out what's going wrong? I just find some answers says that I should add path to CMake, but still don't know how to add it.

Thank you so much for your time!