I know how to compile OpenCV under Xcode. I change the compiler to libstd++ and it works like a charm.
I am wondering though if there is any way to compile OpenCV with the default Xcode compiler.
I installed OpenCV 2.4.5 with Homebrew, if that's relevant.