Programmers learn & share
+1 vote


Hello Kodlogs,

I am running a Windows 7 based machine and generally, I use eclipse to write and run my c++ programs. I’ve already installed the CDT plugins alongside MinSys and  MinGW packages to run my program. Even now I am unable to compile and run any sample program in Eclipse. Still getting the error Launch failed binary not found eclipse c++

How can I fix the problem? Any idea?
Many thanks for your kind concern.

by (12.9k points)   | 59 views

2 Answers

+1 vote


Please follow the steps below after you compiled the project.

→ Select "Run" → Run Configurations → Choose "C++ Application" → Click on the "New Launch Configuration" icon on the top left of the open window → Select "Browse" under the C/C++ Application → Browse to the folder where you made your project initially → Enter the Debug folder → Click on the binary file with the same name as the project → Select "OK" → Click "Apply" to confirm the link you just set → Close that window.

This process saved my day and I hope the same for you. Please let me know if it doesn’t work for your case.


by (55.5k points)  
0 votes

If you have compiled your code with 0 error and still getting the error;

“Eclipse CDT project built but Lunch failed. Binary not found”.


Solution 1:

You can solve your error by simply applying the following steps;

  • Click on the “Run” icon.
  • After this choose “Run Configuration” from the dropdown of the run icon.
  • Choose the option of “C++ Application”.
  • Go to the top left corner of the opened window and choose “New Launch Configuration” from there.
  • Choose the “Browse” option under the C/C++ Application.
  • Browse the folder where you made your project initially.
  • Go to the debug folder.
  • There click on the binary file whose name is matching to the project name that you created initially.
  • Select the Ok button.
  • Click the “Apply” button to confirm the link settings that you have just set.
  • Close that window

After that you can be able to run the project according to configuration.

Solution 2:

To solve this error, select the proper binary parser so the Eclipse can recognize all executable;

  • Select the project and click the right button.
  • Go to project
  • Click on the project properties tab.
  • Go to C/C++ build.
  • Then go to settings
  • In settings, select Binary Parsers, PE Windows Parser.

I hope these solutions will help to solve your error.

by (2.7k points)  
2,221 questions
2,697 answers
241 users