Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

build opencv_contrib module for iOS, opencv_xfeatures2d fail

I build framework for OpenCV with opencv_contrib module. OpenCV 3.1 Xcode 7.2.1 I refer http://answers.opencv.org/question/40392/how-to-build-opencv_contrib-module-for-ios/ . but link is not effective. try: python build_framework.py --contrib opencv_contrib ios

The error: The following build commands failed: CompileC platforms/ios/ios/build/armv7-iPhoneOS/modules/xfeatures2d/OpenCV.build/Release-iphoneos/opencv_xfeatures2d.build/Objects-normal/armv7/sift.o /Users/admin/Desktop/ChenWei-workspace/OpenCV_for_iOS/opencv_contrib/modules/xfeatures2d/src/sift.cpp normal armv7 c++ com.apple.compilers.llvm.clang.1_0.compiler

(1 failure)

ERROR: Command '['xcodebuild', 'IPHONEOS_DEPLOYMENT_TARGET=6.0', 'ARCHS=armv7', '-sdk', 'iphoneos', '-configuration', 'Release', '-parallelizeTargets', '-jobs', '4', '-target', 'ALL_BUILD', 'build']' returned non-zero exit status 65

Traceback (most recent call last): File "build_framework.py", line 87, in build self._build(outdir) File "build_framework.py", line 81, in _build self.buildOne(t[0], t[1], mainBD, cmake_flags) File "build_framework.py", line 139, in buildOne execute(buildcmd + ["-target", "ALL_BUILD", "build"], cwd = builddir) File "build_framework.py", line 34, in execute retcode = check_call(cmd, cwd = cwd) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 540, in check_call raise CalledProcessError(retcode, cmd) CalledProcessError: Command '['xcodebuild', 'IPHONEOS_DEPLOYMENT_TARGET=6.0', 'ARCHS=armv7', '-sdk', 'iphoneos', '-configuration', 'Release', '-parallelizeTargets', '-jobs', '4', '-target', 'ALL_BUILD', 'build']' returned non-zero exit status 65 rd05:ios admin$ python build_framework.py --contrib /Users/admin/Desktop/ChenWei-workspace/OpenCV_for_iOS/opencv_contrib -DBUILD_opencv_contrib_world OFF ios usage: build_framework.py [-h] [--opencv DIR] [--contrib DIR] OUTDIR build_framework.py: error: unrecognized arguments: -DBUILD_opencv_contrib_world ios rd05:ios admin$ python build_framework.py --contrib /Users/admin/Desktop/ChenWei-workspace/OpenCV_for_iOS/opencv_contrib -DBUILD_opencv_contrib_world off ios usage: build_framework.py [-h] [--opencv DIR] [--contrib DIR] OUTDIR build_framework.py: error: unrecognized arguments: -DBUILD_opencv_contrib_world ios rd05:ios admin$ python build_framework.py --contrib /Users/admin/Desktop/ChenWei-workspace/OpenCV_for_iOS/opencv_contrib -DBUILD_opencv_contrib_world OFF ios usage: build_framework.py [-h] [--opencv DIR] [--contrib DIR] OUTDIR build_framework.py: error: unrecognized arguments: -DBUILD_opencv_contrib_world ios

build opencv_contrib module for iOS, opencv_xfeatures2d fail

I build framework for OpenCV with opencv_contrib module. OpenCV 3.1 Xcode 7.2.1 I refer http://answers.opencv.org/question/40392/how-to-build-opencv_contrib-module-for-ios/ . but link is not effective. try: python build_framework.py --contrib opencv_contrib ios

The error: error:

The following build commands failed:
 CompileC platforms/ios/ios/build/armv7-iPhoneOS/modules/xfeatures2d/OpenCV.build/Release-iphoneos/opencv_xfeatures2d.build/Objects-normal/armv7/sift.o /Users/admin/Desktop/ChenWei-workspace/OpenCV_for_iOS/opencv_contrib/modules/xfeatures2d/src/sift.cpp normal armv7 c++ com.apple.compilers.llvm.clang.1_0.compiler

com.apple.compilers.llvm.clang.1_0.compiler

(1 failure)

ERROR: Command '['xcodebuild', 'IPHONEOS_DEPLOYMENT_TARGET=6.0', 'ARCHS=armv7', '-sdk', 'iphoneos', '-configuration', 'Release', '-parallelizeTargets', '-jobs', '4', '-target', 'ALL_BUILD', 'build']' returned non-zero exit status 65

Traceback (most recent call last): File "build_framework.py", line 87, in build self._build(outdir) File "build_framework.py", line 81, in _build self.buildOne(t[0], t[1], mainBD, cmake_flags) File "build_framework.py", line 139, in buildOne execute(buildcmd + ["-target", "ALL_BUILD", "build"], cwd = builddir) File "build_framework.py", line 34, in execute retcode = check_call(cmd, cwd = cwd) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 540, in check_call raise CalledProcessError(retcode, cmd) CalledProcessError: Command '['xcodebuild', 'IPHONEOS_DEPLOYMENT_TARGET=6.0', 'ARCHS=armv7', '-sdk', 'iphoneos', '-configuration', 'Release', '-parallelizeTargets', '-jobs', '4', '-target', 'ALL_BUILD', 'build']' returned non-zero exit status 65 rd05:ios admin$ python build_framework.py --contrib /Users/admin/Desktop/ChenWei-workspace/OpenCV_for_iOS/opencv_contrib -DBUILD_opencv_contrib_world OFF ios usage: build_framework.py [-h] [--opencv DIR] [--contrib DIR] OUTDIR build_framework.py: error: unrecognized arguments: -DBUILD_opencv_contrib_world ios rd05:ios admin$ python build_framework.py --contrib /Users/admin/Desktop/ChenWei-workspace/OpenCV_for_iOS/opencv_contrib -DBUILD_opencv_contrib_world off ios usage: build_framework.py [-h] [--opencv DIR] [--contrib DIR] OUTDIR build_framework.py: error: unrecognized arguments: -DBUILD_opencv_contrib_world ios rd05:ios admin$ python build_framework.py --contrib /Users/admin/Desktop/ChenWei-workspace/OpenCV_for_iOS/opencv_contrib -DBUILD_opencv_contrib_world OFF ios usage: build_framework.py [-h] [--opencv DIR] [--contrib DIR] OUTDIR build_framework.py: error: unrecognized arguments: -DBUILD_opencv_contrib_world ios

click to hide/show revision 3
No.3 Revision

updated 2016-04-15 01:36:39 -0500

berak gravatar image

build opencv_contrib module for iOS, opencv_xfeatures2d fail

I build framework for OpenCV with opencv_contrib module. OpenCV 3.1 Xcode 7.2.1 I refer http://answers.opencv.org/question/40392/how-to-build-opencv_contrib-module-for-ios/ . but link is not effective. try: try:

python build_framework.py --contrib opencv_contrib ios

ios

The error:

 The following build commands failed:
 CompileC platforms/ios/ios/build/armv7-iPhoneOS/modules/xfeatures2d/OpenCV.build/Release-iphoneos/opencv_xfeatures2d.build/Objects-normal/armv7/sift.o /Users/admin/Desktop/ChenWei-workspace/OpenCV_for_iOS/opencv_contrib/modules/xfeatures2d/src/sift.cpp normal armv7 c++ com.apple.compilers.llvm.clang.1_0.compiler

(1 failure)

failure) ============================================================ ERROR: Command '['xcodebuild', 'IPHONEOS_DEPLOYMENT_TARGET=6.0', 'ARCHS=armv7', '-sdk', 'iphoneos', '-configuration', 'Release', '-parallelizeTargets', '-jobs', '4', '-target', 'ALL_BUILD', 'build']' returned non-zero exit status 65

