xcode4.5(4g182) and opencv is the last version,but I can't build (Bug #2599)


Added by 书林 樊 over 12 years ago. Updated over 12 years ago.


Status:Cancelled Start date:2012-12-05
Priority:Normal Due date:
Assignee:Alexander Shishkov % Done:

0%

Category:ios
Target version:3.0
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

I just follow the url:http://docs.opencv.org/doc/tutorials/introduction/ios_install/ios_install.html#ios-installation

68-245-171-115:~ fanshulin$ python /volumes/mac/opencvcode/opencv-master/ios/build_framework.py /volumes/mac/opencvcode/mybuild/
-- Setting up iPhoneOS toolchain
-- iPhoneOS toolchain loaded
-- Detected version of GNU GCC: 42 (402)
Unable to find any JVMs matching version "(null)".
No Java runtime present, try --request to install.
No Java runtime present, requesting install.
-- Found apache ant : /usr/bin/ant
--
-- General configuration for OpenCV 2.4.9 =====================================
-- Version control: exported
--
-- Platform:
-- Host: Darwin 11.4.2 i386
-- Target: iOS
-- CMake: 2.8.9
-- CMake generator: Xcode
-- CMake build tool: /opt/local/bin/cmakexbuild
-- Xcode: 1.5
--
-- C/C++:
-- Built as dynamic libs?: NO
-- C++ Compiler: /usr/bin/g++ (ver 4.2.1)
-- C++ flags (Release): stdlib=libc++ -headerpad_max_install_names -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -DNDEBUG -O3 -fomit-frame-pointer -ffast-math -DNDEBUG
-
C++ flags (Debug): stdlib=libc++ -headerpad_max_install_names -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -g -O0 -DDEBUG -D_DEBUG -ggdb3
-
C Compiler: /usr/bin/gcc
-- C flags (Release): fPIC -O3 -DNDEBUG -DNDEBUG
-
C flags (Debug): fPIC -g -O0 -DDEBUG -D_DEBUG -ggdb3
-
Linker flags (Release):
-- Linker flags (Debug):
-- Precompiled headers: NO
--
-- OpenCV modules:
-- To be built: core imgproc flann highgui features2d calib3d ml video objdetect contrib legacy nonfree photo stitching videostab world
-- Disabled:
-
Disabled by dependency:
-
Unavailable: androidcamera gpu java ocl python ts
--
-- GUI:
-- Cocoa: YES
-- OpenGL support: NO
--
-- Media I/O:
-- ZLib: build (ver 1.2.7)
-- JPEG: NO
-- PNG: NO
-- TIFF: NO
-- JPEG 2000: NO
-- OpenEXR: NO
--
-- Video I/O:
-- AVFoundation: YES
-- QuickTime: NO
-- QTKit: YES
--
-- Other third-party libraries:
-- Use OpenCL: NO
-- Use Eigen: NO
-- Use Clp: NO
--
-- Python:
-- Interpreter: /opt/local/bin/python2 (ver 2.7.3)
--
-- Documentation:
-- Build Documentation: NO
-- Sphinx: NO
-- PdfLaTeX compiler: NO
--
-- Tests and samples:
-- Tests: NO
-- Performance tests: NO
-- Examples: NO
--
-- Install path: /Volumes/mac/opencvcode/mybuild/build/iPhoneOS-armv7/install
--
-- cvconfig.h is in: /Volumes/mac/opencvcode/mybuild/build/iPhoneOS-armv7
-- -----------------------------------------------------------------
--
-- Configuring done
-- Generating done
-- Build files have been written to: /Volumes/mac/opencvcode/mybuild/build/iPhoneOS-armv7
User defaults from command line:
IDEBuildOperationMaxNumberOfConcurrentCompileTasks = 8

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

xcodebuild: error: Unable to read project 'OpenCV.xcode'.
Reason: Project file 'OpenCV' was written by an unsupported Xcode version (39)

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

xcodebuild: error: Unable to read project 'OpenCV.xcode'.
Reason: Project file 'OpenCV' was written by an unsupported Xcode version (39)

