我已经使用本教程在ubuntu上构建OpenCV。 一切都很顺利,直到我尝试构建示例。当我这样做:在ubuntu上构建OpenCV示例时出现错误
sh build_all.sh
许多相同的错误发生:
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)
对于发生同样的错误每个例子。 代码编译,但试图运行编译后的代码将失败,错误:
./tree_engine: error while loading shared libraries: libavutil.so.49: cannot open shared object file: No such file or directory
我不知道这是什么libavutil是。
我使用Ubuntu 10.10
因此,感谢SIFE,我知道问题是libavutil的不同版本! –