65 ============================================================ Traceback (most recent call last): File "build_framework.py", line 87, in build self._build(outdir) File "build_framework.py", line 81, in _build self.buildOne(t[0], t[1], mainBD, cmake_flags) File "build_framework.py", line 139, in buildOne execute(buildcmd + ["-target", "ALL_BUILD", "build"], cwd = builddir) File "build_framework.py", line 34, in execute retcode = check_call(cmd, cwd = cwd) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 540, in check_call raise CalledProcessError(retcode, cmd) CalledProcessError: Command '['xcodebuild', 'IPHONEOS_DEPLOYMENT_TARGET=6.0', 'ARCHS=armv7', '-sdk', 'iphoneos', '-configuration', 'Release', '-parallelizeTargets', '-jobs', '4', '-target', 'ALL_BUILD', 'build']' returned non-zero exit status 65 rd05:ios admin$ python build_framework.py --contrib /Users/admin/Desktop/ChenWei-workspace/OpenCV_for_iOS/opencv_contrib -DBUILD_opencv_contrib_world OFF ios usage: build_framework.py [-h] [--opencv DIR] [--contrib DIR] OUTDIR build_framework.py: error: unrecognized arguments: -DBUILD_opencv_contrib_world ios rd05:ios admin$ python build_framework.py --contrib /Users/admin/Desktop/ChenWei-workspace/OpenCV_for_iOS/opencv_contrib -DBUILD_opencv_contrib_world off ios usage: build_framework.py [-h] [--opencv DIR] [--contrib DIR] OUTDIR build_framework.py: error: unrecognized arguments: -DBUILD_opencv_contrib_world ios rd05:ios admin$ python build_framework.py --contrib /Users/admin/Desktop/ChenWei-workspace/OpenCV_for_iOS/opencv_contrib -DBUILD_opencv_contrib_world OFF ios usage: build_framework.py [-h] [--opencv DIR] [--contrib DIR] OUTDIR build_framework.py: error: unrecognized arguments: -DBUILD_opencv_contrib_world ios

ios

build opencv_contrib module for iOS, opencv_xfeatures2d fail

I build framework for OpenCV with opencv_contrib module. OpenCV 3.1 Xcode 7.2.1 I refer http://answers.opencv.org/question/40392/how-to-build-opencv_contrib-module-for-ios/ . but link is not effective. try:

try:
python build_framework.py --contrib opencv_contrib ios
ios

The error:

 

* BUILD FAILED *

The following build commands failed: CompileC platforms/ios/ios/build/armv7-iPhoneOS/modules/xfeatures2d/OpenCV.build/Release-iphoneos/opencv_xfeatures2d.build/Objects-normal/armv7/sift.o /Users/admin/Desktop/ChenWei-workspace/OpenCV_for_iOS/opencv_contrib/modules/xfeatures2d/src/sift.cpp normal armv7 c++ com.apple.compilers.llvm.clang.1_0.compiler com.apple.compilers.llvm.clang.1_0.compiler

(1 failure) ============================================================ failure)

ERROR: Command '['xcodebuild', 'IPHONEOS_DEPLOYMENT_TARGET=6.0', 'ARCHS=armv7', '-sdk', 'iphoneos', '-configuration', 'Release', '-parallelizeTargets', '-jobs', '4', '-target', 'ALL_BUILD', 'build']' returned non-zero exit status 65 ============================================================ 65

