Tommy Solheim
Tommy Solheim

Reputation: 21

No binary found Eclipse

The problem:

No includes folder in the project folder.  
Error: "Launch failed. Binaries not found"

I'm writing my first C code on Eclipse (new to Eclipse) but cant seem to run it. When I create a new project like so file->new->c project-> choose empty project and MinGW in toolchains and finish.

There I end up with a empty folder and no include folder. From there i create a new src folder and a .cpp file, then i "build all" the code first then run it. After all that i end up with Launch failed. Binaries not found. I also checked that PE Windows Parser is on. Also this line is underlined red:

 #include <iostream>  

What am i missing ?

Upvotes: 1

Views: 4898

Answers (1)

VonC
VonC

Reputation: 1323135

As mentioned in this thread:

If the toolchains show up in "Create C++ project of selected type", then Eclipse has detected them correctly.
The message "Launch failed,binaries not found" means that Eclipse cannot find the application you want to debug/launch! Most of the times this message appears when you forget to build your project before launching or build errors occurred. This can be compiler errors in your code or a missing/wrongly installed toolchain.

So, when you build "hello world", check the output visible in the Console Window in Eclipse.

If the build fails because of:

Error launching external scanner info generator (gcc -E -P -v -dD)

, then see "Error Launching external scanner info generator - gcc link problem on MingGW".

Upvotes: 1

Related Questions