iOS build is broken (Bug #2092)


Added by Aslak Hellesøy over 12 years ago. Updated over 12 years ago.


Status:Done Start date:2012-06-25
Priority:Normal Due date:
Assignee:Vadim Pisarevsky % Done:

0%

Category:ios
Target version:2.4.2
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

I was able to build opencv for iOS up until r8730. As of r8731 it fails:

$ python opencv/ios/build_framework.py /tmp/ios
.....
-- Installing: /tmp/ios/build/iPhoneSimulator/install/share/OpenCV/haarcascades/haarcascade_upperbody.xml
-- Installing: /tmp/ios/build/iPhoneSimulator/install/share/OpenCV/lbpcascades/lbpcascade_frontalface.xml

** BUILD SUCCEEDED **

Traceback (most recent call last):
  File "ios/build_framework.py", line 126, in <module>
    build_framework(os.path.abspath(os.path.join(os.path.dirname(sys.argv[0]), "..")), os.path.abspath(sys.argv[1]))
  File "ios/build_framework.py", line 118, in build_framework
    put_framework_together(srcroot, dstroot)
  File "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/install/include/opencv2'

Let me know if you need additional details.


Associated revisions

Revision 73ce3ef8
Added by Vadim Pisarevsky over 12 years ago

fixed ios framework build (ticket #2092)

Revision a0c98dce
Added by Roman Donchenko about 11 years ago

Merge pull request #2092 from alalek:fix_mingw_warn

History

Updated by Andrey Kamaev over 12 years ago

  • Category set to ios
  • Assignee set to Vadim Pisarevsky

Updated by Vadim Pisarevsky over 12 years ago

fixed in r8807

  • Status changed from Open to Done

Updated by Andrey Kamaev over 12 years ago

  • Target version set to 2.4.2

Also available in: Atom PDF