c++ - 在 Windows 的 Eclipse C++ 中运行 Hello World 应用程序

标签 c++ windows eclipse makefile mingw

我刚刚下载并在 Windows 中运行 Eclipse C++,以及 MinGW(我在 PATH 变量中设置了它的 bin/ 目录) .

尝试编译 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,但问题仍然存在。

我错过了什么?

最佳答案

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

不是解决方案,但通常是足够好的解决方法。

关于c++ - 在 Windows 的 Eclipse C++ 中运行 Hello World 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9455263/

相关文章:

c++ - 在 Qt 上如何设置每列 33% 的 3 列布局?

eclipse - Charles 调试代理未检测 Eclipse 生成的流量?

java - Spring Boot 多项目 Maven 应用程序上下文错误

c++ - undefined reference 错误,即使该类已链接

c++ - 为什么我的基类指针变量不能从派生类访问函数?

Windows 系统上的 java7 : Files. walkFileTree() 和 "System Volume information"

python 调用外部程序导致 [错误 193] %1 不是有效的 Win32 应用程序

c++ - 在 Windows 内核设备驱动程序中使用 fprintf

java - 如果e(jx)clipse插件不起作用怎么办?

c++ - 双链表复制构造函数(不能尾对头复制)