Traceback (most recent call last): File "build_framework.py", line 87, in build self._build(outdir) File "build_framework.py", line 81, in _build self.buildOne(t[0], t[1], mainBD, cmake_flags) File "build_framework.py", line 139, in buildOne execute(buildcmd + ["-target", "ALL_BUILD", "build"], cwd = builddir) File "build_framework.py", line 34, in execute retcode = check_call(cmd, cwd = cwd) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 540, in check_call raise CalledProcessError(retcode, cmd) CalledProcessError: Command '['xcodebuild', 'IPHONEOS_DEPLOYMENT_TARGET=6.0', 'ARCHS=armv7', '-sdk', 'iphoneos', '-configuration', 'Release', '-parallelizeTargets', '-jobs', '4', '-target', 'ALL_BUILD', 'build']' returned non-zero exit status 65 rd05:ios admin$ python build_framework.py --contrib /Users/admin/Desktop/ChenWei-workspace/OpenCV_for_iOS/opencv_contrib -DBUILD_opencv_contrib_world OFF ios usage: build_framework.py [-h] [--opencv DIR] [--contrib DIR] OUTDIR build_framework.py: error: unrecognized arguments: -DBUILD_opencv_contrib_world ios rd05:ios admin$ python build_framework.py --contrib /Users/admin/Desktop/ChenWei-workspace/OpenCV_for_iOS/opencv_contrib -DBUILD_opencv_contrib_world off ios usage: build_framework.py [-h] [--opencv DIR] [--contrib DIR] OUTDIR build_framework.py: error: unrecognized arguments: -DBUILD_opencv_contrib_world ios rd05:ios admin$ python build_framework.py --contrib /Users/admin/Desktop/ChenWei-workspace/OpenCV_for_iOS/opencv_contrib -DBUILD_opencv_contrib_world OFF ios usage: build_framework.py [-h] [--opencv DIR] [--contrib DIR] OUTDIR build_framework.py: error: unrecognized arguments: -DBUILD_opencv_contrib_world ios

##

build opencv_contrib module for iOS, opencv_xfeatures2d fail

I build framework for OpenCV with opencv_contrib module. OpenCV 3.1 Xcode 7.2.1 I refer http://answers.opencv.org/question/40392/how-to-build-opencv_contrib-module-for-ios/ . but link is not effective. try: python build_framework.py --contrib opencv_contrib ios

The error:

* BUILD FAILED *

The following build commands failed: CompileC platforms/ios/ios/build/armv7-iPhoneOS/modules/xfeatures2d/OpenCV.build/Release-iphoneos/opencv_xfeatures2d.build/Objects-normal/armv7/sift.o /Users/admin/Desktop/ChenWei-workspace/OpenCV_for_iOS/opencv_contrib/modules/xfeatures2d/src/sift.cpp normal armv7 c++ com.apple.compilers.llvm.clang.1_0.compiler

com.apple.compilers.llvm.clang.1_0.compiler (1 failure)

failure) ERROR: Command '['xcodebuild', 'IPHONEOS_DEPLOYMENT_TARGET=6.0', 'ARCHS=armv7', '-sdk', 'iphoneos', '-configuration', 'Release', '-parallelizeTargets', '-jobs', '4', '-target', 'ALL_BUILD', 'build']' returned non-zero exit status 65

65 Traceback (most recent call last): File "build_framework.py", line 87, in build self._build(outdir) File "build_framework.py", line 81, in _build self.buildOne(t[0], t[1], mainBD, cmake_flags) File "build_framework.py", line 139, in buildOne execute(buildcmd + ["-target", "ALL_BUILD", "build"], cwd = builddir) File "build_framework.py", line 34, in execute retcode = check_call(cmd, cwd = cwd) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 540, in check_call raise CalledProcessError(retcode, cmd) CalledProcessError: Command '['xcodebuild', 'IPHONEOS_DEPLOYMENT_TARGET=6.0', 'ARCHS=armv7', '-sdk', 'iphoneos', '-configuration', 'Release', '-parallelizeTargets', '-jobs', '4', '-target', 'ALL_BUILD', 'build']' returned non-zero exit status 65 ##65

click to hide/show revision 6
No.6 Revision

updated 2016-04-15 01:56:08 -0500

berak gravatar image

build opencv_contrib module for iOS, opencv_xfeatures2d fail

I build framework for OpenCV with opencv_contrib module. OpenCV 3.1 Xcode 7.2.1 7.2.1

