mingw32-make no rule
时间: 2023-09-13 12:13:18 浏览: 291
mingw32-make.1
引用\[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 ]
阅读全文