Windows 7, Eclipse CDT, Juno Service Release 2, Cross compiler.
Projects do compile executables generated, but Eclipse can\'t see them; therefore \'Run\' fails. Exec
I think I found solution - proper binary parser must be selected so Eclipse can recognize the executable:
Select the project, then right-click. Project->Properties->C/C++ Build->Settings->Binary Parsers, PE Windows Parser.
I.e. if Cygwin compiler is used then Cygwin parser should be used.
That worked for me at least for Cross-compiler (both on Windows 7 and Ubuntu 12.04). On Linux, I use Elf parser.
If anyone has the better solution, please advise.
Make sure that the folder name does not contain .c extension. When I removed the .c extension in my folder name it worked automatically.
This worked for me.
Go to Project --> Properties --> Run/Debug Settings --> Click on the configuration & click "Edit", it will now open a "Edit Configuration".
Hit on "Search Project" , select the binary file from the "Binaries" and hit ok.
Note : Before doing all this, make sure you have done the below
--> Binary is generated once you execute "Build All" or (Ctrl+B)
The video link below illustrate these steps in more detail:
https://www.youtube.com/watch?v=wtyBvagV-_A
Simply select the project and press CTRL + B.
You need to click on the MinGW compiler when running the code. Failure to do this will cause the launch failed binary not found error.