Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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?