发射失败二进制不是在Windows中发现的Eclipse对于C [英] Launch Failed Binary not found Eclipse for C in Windows

查看:169
本文介绍了发射失败二进制不是在Windows中发现的Eclipse对于C的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装了Eclipse CDT的插件,也以下软件包:

I installed Eclipse CDT plugin and also the following packages:


  1. MinSys

  2. 的MinGW

我还增加了路径它们在PATH环境变量斌。即使这样,我无法编译和运行在Eclipse的示例程序。结果
我该如何解决这个问题?谢谢你的关心。

I have also added paths to their bin in the PATH environment variable. Even then I am unable to compile and run any sample program in Eclipse.
How can I fix this? Thanks for your concern.

推荐答案

我甚至遇到这个错误,并搜查了很多修复。幸运的是,我理解了它自己。

I even faced this error and searched a lot to fix. Fortunately, I figured it out myself.

以下是事情,你需要确保它们设置:

The following are the things you need to make sure they are set:


  1. 窗口> preferences> C / C ++>新CDT项目向导>生成文件项目>二进制解析器

  1. Window > Preferences > C/C++ > New CDT project wizard > Makefile Project > Binary Parsers

A)将它设置为PE的Windows分析器,如果你是在Windows上。

a) Set it to PE Windows Parser if you are on windows.

b)如果你正在使用Cygwin将其设置为Cygwin的PE分析器

b) Set it to Cygwin PE Parser if you are using Cygwin

c)如果你正在使用Ubuntu将其设置为精灵解析器

c) Set it to Elf parser if you are using ubuntu

窗口> preferences> C / C ++>构建>环保

Window > Preferences > C/C++ > Build > Environment

现在点击选择,然后选择路径变量,以便您添加您在Eclipse路径变量。

Now click on "select" and select "Path" variable so that you add you path variables in Eclipse.

现在它的全部完成!

所有你需要做的就是写一个测试程序和preSS按Ctrl + B(构建所有;还有菜单栏上的按钮),之后点击运行

All you have to do is write a test program and press Ctrl+B (Build all; there is a button on menu bar) and after that click "Run".

这篇关于发射失败二进制不是在Windows中发现的Eclipse对于C的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