Eclipse CDT launch failed.Binary not found [How to Solve]

 

Recently in the research of artificial intelligence, identity recognition system related aspects, using C + +, but as a PHPer origin, obviously can’t be smooth sailing, will encounter all kinds of pit, since encountered, can’t avoid, then break it

Here are some recollections of my way to start C + +, which are for my study only. At the same time, I would like to share with many friends who have stepped into C + +

1. Eclipse cdtlaunchfailed. Binarynotfound solution

After the configuration is completed, the project test is established. It is found that the test can be run after the project of Hello World C + + project type is established, and the test class cannot be run by directly creating an empty project. The prompt is “ launchfailed. Binarynotfound

Causes: in CDT, after each new project is completed, the system will build the first time by default, that is, automatically generate executable files. But in fact, we have not even a source code file in the newly built project, so of course we will not generate executable files

When we create a new source code file, click the execute button, and the prompt “launch failed. Binarynotfound ” will pop up
solution: right click the project folder on the left side of the window and select build configurations — > Build–> Select, select debug or release to build

Similar Posts: