Ask Your Question

cr333's profile - activity

2016-02-16 13:21:12 -0600 received badge  Supporter (source)
2012-11-01 16:33:43 -0600 answered a question opencv for ios 5.1 (on OS X 10.8) with boost using c++11 and libc++

The warning you’re getting looks like a clang warning. The way I see it, is that the CMAKE_XCODE_ATTRIBUTE_* override the compiler and standard library only inside of XCode, without making CMake aware of this, which is why it says it uses gcc/g++ as compilers. So C++11 should be working alright with libc++.

Next, you should try to fix the compilation error you get. The simplest fix appears to be to change the "int" to "unsigned int" in the hope that this doesn't break anything.

PS: The latest released version of OpenCV is 2.4.2 – what’s this version 2.4.9 you have?