error installing OpenCV 2.4.3 Mac OSX Linking CXX -


i trying install opencv 2.4.3 on mac osx 10.7.5 using macport. installed opencv 2.4.4 through homebrew. when tried linking libraries keep getting error when compiling program through qmake (qt): symbols not found architecture _x86-64. trying install opencv 2.4.3 through macport keep getting following error:

linking cxx shared library ../../lib/libopencv_highgui.dylib ld: library not found -lmp3lame clang: error: linker command failed exit code 1 (use -v 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 appreciated.

  • with opencv installed using homebrew should add additional search paths makefile (note opencv must installed without --32-bit flag). can try install flag --with-qt (see brew info opencv). take here - may case.
  • for errors during installation via macports: install dependencies first. in case sudo port install lame.
  • also can install using install guide, this(os x 10.7) or this(os x 10.8) tutorial example
  • check related questions in right column on page - can helpful.

Comments

Popular posts from this blog

ios - iPhone/iPad different view orientations in different views , and apple approval process -

java Extracting Zip file -

C# WinForm - loading screen -