【问题标题】:Launch failed no binaries - gcc with eclipse启动失败没有二进制文件 - gcc 与 eclipse
【发布时间】:2011-01-16 13:26:09
【问题描述】:

我刚刚下载了适用于 C/C++ 的 eclipse IDE。包括 C:\MinGW\include 用于标头和 C:\MinGW\lib 用于库,但构建和运行失败并出现错误 "Launch failed no binaries" 我还缺少什么?

**** Build of configuration Debug for project Test ****

**** Internal Builder is used for build               ****
g++ -IC:\MinGW\include -IC:\MinGW\bin -IC:\MinGW -O0 -g3 -Wall -c -fmessage-length=0 -oTest.o ..\Test.cpp
Build error occurred, build is stopped
Time consumed: 112 ms.  

【问题讨论】:

  • 我决定转储 IDE 并找到另一个!
  • Eclipse CDT 不是最简单的,但却是最强大的免费 IDE。不要这么快就灰心了。

标签: c++ eclipse gcc compiler-construction


【解决方案1】:

对于 Windows 64: Project / Properties / C/C++ Build / Settings /Binary parser:打开“PE​​ Windows Parser”

【讨论】:

    【解决方案2】:

    请检查 C:\MinGW\bin 是否在您的 PATH 中。 如果你打开 cmd 并输入 g++ - 应该没有找不到 g++ 的消息。

    【讨论】:

      猜你喜欢
      • 2015-12-13
      • 2016-06-05
      • 2015-11-13
      • 2017-11-16
      • 2011-12-21
      • 1970-01-01
      • 2011-11-20
      • 2011-12-11
      • 1970-01-01
      相关资源
      最近更新 更多