Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » 'Launch failed. Binary not found' after project is re-built
'Launch failed. Binary not found' after project is re-built [message #1754957] Fri, 24 February 2017 09:02 Go to next message
Eclipse UserFriend
Hi all,

There are a few posts on this subject but I couldn't find any that matched my scenario. Apologies if this has been answered elsewhere.

I set up a C/C++ Unit Run Configuration, with my application set in the 'C/C++ Application' field as per the screenshot.

I then hit 'Run' and it successfully runs my application.

I then make a change to the application and re-build it. The build completes successfully and the new binary is in the same location as the previous one.

I hit the 'Run' button again and I get the error message: 'Launch failed. Binary not found'.

If I open the Run Configuration and hit 'Run' again without changing any of the settings, it successfully runs my application.

I can then hit the 'Run' button any number of times it will successfully run my application until I make a change and rebuild it. After rebuilding I get the error message again.

Does anyone have any idea on how to fix this?

-----

Eclipse IDE for C/C++ Developers
Version: Neon.2 Release (4.6.2)
Build id: 20161208-0600

Mac OS X 10.12.1 (16B2555)

Re: 'Launch failed. Binary not found' after project is re-built [message #1754990 is a reply to message #1754957] Sat, 25 February 2017 00:19 Go to previous messageGo to next message
Eclipse UserFriend
Because the configuration is under C/C++ Unit Test and not C/C++ (local) Application.
The Run --> Run command (or Run button) is trying to find the configuration under Application.
http://help.eclipse.org/neon/topic/org.eclipse.cdt.doc.user/tasks/cdt_o_run.htm?cp=8_3_5
http://help.eclipse.org/neon/topic/org.eclipse.cdt.doc.user/tasks/cdt_t_run_main.htm

You probably want Run As

[Updated on: Sat, 25 February 2017 00:40] by Moderator

Re: 'Launch failed. Binary not found' after project is re-built [message #1755035 is a reply to message #1754990] Mon, 27 February 2017 04:40 Go to previous message
Eclipse UserFriend
Thanks very much!
Previous Topic:compile makefile and linker problems
Next Topic:Pkg-config missing letter in a include path for gtk+-3.0
Goto Forum:
  


Current Time: Thu Jul 10 08:21:26 EDT 2025

Powered by FUDForum. Page generated in 0.04122 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top