启动失败.未找到二进制文件.Eclipse Helios 上的 CDT [英] Launch Failed. Binary not found. CDT on Eclipse Helios

查看:29
本文介绍了启动失败.未找到二进制文件.Eclipse Helios 上的 CDT的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Ubuntu 10.04 上使用 Eclipse Helios,我正在尝试在其上安装 CDT 插件.我从这里下载它 此处.

I'm using Eclipse Helios on Ubuntu 10.04, and I'm trying to install CDT plugin on it. I download it from here here.

然后我转到安装新软件并选择 zip 文件(我不解压缩它,只选择 zip 文件).一切正常,安装,一切正常,显示可选功能,等等.

And then I go to Install New Software and select the zip file (I don't extract it, just select the zip file). And its ok, it installs, everything works fine, it shows optional features, blah blah blah.

然后我创建了一个新的 HelloWorld 项目.当我尝试运行它时,它显示一个错误并说:

And then I create a new HelloWorld project. And when I try to run it, it shows an error and says:

启动失败.未找到二进制文件.

Launch failed. Binary not found.

谁能告诉我如何修复它?

Can anyone explain me how to fix it?

谢谢.

推荐答案

您必须先构建一个可执行文件,然后才能运行它.因此,如果您不构建"您的文件,那么它将无法链接和加载该目标文件,因此它没有执行所需的二进制数.

You must build an executable file before you can run it. So if you don't "BUILD" your file, then it will not be able to link and load that object file, and hence it does not have the required binary numbers to execute.

所以基本上右键单击Project ->构建项目 ->作为本地 C/C++ 应用程序运行 应该可以解决问题

So basically right click on the Project -> Build Project -> Run As Local C/C++ Application should do the trick

这篇关于启动失败.未找到二进制文件.Eclipse Helios 上的 CDT的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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