-- Setting up iPhoneOS toolchain
-- iPhoneOS toolchain loaded
-- Detected version of GNU GCC: 42 (402)
Unable to find any JVMs matching version "(null)".
No Java runtime present, try --request to install.
No Java runtime present, requesting install.
-- Found apache ant : /usr/bin/ant
--
-- General configuration for OpenCV 2.4.9 =====================================
-- Version control: exported
--
-- Platform:
-- Host: Darwin 11.4.2 i386
-- Target: iOS
-- CMake: 2.8.9
-- CMake generator: Xcode
-- CMake build tool: /opt/local/bin/cmakexbuild
-- Xcode: 1.5
--
-- C/C++:
-- Built as dynamic libs?: NO
-- C++ Compiler: /usr/bin/g++ (ver 4.2.1)
-- C++ flags (Release): stdlib=libc++ -headerpad_max_install_names -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -DNDEBUG -O3 -fomit-frame-pointer -ffast-math -DNDEBUG
-
C++ flags (Debug): stdlib=libc++ -headerpad_max_install_names -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -g -O0 -DDEBUG -D_DEBUG -ggdb3
-
C Compiler: /usr/bin/gcc
-- C flags (Release): fPIC -O3 -DNDEBUG -DNDEBUG
-
C flags (Debug): fPIC -g -O0 -DDEBUG -D_DEBUG -ggdb3
-
Linker flags (Release):
-- Linker flags (Debug):
-- Precompiled headers: NO
--
-- OpenCV modules:
-- To be built: core imgproc flann highgui features2d calib3d ml video objdetect contrib legacy nonfree photo stitching videostab world
-- Disabled:
-
Disabled by dependency:
-
Unavailable: androidcamera gpu java ocl python ts
--
-- GUI:
-- Cocoa: YES
-- OpenGL support: NO
--
-- Media I/O:
-- ZLib: build (ver 1.2.7)
-- JPEG: NO
-- PNG: NO
-- TIFF: NO
-- JPEG 2000: NO
-- OpenEXR: NO
--
-- Video I/O:
-- AVFoundation: YES
-- QuickTime: NO
-- QTKit: YES
--
-- Other third-party libraries:
-- Use OpenCL: NO
-- Use Eigen: NO
-- Use Clp: NO
--
-- Python:
-- Interpreter: /opt/local/bin/python2 (ver 2.7.3)
--
-- Documentation:
-- Build Documentation: NO
-- Sphinx: NO
-- PdfLaTeX compiler: NO
--
-- Tests and samples:
-- Tests: NO
-- Performance tests: NO
-- Examples: NO
--
-- Install path: /Volumes/mac/opencvcode/mybuild/build/iPhoneOS-armv7s/install
--
-- cvconfig.h is in: /Volumes/mac/opencvcode/mybuild/build/iPhoneOS-armv7s
-- -----------------------------------------------------------------
--
-- Configuring done
-- Generating done
-- Build files have been written to: /Volumes/mac/opencvcode/mybuild/build/iPhoneOS-armv7s
User defaults from command line:
IDEBuildOperationMaxNumberOfConcurrentCompileTasks = 8

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

xcodebuild: error: Unable to read project 'OpenCV.xcode'.
Reason: Project file 'OpenCV' was written by an unsupported Xcode version (39)

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

xcodebuild: error: Unable to read project 'OpenCV.xcode'.
Reason: Project file 'OpenCV' was written by an unsupported Xcode version (39)

-- Setting up iPhoneSimulator toolchain
-- iPhoneSimulator toolchain loaded
-- Detected version of GNU GCC: 42 (402)
Unable to find any JVMs matching version "(null)".
No Java runtime present, try --request to install.
No Java runtime present, requesting install.
-- Found apache ant : /usr/bin/ant
--
-- General configuration for OpenCV 2.4.9 =====================================
-- Version control: exported
--
-- Platform:
-- Host: Darwin 11.4.2 i386
-- Target: iOS
-- CMake: 2.8.9
-- CMake generator: Xcode
-- CMake build tool: /opt/local/bin/cmakexbuild
-- Xcode: 1.5
--
-- C/C++:
-- Built as dynamic libs?: NO
-- C++ Compiler: /usr/bin/g++ (ver 4.2.1)
-- C++ flags (Release): stdlib=libc++ -headerpad_max_install_names -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -DNDEBUG -O3 -fomit-frame-pointer -ffast-math -DNDEBUG
-
C++ flags (Debug): stdlib=libc++ -headerpad_max_install_names -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -g -O0 -DDEBUG -D_DEBUG -ggdb3
-
C Compiler: /usr/bin/gcc
-- C flags (Release): fPIC -O3 -DNDEBUG -DNDEBUG
-
C flags (Debug): fPIC -g -O0 -DDEBUG -D_DEBUG -ggdb3
-
Linker flags (Release):
-- Linker flags (Debug):
-- Precompiled headers: NO
--
-- OpenCV modules:
-- To be built: core imgproc flann highgui features2d calib3d ml video objdetect contrib legacy nonfree photo stitching videostab world
-- Disabled:
-
Disabled by dependency:
-
Unavailable: androidcamera gpu java ocl python ts
--
-- GUI:
-- Cocoa: YES
-- OpenGL support: NO
--
-- Media I/O:
-- ZLib: build (ver 1.2.7)
-- JPEG: NO
-- PNG: NO
-- TIFF: NO
-- JPEG 2000: NO
-- OpenEXR: NO
--
-- Video I/O:
-- AVFoundation: YES
-- QuickTime: NO
-- QTKit: YES
--
-- Other third-party libraries:
-- Use OpenCL: NO
-- Use Eigen: NO
-- Use Clp: NO
--
-- Python:
-- Interpreter: /opt/local/bin/python2 (ver 2.7.3)
--
-- Documentation:
-- Build Documentation: NO
-- Sphinx: NO
-- PdfLaTeX compiler: NO
--
-- Tests and samples:
-- Tests: NO
-- Performance tests: NO
-- Examples: NO
--
-- Install path: /Volumes/mac/opencvcode/mybuild/build/iPhoneSimulator-i386/install
--
-- cvconfig.h is in: /Volumes/mac/opencvcode/mybuild/build/iPhoneSimulator-i386
-- -----------------------------------------------------------------
--
-- Configuring done
-- Generating done
-- Build files have been written to: /Volumes/mac/opencvcode/mybuild/build/iPhoneSimulator-i386
User defaults from command line:
IDEBuildOperationMaxNumberOfConcurrentCompileTasks = 8

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

