Я пытаюсь снова запустить систему EyeTracking. Я знаю, что уже есть некоторые вопросы, затрагивающие тот же вопрос (How to compile OpenCV for iOS7 (arm64)), но ничего из этого не сработало для меня. В последнем выпуске github уже встроена встроенная архитектура архитектуры arm64. Поэтому мне не нужно менять python build_framwork.py. Но, следуя инструкциям по сборке рамок на OpenCV документации (http://docs.opencv.org/doc/tutorials/introduction/ios_install/ios_install.html#ios-installation) выводит следующее сообщение об ошибке в терминале:Как построить OpenCV 2.4.8 для iOS7?
sh: cmake: command not found
User defaults from command line:
IDEBuildOperationMaxNumberOfConcurrentCompileTasks = 8
Build settings from command line:
ARCHS = armv7
IPHONEOS_DEPLOYMENT_TARGET = 6.0
SDKROOT = iphoneos7.0
xcodebuild: error: The directory /Users/julesair/Open_CV/ios/build/iPhoneOS-armv7 does not contain an Xcode project.
Build settings from command line:
ARCHS = armv7
IPHONEOS_DEPLOYMENT_TARGET = 6.0
SDKROOT = iphoneos7.0
xcodebuild: error: The directory /Users/julesair/Open_CV/ios/build/iPhoneOS-armv7 does not contain an Xcode project.
sh: cmake: command not found
User defaults from command line:
IDEBuildOperationMaxNumberOfConcurrentCompileTasks = 8
Build settings from command line:
ARCHS = armv7s
IPHONEOS_DEPLOYMENT_TARGET = 6.0
SDKROOT = iphoneos7.0
xcodebuild: error: The directory /Users/julesair/Open_CV/ios/build/iPhoneOS-armv7s does not contain an Xcode project.
Build settings from command line:
ARCHS = armv7s
IPHONEOS_DEPLOYMENT_TARGET = 6.0
SDKROOT = iphoneos7.0
xcodebuild: error: The directory /Users/julesair/Open_CV/ios/build/iPhoneOS-armv7s does not contain an Xcode project.
sh: cmake: command not found
User defaults from command line:
IDEBuildOperationMaxNumberOfConcurrentCompileTasks = 8
Build settings from command line:
ARCHS = arm64
IPHONEOS_DEPLOYMENT_TARGET = 6.0
SDKROOT = iphoneos7.0
xcodebuild: error: The directory /Users/julesair/Open_CV/ios/build/iPhoneOS-arm64 does not contain an Xcode project.
Build settings from command line:
ARCHS = arm64
IPHONEOS_DEPLOYMENT_TARGET = 6.0
SDKROOT = iphoneos7.0
xcodebuild: error: The directory /Users/julesair/Open_CV/ios/build/iPhoneOS-arm64 does not contain an Xcode project.
sh: cmake: command not found
User defaults from command line:
IDEBuildOperationMaxNumberOfConcurrentCompileTasks = 8
Build settings from command line:
ARCHS = i386
IPHONEOS_DEPLOYMENT_TARGET = 6.0
SDKROOT = iphonesimulator7.0
xcodebuild: error: The directory /Users/julesair/Open_CV/ios/build/iPhoneSimulator-i386 does not contain an Xcode project.
Build settings from command line:
ARCHS = i386
IPHONEOS_DEPLOYMENT_TARGET = 6.0
SDKROOT = iphonesimulator7.0
xcodebuild: error: The directory /Users/julesair/Open_CV/ios/build/iPhoneSimulator-i386 does not contain an Xcode project.
sh: cmake: command not found
User defaults from command line:
IDEBuildOperationMaxNumberOfConcurrentCompileTasks = 8
Build settings from command line:
ARCHS = x86_64
IPHONEOS_DEPLOYMENT_TARGET = 6.0
SDKROOT = iphonesimulator7.0
xcodebuild: error: The directory /Users/julesair/Open_CV/ios/build/iPhoneSimulator-x86_64 does not contain an Xcode project.
Build settings from command line:
ARCHS = x86_64
IPHONEOS_DEPLOYMENT_TARGET = 6.0
SDKROOT = iphonesimulator7.0
xcodebuild: error: The directory /Users/julesair/Open_CV/ios/build/iPhoneSimulator-x86_64 does not contain an Xcode project.
Traceback (most recent call last):
File "opencv/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 "opencv/platforms/ios/build_framework.py", line 104, in build_framework
put_framework_together(srcroot, dstroot)
File "opencv/platforms/ios/build_framework.py", line 80, 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 171, in copytree
names = os.listdir(src)
OSError: [Errno 2] No such file or directory: '../build/iPhoneOS-arm64/install/include/opencv2'
Может кто-нибудь сказать мне, как я могу исправить это или то, что проблема есть?
благодарим вас за tipp, я могу построить его сейчас! – julesmummdry
, так что я могу теперь его построить с помощью cmake, но завершить сборку в любом случае не удалось, и никаких фреймов не было создано. некоторые файлы отсутствуют. возможно, вы знакомы с картой opencv. где я могу это получить или как решить проблему? /Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: невозможно открыть файл: /Users/julesair/Open_CV/ios/build/iPhoneOS-arm64/3rdparty/libjpeg/OpenCV.build/ Release-iphoneos/libjpeg.build/Objects-normal/arm64/jmemansi.o (Нет такого файла или каталога) Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool не удалось с кодом выхода 1 – julesmummdry
Извините, я ничего не знаю о проекте OpenCV. –