首页 > 解决方案 > 为什么在 cpp 中构建程序时有时会出现 mingw makefile 错误?

问题描述

有时,当我尝试构建一个 cpp 程序“mingw32-make.exe *** all error 1”时,会发生错误,并且当您重建程序时错误会消失,尽管它并非每次都发生。我在codelite上使用gcc++编译器。这是我得到的完整构建错误:

C:\WINDOWS\system32\cmd.exe /C C:/MinGW/bin/mingw32-make.exe -j8 
SHELL=cmd.exe -e -f  Makefile
"----------Building project:[ lab1 - Debug ]----------"
The system cannot find the path specified.
mingw32-make.exe: *** [All] Error 1
Makefile:4: recipe for target 'All' failed
====1 errors, 0 warnings====*

如果有人能帮我解决这个问题,我将不胜感激。

标签: c++makefilecompiler-errorsmingw32

解决方案


推荐阅读