eclipse 启动失败。找不到二进制文件
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/15307010/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
launch failed. Binary not found
提问by
I am trying to get eclipse set up to work with C++, however when I try to run a basic program I get the error: Launch failed. Binary not found
我正在尝试将 Eclipse 设置为与 C++ 一起使用,但是当我尝试运行基本程序时出现错误: Launch failed. Binary not found
Also this prints to the console:
这也打印到控制台:
Configuration failed with error
(Cannot run program "sh": Launching failed)
This is the path that I have set:
这是我设置的路径:
C:\Program Files\Java\jdk1.7.0_01\bin;C:\msys\1.0\bin;C:\mingw\bin;
C:\Program Files\Java\jdk1.7.0_01\bin;C:\msys\1.0\bin;C:\mingw\bin;
All help will be appreciated.
所有帮助将不胜感激。
回答by VonC
For Windows:
对于 Windows:
Project / Properties / C/C++ Build / Settings /Binary parsers:
Turn on "PE Windows Parser
"
打开“ PE Windows Parser
”
Then, build it (Ctrl+B) before running/debugging
然后,在运行/调试之前构建它 ( Ctrl+ B)
project->build project