Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Problem compiling on Mac

I'm following the instructions to the letter, but I'm having a problem. Compilation is failing with the following:

Traceback (most recent call last):
  File "opencv/ios/build_framework.py", line 128, in <module>
    build_framework(os.path.abspath(os.path.join(os.path.dirname(sys.argv[0]), "..")), os.path.abspath(sys.argv[1]))
  File "opencv/ios/build_framework.py", line 120, in build_framework
    put_framework_together(srcroot, dstroot)
  File "opencv/ios/build_framework.py", line 88, in put_framework_together
    shutil.copytree(tdir0 + "/install/include/opencv2", dstdir + "/Headers")
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 168, in copytree
    names = os.listdir(src)
OSError: [Errno 2] No such file or directory: '../build/iPhoneOS-armv7/install/include/opencv2'

What is going wrong?

Problem compiling ios framework on Mac

I'm following the instructions to the letter, but I'm having a problem. Compilation is failing with the following:

Traceback (most recent call last):
  File "opencv/ios/build_framework.py", line 128, in <module>
    build_framework(os.path.abspath(os.path.join(os.path.dirname(sys.argv[0]), "..")), os.path.abspath(sys.argv[1]))
  File "opencv/ios/build_framework.py", line 120, in build_framework
    put_framework_together(srcroot, dstroot)
  File "opencv/ios/build_framework.py", line 88, in put_framework_together
    shutil.copytree(tdir0 + "/install/include/opencv2", dstdir + "/Headers")
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 168, in copytree
    names = os.listdir(src)
OSError: [Errno 2] No such file or directory: '../build/iPhoneOS-armv7/install/include/opencv2'

What is going wrong?