红联Linux门户
Linux帮助

ubuntu 16.04安装opencv 3.1.0后遇到/home/aimer/project/.问题

发布时间:2017-02-16 10:20:23来源:linux网站作者:靑い鳥
opencv安装过程一切正常,但在编写源程序使用opencv库时报错:
/home/aimer/project/build-seed-Desktop-Debug/seed: error while loading shared libraries: libopencv_core.so.3.1: cannot open shared object file: No such file or directory
 
解决办法:
因为没有装ffmpeg,输入sudo apt-get install ffmpeg进行安装,安装成功之再次编译源程序即可.
 
本文永久更新地址:http://www.linuxdiyf.com/linux/28452.html