Linking OpenCV 2.3 program in Mac OS X Lion: symbol(s) not found for architecture x86_64
问题 I'm having a problem when trying to compile the program in this tutorial from the OpenCV 2.3 official documentation. I have created the CMakeList.txt like it's said in the link. Well, it didn't work. After a good time searching Google and trying to fix it, I have added the correct lib and include folders to the OpenCVConfig.make (at /opt/local/share/opencv here). Well, this is the output when I try to make it: $ cmake . -- Configuring done -- Generating done -- Build files have been written