Ask Your Question

bryanjhlim's profile - activity

2017-08-03 02:35:33 -0500 received badge  Famous Question (source)
2015-12-20 06:03:56 -0500 received badge  Notable Question (source)
2015-09-22 16:50:24 -0500 received badge  Popular Question (source)
2014-07-06 08:00:10 -0500 asked a question Core hpp header must be compiled with C++

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