setting up opencv on Mac OSX

asked 2013-08-13 05:20:18 -0600

updated 2013-08-13 05:51:40 -0600

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

edit retag flag offensive close merge delete

Comments

Just a remark on the use of tags, there is already a wide list of tags available, without the hashtags, that people can use to filter out the topics. Adding hashtags creates double tags without any use, so in the feature, please remove hashtags from your questions tags.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-08-13 05:52:04 -0600 )edit