Error while building OpenCV examples on ubuntu
问题 I've used this tutorial to build OpenCV on ubuntu. Everything goes well until I try to build the examples. when I do this: sh build_all.sh many of the same error occurs: compiling tree_engine.cpp /usr/bin/ld: warning: libavutil.so.49, needed by /usr/local/lib/libopencv_highgui.so, not found (try using -rpath or -rpath-link) for each example the same error occurs. The code compiles but trying to run the compiled code will fail with error: ./tree_engine: error while loading shared libraries: