我刚下载并在Windows中运行Eclipse C ++,以及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
,但问题仍然存在。
我错过了什么?
答案 0 :(得分:1)
改为运行32位Eclipse,并确保运行MinGW工具链。
不是解决方案,而是一种通常足够好的解决方法。