有没有人有想法,为什么这个错误发生?
我跑$ python platforms/ios/build_framework.py ios
创建framework
OpenCV的iOS版。 但安装程序失败。
平台信息:来自OpenCV的今天,CMake的2.8.12.2时,Xcode 5.1.1最新承诺,Mac OSX版10.9.2
我跟着这个教程: 安装OpenCV进行的iOS
** INSTALL FAILED **
The following build commands failed:
Libtool ios/build/iPhoneSimulator-x86_64/modules/world/UninstalledProducts/libopencv_world.a normal x86_64
(1 failure)
Traceback (most recent call last):
File "platforms/ios/build_framework.py", line 112, in <module>
build_framework(os.path.abspath(os.path.join(os.path.dirname(sys.argv[0]), "../..")), os.path.abspath(sys.argv[1]))
File "platforms/ios/build_framework.py", line 104, in build_framework
put_framework_together(srcroot, dstroot)
File "platforms/ios/build_framework.py", line 80, in put_framework_together
shutil.copytree(tdir0 + "/install/include/opencv2", dstdir + "/Headers")
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 171, in copytree
names = os.listdir(src)
OSError: [Errno 2] No such file or directory: '../build/iPhoneOS-arm64/install/include/opencv2'