xcodebuild: error: Unable to read project 'OpenCV.xcode'.
Reason: Project file 'OpenCV' was written by an unsupported Xcode version (39)

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

xcodebuild: error: Unable to read project 'OpenCV.xcode'.
Reason: Project file 'OpenCV' was written by an unsupported Xcode version (39)

Traceback (most recent call last):
File "/volumes/mac/opencvcode/opencv-master/ios/build_framework.py", line 128, in <module>
build_framework(os.path.abspath(os.path.join(os.path.dirname(sys.argv0), "..")), os.path.abspath(sys.argv1))
File "/volumes/mac/opencvcode/opencv-master/ios/build_framework.py", line 120, in build_framework
put_framework_together(srcroot, dstroot)
File "/volumes/mac/opencvcode/opencv-master/ios/build_framework.py", line 88, 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 168, in copytree
names = os.listdir(src)
OSError: [Errno 2] No such file or directory: '../build/iPhoneOS-armv7/install/include/opencv2'
68-245-171-115:~ fanshulin$


Associated revisions

Revision b66adc81
Added by Vadim Pisarevsky almost 11 years ago

Merge pull request #2599 from maksqwe:test_calibration_2.4

History

Updated by Anna Kogan over 12 years ago

  • Target version set to 3.0
  • Category set to ios
  • Assignee set to Alexander Shishkov

Updated by 书林 樊 over 12 years ago

Anna Kogan is so quickly,thanks,thanks,thanks!!!

if I clear mybuild dir,then ryan the code
:"python /volumes/mac/opencvcode/opencv-master/ios/build_framework.py /volumes/mac/opencvcode/mybuild/",

the log is that:

