Ask Your Question

Revision history [back]

setting up opencv on Mac OSX

Hi All,

I'm very new to openCV, so new in fact I'm getting stuck at the install phase. I've been following the install instructions for iOS however I'm stumbling over this point:

" 2. Build OpenCV framework.

cd ~/Work

python opencv/platforms/ios/build_framework.py ios"

This is what comes back over terminal once i execute this command

" 'sh: cmake: command not found User defaults from command line: IDEBuildOperationMaxNumberOfConcurrentCompileTasks = 8

Build settings from command line: ARCHS = armv7 SDKROOT = iphoneos6.1

xcodebuild: error: The directory /Users/Lea/work/ios/build/iPhoneOS-armv7 does not contain an Xcode project.

Build settings from command line: ARCHS = armv7 SDKROOT = iphoneos6.1

xcodebuild: error: The directory /Users/Lea/work/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 SDKROOT = iphoneos6.1

xcodebuild: error: The directory /Users/Lea/work/ios/build/iPhoneOS-armv7s does not contain an Xcode project.

Build settings from command line: ARCHS = armv7s SDKROOT = iphoneos6.1

xcodebuild: error: The directory /Users/Lea/work/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 = i386 SDKROOT = iphonesimulator6.1

xcodebuild: error: The directory /Users/Lea/work/ios/build/iPhoneSimulator-i386 does not contain an Xcode project.

Build settings from command line: ARCHS = i386 SDKROOT = iphonesimulator6.1

xcodebuild: error: The directory /Users/Lea/work/ios/build/iPhoneSimulator-i386 does not contain an Xcode project.

Traceback (most recent call last): File "opencv/platforms/ios/build_framework.py", line 125, 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 117, in build_framework put_framework_together(srcroot, dstroot) File "opencv/platforms/ios/build_framework.py", line 76, in put_framework_together cfg = open(tdir0 + "/cvconfig.h", "rt") IOError: [Errno 2] No such file or directory: '../build/iPhoneOS-armv7/cvconfig.h' "

Any help would be greatly appreciated

setting up opencv on Mac OSX

Hi All,

I'm very new to openCV, so new in fact I'm getting stuck at the install phase. I've been following the install instructions for iOS however I'm stumbling over this point:

" 2.

  1. Build OpenCV framework.

cd ~/Work

python opencv/platforms/ios/build_framework.py ios"

python opencv/platforms/ios/build_framework.py ios

This is what comes back over terminal once i execute this command

" 'sh:

sh: cmake: command not found User found User defaults from command line: IDEBuildOperationMaxNumberOfConcurrentCompileTasks IDEBuildOperationMaxNumberOfConcurrentCompileTasks = 8

Build settings from command line: ARCHS = armv7 SDKROOT = iphoneos6.1

xcodebuild: error: The directory /Users/Lea/work/ios/build/iPhoneOS-armv7 directory /Users/Lea/work/ios/build/iPhoneOS-armv7 does not contain an Xcode project.

Build settings from command line: ARCHS = armv7 SDKROOT = iphoneos6.1

xcodebuild: error: The directory /Users/Lea/work/ios/build/iPhoneOS-armv7 directory /Users/Lea/work/ios/build/iPhoneOS-armv7 does not contain an Xcode project.

sh: cmake: command not found User found User defaults from command line: IDEBuildOperationMaxNumberOfConcurrentCompileTasks IDEBuildOperationMaxNumberOfConcurrentCompileTasks = 8

Build settings from command line: ARCHS = armv7s SDKROOT = iphoneos6.1

xcodebuild: error: The directory /Users/Lea/work/ios/build/iPhoneOS-armv7s directory /Users/Lea/work/ios/build/iPhoneOS-armv7s does not contain an Xcode project.

Build settings from command line: ARCHS = armv7s SDKROOT = iphoneos6.1

xcodebuild: error: The directory /Users/Lea/work/ios/build/iPhoneOS-armv7s directory /Users/Lea/work/ios/build/iPhoneOS-armv7s does not contain an Xcode project.

sh: cmake: command not found User found User defaults from command line: IDEBuildOperationMaxNumberOfConcurrentCompileTasks IDEBuildOperationMaxNumberOfConcurrentCompileTasks = 8

Build settings from command line: ARCHS = i386 SDKROOT = iphonesimulator6.1

xcodebuild: error: The directory /Users/Lea/work/ios/build/iPhoneSimulator-i386 directory /Users/Lea/work/ios/build/iPhoneSimulator-i386 does not contain an Xcode project.

Build settings from command line: ARCHS = i386 SDKROOT = iphonesimulator6.1

xcodebuild: error: The directory /Users/Lea/work/ios/build/iPhoneSimulator-i386 directory /Users/Lea/work/ios/build/iPhoneSimulator-i386 does not contain an Xcode project.

Traceback (most recent call last): File "opencv/platforms/ios/build_framework.py", last):
File "opencv/platforms/ios/build_framework.py",
line 125, 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", 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 117, in build_framework put_framework_together(srcroot, dstroot) File "opencv/platforms/ios/build_framework.py", dstroot) File "opencv/platforms/ios/build_framework.py", line 76, in put_framework_together cfg = open(tdir0 + "/cvconfig.h", "rt") "rt") IOError: [Errno 2] No such file file or directory: '../build/iPhoneOS-armv7/cvconfig.h' "

directory: '../build/iPhoneOS-armv7/cvconfig.h

Any help would be greatly appreciatedappreciated Thank you

setting up opencv on Mac OSX

Hi All,

I'm very new to openCV, so new in fact I'm getting stuck at the install phase. I've been following the install instructions for iOS however I'm stumbling over this point:

  1. Build OpenCV framework.

cd ~/Work

python opencv/platforms/ios/build_framework.py ios

This is what comes back over terminal once i execute this command

sh: cmake: command not found User defaults from command line: IDEBuildOperationMaxNumberOfConcurrentCompileTasks = 8

Build settings from command line: ARCHS = armv7 SDKROOT = iphoneos6.1

xcodebuild: error: The directory /Users/Lea/work/ios/build/iPhoneOS-armv7 does not contain an Xcode project.

Build settings from command line: ARCHS = armv7 SDKROOT = iphoneos6.1

xcodebuild: error: The directory /Users/Lea/work/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 SDKROOT = iphoneos6.1

xcodebuild: error: The directory /Users/Lea/work/ios/build/iPhoneOS-armv7s does not contain an Xcode project.

Build settings from command line: ARCHS = armv7s SDKROOT = iphoneos6.1

xcodebuild: error: The directory /Users/Lea/work/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 = i386 SDKROOT = iphonesimulator6.1

xcodebuild: error: The directory /Users/Lea/work/ios/build/iPhoneSimulator-i386 does not contain an Xcode project.

Build settings from command line: ARCHS = i386 SDKROOT = iphonesimulator6.1

xcodebuild: error: The directory /Users/Lea/work/ios/build/iPhoneSimulator-i386 does not contain an Xcode project.

Traceback (most recent call last):
File "opencv/platforms/ios/build_framework.py", line 125, 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 117, in build_framework put_framework_together(srcroot, dstroot) File "opencv/platforms/ios/build_framework.py", line 76, in put_framework_together cfg = open(tdir0 + "/cvconfig.h", "rt") IOError: [Errno 2] No such file or directory: '../build/iPhoneOS-armv7/cvconfig.h

Any help would be greatly appreciated Thank you