【发布时间】:2012-02-26 17:19:48
【问题描述】:
我刚刚下载并投入运行 Eclipse C++、Windows 以及 MinGW(我已将其 bin/ 目录设置在 PATH 变量中)。
在尝试编译 Hello World 程序时,我收到以下错误:
**** Build of configuration Default for project tests ****
(Cannot run program "make" (in directory "D:\lixo\eclipse_cpp\workspace\tests"): CreateProcess error=2, The system cannot find the file specified)
尝试从命令行运行make 命令没有产生任何结果,所以我发现MinGW 的make 被称为MinGW32_make.exe。我已将文件重命名为make.exe,但问题仍然存在。
我错过了什么?
【问题讨论】:
-
对我来说是 mingw32-make.exe
-
是的,这里也是这样。
-
我在 64 位日食。这可能是个问题吗?
-
我在使用 64 位版本的 eclipse cdt 时遇到问题。我决定切换到 32 位版本。我不知道这是否会解决你的问题。如果您决定使用 32 位,您也必须下载 32 位 java。
标签: c++ windows eclipse makefile mingw