8-245-171-115:~ fanshulin$ python /volumes/mac/opencvcode/opencv-master/ios/build_framework.py /volumes/mac/opencvcode/mybuild/
-- Setting up iPhoneOS toolchain
-- iPhoneOS toolchain loaded
-- Setting up iPhoneOS toolchain
-- iPhoneOS toolchain loaded
-- The CXX compiler identification is GNU 4.2.1
-- The C compiler identification is GNU 4.2.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Detected version of GNU GCC: 42 (402)
-- Performing Test HAVE_CXX_W
-- Performing Test HAVE_CXX_W - Failed
-- Performing Test HAVE_C_W
-- Performing Test HAVE_C_W - Failed
-- Performing Test HAVE_CXX_WALL
-- Performing Test HAVE_CXX_WALL - Failed
-- Performing Test HAVE_C_WALL
-- Performing Test HAVE_C_WALL - Failed
-- Performing Test HAVE_CXX_WERROR_RETURN_TYPE
-- Performing Test HAVE_CXX_WERROR_RETURN_TYPE - Failed
-- Performing Test HAVE_C_WERROR_RETURN_TYPE
-- Performing Test HAVE_C_WERROR_RETURN_TYPE - Failed
-- Performing Test HAVE_CXX_WERROR_ADDRESS
-- Performing Test HAVE_CXX_WERROR_ADDRESS - Failed
-- Performing Test HAVE_C_WERROR_ADDRESS
-- Performing Test HAVE_C_WERROR_ADDRESS - Failed
-- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT
-- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT - Failed
-- Performing Test HAVE_C_WERROR_SEQUENCE_POINT
-- Performing Test HAVE_C_WERROR_SEQUENCE_POINT - Failed
-- Performing Test HAVE_CXX_WFORMAT
-- Performing Test HAVE_CXX_WFORMAT - Failed
-- Performing Test HAVE_C_WFORMAT
-- Performing Test HAVE_C_WFORMAT - Failed
-- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY
-- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY - Failed
-- Performing Test HAVE_C_WERROR_FORMAT_SECURITY
-- Performing Test HAVE_C_WERROR_FORMAT_SECURITY - Failed
-- Performing Test HAVE_CXX_WMISSING_DECLARATIONS
-- Performing Test HAVE_CXX_WMISSING_DECLARATIONS - Failed
-- Performing Test HAVE_C_WMISSING_DECLARATIONS
-- Performing Test HAVE_C_WMISSING_DECLARATIONS - Failed
-- Performing Test HAVE_CXX_WMISSING_PROTOTYPES
-- Performing Test HAVE_CXX_WMISSING_PROTOTYPES - Failed
-- Performing Test HAVE_C_WMISSING_PROTOTYPES
-- Performing Test HAVE_C_WMISSING_PROTOTYPES - Failed
-- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES
-- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES - Failed
-- Performing Test HAVE_C_WSTRICT_PROTOTYPES
-- Performing Test HAVE_C_WSTRICT_PROTOTYPES - Failed
-- Performing Test HAVE_CXX_WUNDEF
-- Performing Test HAVE_CXX_WUNDEF - Failed
-- Performing Test HAVE_C_WUNDEF
-- Performing Test HAVE_C_WUNDEF - Failed
-- Performing Test HAVE_CXX_WINIT_SELF
-- Performing Test HAVE_CXX_WINIT_SELF - Failed
-- Performing Test HAVE_C_WINIT_SELF
-- Performing Test HAVE_C_WINIT_SELF - Failed
-- Performing Test HAVE_CXX_WPOINTER_ARITH
-- Performing Test HAVE_CXX_WPOINTER_ARITH - Failed
-- Performing Test HAVE_C_WPOINTER_ARITH
-- Performing Test HAVE_C_WPOINTER_ARITH - Failed
-- Performing Test HAVE_CXX_WSHADOW
-- Performing Test HAVE_CXX_WSHADOW - Failed
-- Performing Test HAVE_C_WSHADOW
-- Performing Test HAVE_C_WSHADOW - Failed
-- Performing Test HAVE_CXX_WSIGN_PROMO
-- Performing Test HAVE_CXX_WSIGN_PROMO - Failed
-- Performing Test HAVE_C_WSIGN_PROMO
-- Performing Test HAVE_C_WSIGN_PROMO - Failed
-- Performing Test HAVE_CXX_WNO_NARROWING
-- Performing Test HAVE_CXX_WNO_NARROWING - Failed
-- Performing Test HAVE_C_WNO_NARROWING
-- Performing Test HAVE_C_WNO_NARROWING - Failed
-- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR
-- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR - Failed
-- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR
-- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR - Failed
-- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS
-- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed
-- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS
-- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed
-- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION
-- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION - Failed
-- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION
-- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION - Failed
-- Performing Test HAVE_CXX_PTHREAD
-- Performing Test HAVE_CXX_PTHREAD - Failed
-- Performing Test HAVE_C_PTHREAD
-- Performing Test HAVE_C_PTHREAD - Failed
-- Performing Test HAVE_CXX_FOMIT_FRAME_POINTER
-- Performing Test HAVE_CXX_FOMIT_FRAME_POINTER - Failed
-- Performing Test HAVE_C_FOMIT_FRAME_POINTER
-- Performing Test HAVE_C_FOMIT_FRAME_POINTER - Failed
-- Looking for fseeko
-- Looking for fseeko - not found
-- Looking for unistd.h
-- Looking for unistd.h - not found
-- Looking for sys/types.h
-- Looking for sys/types.h - not found
-- Looking for stdint.h
-- Looking for stdint.h - not found
-- Looking for stddef.h
-- Looking for stddef.h - not found
-- Check size of off64_t
-- Check size of off64_t - failed
-- Performing Test HAVE_C_WNO_ATTRIBUTES
-- Performing Test HAVE_C_WNO_ATTRIBUTES - Failed
-- Performing Test HAVE_C_WNO_STRICT_PROTOTYPES
-- Performing Test HAVE_C_WNO_STRICT_PROTOTYPES - Failed
-- Performing Test HAVE_C_WNO_MISSING_PROTOTYPES
-- Performing Test HAVE_C_WNO_MISSING_PROTOTYPES - Failed
-- Performing Test HAVE_C_WNO_MISSING_DECLARATIONS
-- Performing Test HAVE_C_WNO_MISSING_DECLARATIONS - Failed
-- Found PythonInterp: /opt/local/bin/python2 (found suitable version "2.7.3", required is "2.0")
-- Found apache ant 1.8.2: /usr/bin/ant
-- Found JNI: framework JavaVM
-
Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS
-- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS - Failed
--
-- General configuration for OpenCV 2.4.9 =====================================
-- Version control: exported
--
-- Platform:
-- Host: Darwin 11.4.2 i386
-- Target: iOS
-- CMake: 2.8.9
-- CMake generator: Xcode
-- CMake build tool: /opt/local/bin/cmakexbuild
-- Xcode: 1.5
--
-- C/C++:
-- Built as dynamic libs?: NO
-- C++ Compiler: /usr/bin/g++ (ver 4.2.1)
-- C++ flags (Release): stdlib=libc++ -headerpad_max_install_names -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -DNDEBUG -O3 -fomit-frame-pointer -ffast-math -DNDEBUG
-
C++ flags (Debug): stdlib=libc++ -headerpad_max_install_names -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -g -O0 -DDEBUG -D_DEBUG -ggdb3
-
C Compiler: /usr/bin/gcc
-- C flags (Release): fPIC -O3 -DNDEBUG -DNDEBUG
-
C flags (Debug): fPIC -g -O0 -DDEBUG -D_DEBUG -ggdb3
-
Linker flags (Release):
-- Linker flags (Debug):
-- Precompiled headers: NO
--
-- OpenCV modules:
-- To be built: core imgproc flann highgui features2d calib3d ml video objdetect contrib legacy nonfree photo stitching videostab world
-- Disabled:
-
Disabled by dependency:
-
Unavailable: androidcamera gpu java ocl python ts
--
-- GUI:
-- Cocoa: YES
-- OpenGL support: NO
--
-- Media I/O:
-- ZLib: build (ver 1.2.7)
-- JPEG: NO
-- PNG: NO
-- TIFF: NO
-- JPEG 2000: NO
-- OpenEXR: NO
--
-- Video I/O:
-- AVFoundation: YES
-- QuickTime: NO
-- QTKit: YES
--
-- Other third-party libraries:
-- Use OpenCL: NO
-- Use Eigen: NO
-- Use Clp: NO
--
-- Python:
-- Interpreter: /opt/local/bin/python2 (ver 2.7.3)
--
-- Documentation:
-- Build Documentation: NO
-- Sphinx: NO
-- PdfLaTeX compiler: NO
--
-- Tests and samples:
-- Tests: NO
-- Performance tests: NO
-- Examples: NO
--
-- Install path: /Volumes/mac/opencvcode/mybuild/build/iPhoneOS-armv7/install
--
-- cvconfig.h is in: /Volumes/mac/opencvcode/mybuild/build/iPhoneOS-armv7
-- -----------------------------------------------------------------
--
-- Configuring done
-- Generating done
-- Build files have been written to: /Volumes/mac/opencvcode/mybuild/build/iPhoneOS-armv7
User defaults from command line:
IDEBuildOperationMaxNumberOfConcurrentCompileTasks = 8

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

