mingw32-make
clean all
process_begin
: CreateProcess
(
(null), rm
-f Test1.o Test2.o Main.o
test_me.exe, ...) failed.
make
(e=2): The system cannot find the file specified.
当出现'make (e=2): 系统找不到指定的文件'的错误时,意味着mingw32-make无法找到'rm'工具。MinGW本身不包含'rm'。为解决此问题,可以修改Makefile中的clean规则,用'del'命令替换,并在命令前加上负号以确保即使删除失败也认为规则成功。另一种方案是安装MSYS-1.0.10.exe并设置环境变量,其中包含了rm等相关命令。对于使用Makefile项目的用户,可以从指定链接下载并运行MSYS的安装程序,它提供了make和相关命令行工具的实现。
mingw32-make
clean all
process_begin
: CreateProcess
(
(null), rm
-f Test1.o Test2.o Main.o
test_me.exe, ...) failed.
make
(e=2): The system cannot find the file specified.
1万+

被折叠的 条评论
为什么被折叠?