2012-02-26 112 views
1

我刚刚下载并运行Eclipse C++,以及Windows,以及MinGW(我已经在PATH变量中设置了它的bin/目录)。在Windows的Eclipse C++中运行Hello World应用程序

当尝试编译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的的化妆被称为MinGW32_make.exe。我已将该文件重命名为make.exe,但问题仍然存在。

我错过了什么?

+0

对我来说,它是mingw32-make.exe – kechapito 2012-02-26 17:32:29

+0

是的,这也是它的原因。 – 2012-02-26 17:45:33

+0

im在64位日蚀。这可能是一个问题吗? – 2012-02-26 17:48:47

回答

1

改为运行32位Eclipse,并确保您正在运行MinGW工具链。

不是一个解决方案,而是一个通常足够好的解决方法。

相关问题