c++ - 为什么在 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====*
如果有人能帮我解决这个问题,我将不胜感激。
解决方案
推荐阅读
- sql-server - 如果 datetime 参数为 null,则分配 datetime 值
- c++ - 当类型适当的构造函数可用时,为什么一个编译器会尝试使用已删除的复制构造函数
- amazon-kinesis-firehose - 使用 Amazon KPL 获取“流 xxx 的分片映射更新”失败:(AWSErrorMarshaller)Encountered Unknown AWSError
- google-cloud-dataproc - 使用多个初始化脚本时 Dataproc 初始化脚本错误 pip command not found 错误
- r - 当我将 Microsoft Word 或 Google Docs 中的代码复制并粘贴到 R 中时,我发现这些行不匹配。我正在使用 Mac。我怎样才能解决这个问题?
- java - 获取列表的 ArrayIndexOutOfBoundsException
- python - 获取列表之间第一个和最后一个公共元素索引的最快方法
- mongodb - 在MongoDB中存储二进制数据时,内部存储为二进制还是base64
- airflow - 如何在气流的非追赶设置中对齐执行日期?
- python - numpy 中的原语 - RuntimeWarning:longlong_scalars 中遇到溢出