参照网上的教程安装,结果编译出错
ubuntu16.04中安装opencv2.4.9 - 北望花村 - CSDN博客blog.csdn.net![eea6e2c2b6deaf5bc153f24431a3a73d.png](https://img-blog.csdnimg.cn/img_convert/eea6e2c2b6deaf5bc153f24431a3a73d.png)
modules/highgui/CMakeFiles/opencv_highgui.dir/build.make:110: recipe for target 'modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.cpp.o' failed
make[2]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.cpp.o] Error 1
CMakeFiles/Makefile2:2377: recipe for target 'modules/highgui/CMakeFiles/opencv_highgui.dir/all' failed
make[1]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2
![2f25e300fa5aecf6080fd97e6812d913.png](https://img-blog.csdnimg.cn/img_convert/2f25e300fa5aecf6080fd97e6812d913.png)
![da242337f3bfe44d8279b8363bca92cc.png](https://img-blog.csdnimg.cn/img_convert/da242337f3bfe44d8279b8363bca92cc.png)
查找了几个方法
Trying to install opencv using homebrew. ERROR: modules/highgui/CMakeFiles/opencv_highgui.dir/all Error 2stackoverflow.com![7acba796f140e7d70aecfedb1f9e4390.png](https://img-blog.csdnimg.cn/img_convert/7acba796f140e7d70aecfedb1f9e4390.png)
难道又要卸载了重装?
ubuntu 卸载opencv - 陶宝大人的博客 - CSDN博客blog.csdn.net