answered Dec 19 '12
If you're using OpenCV 2.4.2 or earlier, you need to add libstdc++ to your project. To do this:
If you're using OpenCV 2.4.3 or later, you need to do the same thing, but with libc++.dylib.