Ask Your Question

daydreamer1987's profile - activity

2013-08-13 05:21:48 -0600 received badge  Editor (source)
2013-08-13 05:20:18 -0600 asked a question 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