Launch Failed. Binary not found. CDT on Eclipse Helios

rogcg picture rogcg · Feb 11, 2011 · Viewed 202.3k times · Source

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.

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.

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?

Thanks.

Answer

varunthacker picture varunthacker · Jan 6, 2012

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.

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