eclipse-cdtbinaries

Eclipse CDT project built but "Launch Failed. Binary Not Found"


Windows 7, Eclipse CDT, Juno Service Release 2, Cross compiler.

Projects do compile executables generated, but Eclipse can't see them; therefore 'Run' fails. Executables are placed in Debug directory. Double click or command prompt call on compiled executable works without problem.

enter image description here

How can I solve this?


Solution

  • 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.