关于mingw32-make的错误

参考:https://blog.csdn.net/fengxueniu/article/details/77478669?locationNum=10&fps=1
关于:E:\OpenVC\opencv\sources\modules\videoio\src\cap_dshow.cpp的错误
参考:http://blog.csdn.net/huihut/article/details/78701814
3rdparty\protobuf\CMakeFiles\libprotobuf.dir\build.make:412: recipe for target '3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/io_win32.cc.obj' failed
mingw32-make
[2]: *** [3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/io_win32.cc.obj] Error 1
CMakeFiles
\Makefile2:710: recipe for target '3rdparty/protobuf/CMakeFiles/libprotobuf.dir/all' failed
mingw32-make
[1]: *** [3rdparty/protobuf/CMakeFiles/libprotobuf.dir/all] Error 2

在 cmake-gui 编译配置中:

  • 勾选 ENABLE_CXX11

然后重新Configure-Generate-mingw32-make


  • 5
    点赞
  • 9
    收藏
    觉得还不错? 一键收藏
  • 3
    评论
引用\[1\]:根据你提供的引用内容,"mingw32-make: *** No rule to make target 'zlib', needed by 'bin/libopencv_imgcodecs455.dll'. Stop."这个错误信息表明在执行mingw32-make命令时,找不到生成目标为'zlib'的规则。\[1\] 引用\[2\]:另外一个引用内容提供了一种解决方案,即在cmd或powershell中执行以下命令:mkdir build cd build cmake -G "MinGW Makefiles" .. mingw32-make .\OpenCV_test.exe。\[2\] 引用\[3\]:此外,还有一个引用内容提供了一个类似的问题和解决方案。问题是在移动已编译的Qt项目文件夹后重新运行项目时出现错误错误信息为"mingw32-make: *** No rule to make target '../../Qt5.4.2/5.4/mingw491_32/mkspecs/win32-g++/qmake.conf', needed by 'Makefile'. Stop."解决方案是删除移动后的Qt项目文件夹下的Makefile、Makefile.Debug和Makefile.Release三个文件,然后重新运行项目。\[3\] 综上所述,"mingw32-make: *** No rule to make target"错误通常是由于缺少生成目标的规则导致的。解决方案可以是检查相关的配置文件或删除一些生成的文件,然后重新运行命令。希望这些信息对你有帮助。 #### 引用[.reference_title] - *1* *2* [mingw编译opencv](https://blog.csdn.net/qq_39942341/article/details/129380197)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item] - *3* [Qt错误 No rule to make target needed by 'Makefile'](https://blog.csdn.net/leondryu/article/details/50635685)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值