2012-10-18 12:31:29 -0600 | commented answer | OpenCV on Mac OS X 10.8 Mountain Lion can you show us where you fixed your compilation option? (I assume you change it in mexopts.sh?) I'm having the same problem, but changing to clang leads to another problem "Undefined symbols for architecture x86_64:" |