I refer http://answers.opencv.org/question/40392/how-to-build-opencv_contrib-module-for-ios/ . but link is not effective. try: try:

python build_framework.py --contrib opencv_contrib ios

ios

The error:

*

** BUILD FAILED *

** The following build commands failed: CompileC platforms/ios/ios/build/armv7-iPhoneOS/modules/xfeatures2d/OpenCV.build/Release-iphoneos/opencv_xfeatures2d.build/Objects-normal/armv7/sift.o /Users/admin/Desktop/ChenWei-workspace/OpenCV_for_iOS/opencv_contrib/modules/xfeatures2d/src/sift.cpp normal armv7 c++ com.apple.compilers.llvm.clang.1_0.compiler (1 failure) ERROR: Command '['xcodebuild', 'IPHONEOS_DEPLOYMENT_TARGET=6.0', 'ARCHS=armv7', '-sdk', 'iphoneos', '-configuration', 'Release', '-parallelizeTargets', '-jobs', '4', '-target', 'ALL_BUILD', 'build']' returned non-zero exit status 65 Traceback (most recent call last): File "build_framework.py", line 87, in build self._build(outdir) File "build_framework.py", line 81, in _build self.buildOne(t[0], t[1], mainBD, cmake_flags) File "build_framework.py", line 139, in buildOne execute(buildcmd + ["-target", "ALL_BUILD", "build"], cwd = builddir) File "build_framework.py", line 34, in execute retcode = check_call(cmd, cwd = cwd) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 540, in check_call raise CalledProcessError(retcode, cmd) CalledProcessError: Command '['xcodebuild', 'IPHONEOS_DEPLOYMENT_TARGET=6.0', 'ARCHS=armv7', '-sdk', 'iphoneos', '-configuration', 'Release', '-parallelizeTargets', '-jobs', '4', '-target', 'ALL_BUILD', 'build']' returned non-zero exit status 65

65

build opencv_contrib module for iOS, opencv_xfeatures2d fail

I build framework for OpenCV with opencv_contrib module. OpenCV 3.1 Xcode 7.2.1

I refer http://answers.opencv.org/question/40392/how-to-build-opencv_contrib-module-for-ios/ . but link is not effective. try:

python build_framework.py --contrib opencv_contrib ios

The error:

** BUILD FAILED **


The following build commands failed:
    CompileC platforms/ios/ios/build/armv7-iPhoneOS/modules/xfeatures2d/OpenCV.build/Release-iphoneos/opencv_xfeatures2d.build/Objects-normal/armv7/sift.o /Users/admin/Desktop/ChenWei-workspace/OpenCV_for_iOS/opencv_contrib/modules/xfeatures2d/src/sift.cpp /Users/admin/Desktop/OpenCV_for_iOS/opencv_contrib/modules/xfeatures2d/src/sift.cpp normal armv7 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
ERROR: Command '['xcodebuild', 'IPHONEOS_DEPLOYMENT_TARGET=6.0', 'ARCHS=armv7', '-sdk', 'iphoneos', '-configuration', 'Release', '-parallelizeTargets', '-jobs', '4', '-target', 'ALL_BUILD', 'build']' returned non-zero exit status 65
Traceback (most recent call last):
  File "build_framework.py", line 87, in build
    self._build(outdir)
  File "build_framework.py", line 81, in _build
    self.buildOne(t[0], t[1], mainBD, cmake_flags)
  File "build_framework.py", line 139, in buildOne
    execute(buildcmd + ["-target", "ALL_BUILD", "build"], cwd = builddir)
  File "build_framework.py", line 34, in execute
    retcode = check_call(cmd, cwd = cwd)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
CalledProcessError: Command '['xcodebuild', 'IPHONEOS_DEPLOYMENT_TARGET=6.0', 'ARCHS=armv7', '-sdk', 'iphoneos', '-configuration', 'Release', '-parallelizeTargets', '-jobs', '4', '-target', 'ALL_BUILD', 'build']' returned non-zero exit status 65