xcodebuild: error: Unable to read project 'OpenCV.xcode'.
Reason: Project file 'OpenCV' was written by an unsupported Xcode version (39)

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

xcodebuild: error: Unable to read project 'OpenCV.xcode'.
Reason: Project file 'OpenCV' was written by an unsupported Xcode version (39)

-- Setting up iPhoneOS toolchain
-- iPhoneOS toolchain loaded
-- Setting up iPhoneOS toolchain
-- iPhoneOS toolchain loaded
-- The CXX compiler identification is GNU 4.2.1
-- The C compiler identification is GNU 4.2.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Detected version of GNU GCC: 42 (402)
-- Performing Test HAVE_CXX_W
-- Performing Test HAVE_CXX_W - Failed
-- Performing Test HAVE_C_W
-- Performing Test HAVE_C_W - Failed
-- Performing Test HAVE_CXX_WALL
-- Performing Test HAVE_CXX_WALL - Failed
-- Performing Test HAVE_C_WALL
-- Performing Test HAVE_C_WALL - Failed
-- Performing Test HAVE_CXX_WERROR_RETURN_TYPE
-- Performing Test HAVE_CXX_WERROR_RETURN_TYPE - Failed
-- Performing Test HAVE_C_WERROR_RETURN_TYPE
-- Performing Test HAVE_C_WERROR_RETURN_TYPE - Failed
-- Performing Test HAVE_CXX_WERROR_ADDRESS
-- Performing Test HAVE_CXX_WERROR_ADDRESS - Failed
-- Performing Test HAVE_C_WERROR_ADDRESS
-- Performing Test HAVE_C_WERROR_ADDRESS - Failed
-- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT
-- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT - Failed
-- Performing Test HAVE_C_WERROR_SEQUENCE_POINT
-- Performing Test HAVE_C_WERROR_SEQUENCE_POINT - Failed
-- Performing Test HAVE_CXX_WFORMAT
-- Performing Test HAVE_CXX_WFORMAT - Failed
-- Performing Test HAVE_C_WFORMAT
-- Performing Test HAVE_C_WFORMAT - Failed
-- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY
-- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY - Failed
-- Performing Test HAVE_C_WERROR_FORMAT_SECURITY
-- Performing Test HAVE_C_WERROR_FORMAT_SECURITY - Failed
-- Performing Test HAVE_CXX_WMISSING_DECLARATIONS
-- Performing Test HAVE_CXX_WMISSING_DECLARATIONS - Failed
-- Performing Test HAVE_C_WMISSING_DECLARATIONS
-- Performing Test HAVE_C_WMISSING_DECLARATIONS - Failed
-- Performing Test HAVE_CXX_WMISSING_PROTOTYPES
-- Performing Test HAVE_CXX_WMISSING_PROTOTYPES - Failed
-- Performing Test HAVE_C_WMISSING_PROTOTYPES
-- Performing Test HAVE_C_WMISSING_PROTOTYPES - Failed
-- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES
-- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES - Failed
-- Performing Test HAVE_C_WSTRICT_PROTOTYPES
-- Performing Test HAVE_C_WSTRICT_PROTOTYPES - Failed
-- Performing Test HAVE_CXX_WUNDEF
-- Performing Test HAVE_CXX_WUNDEF - Failed
-- Performing Test HAVE_C_WUNDEF
-- Performing Test HAVE_C_WUNDEF - Failed
-- Performing Test HAVE_CXX_WINIT_SELF
-- Performing Test HAVE_CXX_WINIT_SELF - Failed
-- Performing Test HAVE_C_WINIT_SELF
-- Performing Test HAVE_C_WINIT_SELF - Failed
-- Performing Test HAVE_CXX_WPOINTER_ARITH
-- Performing Test HAVE_CXX_WPOINTER_ARITH - Failed
-- Performing Test HAVE_C_WPOINTER_ARITH
-- Performing Test HAVE_C_WPOINTER_ARITH - Failed
-- Performing Test HAVE_CXX_WSHADOW
-- Performing Test HAVE_CXX_WSHADOW - Failed
-- Performing Test HAVE_C_WSHADOW
-- Performing Test HAVE_C_WSHADOW - Failed
-- Performing Test HAVE_CXX_WSIGN_PROMO
-- Performing Test HAVE_CXX_WSIGN_PROMO - Failed
-- Performing Test HAVE_C_WSIGN_PROMO
-- Performing Test HAVE_C_WSIGN_PROMO - Failed
-- Performing Test HAVE_CXX_WNO_NARROWING
-- Performing Test HAVE_CXX_WNO_NARROWING - Failed
-- Performing Test HAVE_C_WNO_NARROWING
-- Performing Test HAVE_C_WNO_NARROWING - Failed
-- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR
-- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR - Failed
-- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR
-- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR - Failed
-- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS
-- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed
-- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS
-- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed
-- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION
-- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION - Failed
-- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION
-- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION - Failed
-- Performing Test HAVE_CXX_PTHREAD
-- Performing Test HAVE_CXX_PTHREAD - Failed
-- Performing Test HAVE_C_PTHREAD
-- Performing Test HAVE_C_PTHREAD - Failed
-- Performing Test HAVE_CXX_FOMIT_FRAME_POINTER
-- Performing Test HAVE_CXX_FOMIT_FRAME_POINTER - Failed
-- Performing Test HAVE_C_FOMIT_FRAME_POINTER
-- Performing Test HAVE_C_FOMIT_FRAME_POINTER - Failed
-- Looking for fseeko
-- Looking for fseeko - not found
-- Looking for unistd.h
-- Looking for unistd.h - not found
-- Looking for sys/types.h
-- Looking for sys/types.h - not found
-- Looking for stdint.h
-- Looking for stdint.h - not found
-- Looking for stddef.h
-- Looking for stddef.h - not found
-- Check size of off64_t
-- Check size of off64_t - failed
-- Performing Test HAVE_C_WNO_ATTRIBUTES
-- Performing Test HAVE_C_WNO_ATTRIBUTES - Failed
-- Performing Test HAVE_C_WNO_STRICT_PROTOTYPES
-- Performing Test HAVE_C_WNO_STRICT_PROTOTYPES - Failed
-- Performing Test HAVE_C_WNO_MISSING_PROTOTYPES
-- Performing Test HAVE_C_WNO_MISSING_PROTOTYPES - Failed
-- Performing Test HAVE_C_WNO_MISSING_DECLARATIONS
-- Performing Test HAVE_C_WNO_MISSING_DECLARATIONS - Failed
-- Found PythonInterp: /opt/local/bin/python2 (found suitable version "2.7.3", required is "2.0")
-- Found apache ant 1.8.2: /usr/bin/ant
-- Found JNI: framework JavaVM
-
Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS
-- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS - Failed
--
-- General configuration for OpenCV 2.4.9 =====================================
-- Version control: exported
--
-- Platform:
-- Host: Darwin 11.4.2 i386
-- Target: iOS
-- CMake: 2.8.9
-- CMake generator: Xcode
-- CMake build tool: /opt/local/bin/cmakexbuild
-- Xcode: 1.5
--
-- C/C++:
-- Built as dynamic libs?: NO
-- C++ Compiler: /usr/bin/g++ (ver 4.2.1)
-- C++ flags (Release): stdlib=libc++ -headerpad_max_install_names -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -DNDEBUG -O3 -fomit-frame-pointer -ffast-math -DNDEBUG
-
C++ flags (Debug): stdlib=libc++ -headerpad_max_install_names -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -g -O0 -DDEBUG -D_DEBUG -ggdb3
-
C Compiler: /usr/bin/gcc
-- C flags (Release): fPIC -O3 -DNDEBUG -DNDEBUG
-
C flags (Debug): fPIC -g -O0 -DDEBUG -D_DEBUG -ggdb3
-
Linker flags (Release):
-- Linker flags (Debug):
-- Precompiled headers: NO
--
-- OpenCV modules:
-- To be built: core imgproc flann highgui features2d calib3d ml video objdetect contrib legacy nonfree photo stitching videostab world
-- Disabled:
-
Disabled by dependency:
-
Unavailable: androidcamera gpu java ocl python ts
--
-- GUI:
-- Cocoa: YES
-- OpenGL support: NO
--
-- Media I/O:
-- ZLib: build (ver 1.2.7)
-- JPEG: NO
-- PNG: NO
-- TIFF: NO
-- JPEG 2000: NO
-- OpenEXR: NO
--
-- Video I/O:
-- AVFoundation: YES
-- QuickTime: NO
-- QTKit: YES
--
-- Other third-party libraries:
-- Use OpenCL: NO
-- Use Eigen: NO
-- Use Clp: NO
--
-- Python:
-- Interpreter: /opt/local/bin/python2 (ver 2.7.3)
--
-- Documentation:
-- Build Documentation: NO
-- Sphinx: NO
-- PdfLaTeX compiler: NO
--
-- Tests and samples:
-- Tests: NO
-- Performance tests: NO
-- Examples: NO
--
-- Install path: /Volumes/mac/opencvcode/mybuild/build/iPhoneOS-armv7s/install
--
-- cvconfig.h is in: /Volumes/mac/opencvcode/mybuild/build/iPhoneOS-armv7s
-- -----------------------------------------------------------------
--
-- Configuring done
-- Generating done
-- Build files have been written to: /Volumes/mac/opencvcode/mybuild/build/iPhoneOS-armv7s
User defaults from command line:
IDEBuildOperationMaxNumberOfConcurrentCompileTasks = 8

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

