I am trying to install OpenCV 2.4.3 on Mac OSX 10.7.5 by using MacPort. I installed opencv 2.4.4 through homebrew. But when I tried linking the libraries I keep getting an error when compiling the program through qmake (Qt): symbols not found architecture _x86-64
. So now I am trying to install opencv 2.4.3 through MacPort but I keep getting the following error:
Linking CXX shared library ../../lib/libopencv_highgui.dylib
ld: library not found for -lmp3lame
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/libopencv_highgui.2.4.3.dylib] Error 1
make[1]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/all] Error 2
make: *** [all] Error 2
Any help would be much appreciated.