#include <opencv2/core/version.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Makefile:159: recipe for target 'obj/image_opencv.o' failed```
解决方案:
sudo apt-get install libopencv-dev
[Makefile:182: obj/image_opencv.o] Error 1
转载本文章为转载内容,我们尊重原作者对文章享有的著作权。如有内容错误或侵权问题,欢迎原作者联系我们进行内容更正或删除文章。
上一篇:微信小程序中的事件
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
Python OpenCV #2 - OpenCV中的GUI功能
本文介绍了OpenCV的基本方发,包括图像读取、显示和写入。
python ide OpenCV -
make: *** [http-push.o] Error 1
make: * [http-push.o] Error 1yum update curl libcurl yum -y install libcurl-devel.x86_6 yum -y install expat-devel.x86_64
make http-push.o Error 1 libcurl-devel expat-devel -
makefile 添加opencv库 makefile .c=.o
Makefile带来直接好处就是——“自动化编译”。一旦写好,只需要一个make命令,整个工程完全自动编译,所以十分方便。而Makefile文件就是告诉make命令怎么样地去编译和链接程序。但是想要比较灵活的运用它,还是先要熟悉一些关于系统对程序编译和链接的知识。 1.一个简单的makefile例子假设一个程序有两个文件file1.c,file2.c,每个文件都包含head
makefile 添加opencv库 makefile 生成.o makefile文件 makefile文件编写 修改.h makefile