xcodebuild: error: Unable to read project 'OpenCV.xcode'.
Reason: Project file 'OpenCV' was written by an unsupported Xcode version (39)

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

xcodebuild: error: Unable to read project 'OpenCV.xcode'.
Reason: Project file 'OpenCV' was written by an unsupported Xcode version (39)

-- Setting up iPhoneSimulator toolchain
-- iPhoneSimulator toolchain loaded
-- Setting up iPhoneSimulator toolchain
-- iPhoneSimulator toolchain loaded
-- The CXX compiler identification is GNU 4.2.1
-- The C compiler identification is GNU 4.2.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Detected version of GNU GCC: 42 (402)
-- Performing Test HAVE_CXX_W
-- Performing Test HAVE_CXX_W - Failed
-- Performing Test HAVE_C_W
-- Performing Test HAVE_C_W - Failed
-- Performing Test HAVE_CXX_WALL
-- Performing Test HAVE_CXX_WALL - Failed
-- Performing Test HAVE_C_WALL
-- Performing Test HAVE_C_WALL - Failed
-- Performing Test HAVE_CXX_WERROR_RETURN_TYPE
-- Performing Test HAVE_CXX_WERROR_RETURN_TYPE - Failed
-- Performing Test HAVE_C_WERROR_RETURN_TYPE
-- Performing Test HAVE_C_WERROR_RETURN_TYPE - Failed
-- Performing Test HAVE_CXX_WERROR_ADDRESS
-- Performing Test HAVE_CXX_WERROR_ADDRESS - Failed
-- Performing Test HAVE_C_WERROR_ADDRESS
-- Performing Test HAVE_C_WERROR_ADDRESS - Failed
-- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT
-- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT - Failed
-- Performing Test HAVE_C_WERROR_SEQUENCE_POINT
-- Performing Test HAVE_C_WERROR_SEQUENCE_POINT - Failed
-- Performing Test HAVE_CXX_WFORMAT
-- Performing Test HAVE_CXX_WFORMAT - Failed
-- Performing Test HAVE_C_WFORMAT
-- Performing Test HAVE_C_WFORMAT - Failed
-- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY
-- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY - Failed
-- Performing Test HAVE_C_WERROR_FORMAT_SECURITY
-- Performing Test HAVE_C_WERROR_FORMAT_SECURITY - Failed
-- Performing Test HAVE_CXX_WMISSING_DECLARATIONS
-- Performing Test HAVE_CXX_WMISSING_DECLARATIONS - Failed
-- Performing Test HAVE_C_WMISSING_DECLARATIONS
-- Performing Test HAVE_C_WMISSING_DECLARATIONS - Failed
-- Performing Test HAVE_CXX_WMISSING_PROTOTYPES
-- Performing Test HAVE_CXX_WMISSING_PROTOTYPES - Failed
-- Performing Test HAVE_C_WMISSING_PROTOTYPES
-- Performing Test HAVE_C_WMISSING_PROTOTYPES - Failed
-- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES
-- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES - Failed
-- Performing Test HAVE_C_WSTRICT_PROTOTYPES
-- Performing Test HAVE_C_WSTRICT_PROTOTYPES - Failed
-- Performing Test HAVE_CXX_WUNDEF
-- Performing Test HAVE_CXX_WUNDEF - Failed
-- Performing Test HAVE_C_WUNDEF
-- Performing Test HAVE_C_WUNDEF - Failed
-- Performing Test HAVE_CXX_WINIT_SELF
-- Performing Test HAVE_CXX_WINIT_SELF - Failed
-- Performing Test HAVE_C_WINIT_SELF
-- Performing Test HAVE_C_WINIT_SELF - Failed
-- Performing Test HAVE_CXX_WPOINTER_ARITH
-- Performing Test HAVE_CXX_WPOINTER_ARITH - Failed
-- Performing Test HAVE_C_WPOINTER_ARITH
-- Performing Test HAVE_C_WPOINTER_ARITH - Failed
-- Performing Test HAVE_CXX_WSHADOW
-- Performing Test HAVE_CXX_WSHADOW - Failed
-- Performing Test HAVE_C_WSHADOW
-- Performing Test HAVE_C_WSHADOW - Failed
-- Performing Test HAVE_CXX_WSIGN_PROMO
-- Performing Test HAVE_CXX_WSIGN_PROMO - Failed
-- Performing Test HAVE_C_WSIGN_PROMO
-- Performing Test HAVE_C_WSIGN_PROMO - Failed
-- Performing Test HAVE_CXX_WNO_NARROWING
-- Performing Test HAVE_CXX_WNO_NARROWING - Failed
-- Performing Test HAVE_C_WNO_NARROWING
-- Performing Test HAVE_C_WNO_NARROWING - Failed
-- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR
-- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR - Failed
-- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR
-- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR - Failed
-- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS
-- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed
-- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS
-- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed
-- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION
-- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION - Failed
-- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION
-- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION - Failed
-- Performing Test HAVE_CXX_PTHREAD
-- Performing Test HAVE_CXX_PTHREAD - Failed
-- Performing Test HAVE_C_PTHREAD
-- Performing Test HAVE_C_PTHREAD - Failed
-- Performing Test HAVE_CXX_FOMIT_FRAME_POINTER
-- Performing Test HAVE_CXX_FOMIT_FRAME_POINTER - Failed
-- Performing Test HAVE_C_FOMIT_FRAME_POINTER
-- Performing Test HAVE_C_FOMIT_FRAME_POINTER - Failed
-- Looking for fseeko
-- Looking for fseeko - not found
-- Looking for unistd.h
-- Looking for unistd.h - not found
-- Looking for sys/types.h
-- Looking for sys/types.h - not found
-- Looking for stdint.h
-- Looking for stdint.h - not found
-- Looking for stddef.h
-- Looking for stddef.h - not found
-- Check size of off64_t
-- Check size of off64_t - failed
-- Performing Test HAVE_C_WNO_ATTRIBUTES
-- Performing Test HAVE_C_WNO_ATTRIBUTES - Failed
-- Performing Test HAVE_C_WNO_STRICT_PROTOTYPES
-- Performing Test HAVE_C_WNO_STRICT_PROTOTYPES - Failed
-- Performing Test HAVE_C_WNO_MISSING_PROTOTYPES
-- Performing Test HAVE_C_WNO_MISSING_PROTOTYPES - Failed
-- Performing Test HAVE_C_WNO_MISSING_DECLARATIONS
-- Performing Test HAVE_C_WNO_MISSING_DECLARATIONS - Failed
-- Found PythonInterp: /opt/local/bin/python2 (found suitable version "2.7.3", required is "2.0")
-- Found apache ant 1.8.2: /usr/bin/ant
-- Found JNI: framework JavaVM
-
Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS
-- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS - Failed
--
-- General configuration for OpenCV 2.4.9 =====================================
-- Version control: exported
--
-- Platform:
-- Host: Darwin 11.4.2 i386
-- Target: iOS
-- CMake: 2.8.9
-- CMake generator: Xcode
-- CMake build tool: /opt/local/bin/cmakexbuild
-- Xcode: 1.5
--
-- C/C++:
-- Built as dynamic libs?: NO
-- C++ Compiler: /usr/bin/g++ (ver 4.2.1)
-- C++ flags (Release): stdlib=libc++ -headerpad_max_install_names -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -DNDEBUG -O3 -fomit-frame-pointer -ffast-math -DNDEBUG
-
C++ flags (Debug): stdlib=libc++ -headerpad_max_install_names -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -g -O0 -DDEBUG -D_DEBUG -ggdb3
-
C Compiler: /usr/bin/gcc
-- C flags (Release): fPIC -O3 -DNDEBUG -DNDEBUG
-
C flags (Debug): fPIC -g -O0 -DDEBUG -D_DEBUG -ggdb3
-
Linker flags (Release):
-- Linker flags (Debug):
-- Precompiled headers: NO
--
-- OpenCV modules:
-- To be built: core imgproc flann highgui features2d calib3d ml video objdetect contrib legacy nonfree photo stitching videostab world
-- Disabled:
-
Disabled by dependency:
-
Unavailable: androidcamera gpu java ocl python ts
--
-- GUI:
-- Cocoa: YES
-- OpenGL support: NO
--
-- Media I/O:
-- ZLib: build (ver 1.2.7)
-- JPEG: NO
-- PNG: NO
-- TIFF: NO
-- JPEG 2000: NO
-- OpenEXR: NO
--
-- Video I/O:
-- AVFoundation: YES
-- QuickTime: NO
-- QTKit: YES
--
-- Other third-party libraries:
-- Use OpenCL: NO
-- Use Eigen: NO
-- Use Clp: NO
--
-- Python:
-- Interpreter: /opt/local/bin/python2 (ver 2.7.3)
--
-- Documentation:
-- Build Documentation: NO
-- Sphinx: NO
-- PdfLaTeX compiler: NO
--
-- Tests and samples:
-- Tests: NO
-- Performance tests: NO
-- Examples: NO
--
-- Install path: /Volumes/mac/opencvcode/mybuild/build/iPhoneSimulator-i386/install
--
-- cvconfig.h is in: /Volumes/mac/opencvcode/mybuild/build/iPhoneSimulator-i386
-- -----------------------------------------------------------------
--
-- Configuring done
-- Generating done
-- Build files have been written to: /Volumes/mac/opencvcode/mybuild/build/iPhoneSimulator-i386
User defaults from command line:
IDEBuildOperationMaxNumberOfConcurrentCompileTasks = 8

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

xcodebuild: error: Unable to read project 'OpenCV.xcode'.
Reason: Project file 'OpenCV' was written by an unsupported Xcode version (39)

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

xcodebuild: error: Unable to read project 'OpenCV.xcode'.
Reason: Project file 'OpenCV' was written by an unsupported Xcode version (39)

Traceback (most recent call last):
File "/volumes/mac/opencvcode/opencv-master/ios/build_framework.py", line 128, in <module>
build_framework(os.path.abspath(os.path.join(os.path.dirname(sys.argv0), "..")), os.path.abspath(sys.argv1))
File "/volumes/mac/opencvcode/opencv-master/ios/build_framework.py", line 120, in build_framework
put_framework_together(srcroot, dstroot)
File "/volumes/mac/opencvcode/opencv-master/ios/build_framework.py", line 88, 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 168, in copytree
names = os.listdir(src)
OSError: [Errno 2] No such file or directory: '../build/iPhoneOS-armv7/install/include/opencv2'
68-245-171-115:~ fanshulin$

Updated by 书林 樊 over 12 years ago

OK,Now,I just use :
sudo port -v install opencv +python27

it's working very well.
but thanks

Updated by Anna Kogan over 12 years ago

  • Status changed from Open to Cancelled

Also available in: Atom PDF