I have some problems compiling a simple OpenCV iOS project on Xcode.
After compiling in Xcode I get the following errors: "Core.hpp header must be compiled as C++" "Base.hpp header must be compiled as C++" "climits file not found"
I have setup OpenCV 2.4.9 the following way (Cmake installed): git clone https://github.com/Itseez/opencv.git python opencv/platforms/ios/build_framework.py ios
I get the following:
$ python opencv/platforms/ios/build_framework.py ios -- Setting up iPhoneOS toolchain -- iPhoneOS toolchain loaded -- Looking for linux/videodev.h -- Looking for linux/videodev.h - not found -- Looking for linux/videodev2.h -- Looking for linux/videodev2.h - not found -- Looking for sys/videoio.h -- Looking for sys/videoio.h - not found -- Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "2.7") -- Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "2.6") -- Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH) -- Could NOT find Matlab (missing: MATLAB_MEX_SCRIPT MATLAB_INCLUDE_DIRS MATLAB_ROOT_DIR MATLAB_LIBRARIES MATLAB_LIBRARY_DIRS MATLAB_MEXEXT MATLAB_ARCH MATLAB_BIN)
Machine Details: MacBook Air - Mac OS X 10.9.3 Xcode 5.1.1 Python 2.7