I\'m trying to build a simple project using OpenCV 2.4.10 but I get a bunch of errors like this:
Undefined symbols for architecture x86_64: \"_jpeg_free_large\", re
So here's a little workaround. The problem is because the XCode project is unable to link to the libjpeg.a library. So thats why you get the above errors when you compile the project.
Follow these steps :