Run C ++ in eclipse and report launch failed. Binary not found Solution

Source: Internet
Author: User
After the configuration is complete, create a project test. You can run the test after setting up a project of the hello World C ++ project type. If you directly create an empty project and write a test class, the system prompts "launch failed. binary not found ", cause: after each new project in the CDT is built, the system generally performs the first build by default, that is, the executable file is automatically generated. However, the fact is that the newly created project does not even have source code
Of course, it will not generate executable files. When we create a new source code file, click the execute button to display the "launch failed. Binary not found" prompt description (the executable binary file cannot be found ).

Solution: Right-click the project folder on the left of the window, select build deployments ---> build --> select from the pop-up menu, and select debug or release to build.After the configuration is complete, create a project test. You can run the test after setting up a project of the hello World C ++ project type. If you directly create an empty project and write a test class, the system prompts "launch failed. binary not found ", cause: after each new project in the CDT is built, the system generally performs the first build by default, that is, the executable file is automatically generated. However, the fact is that the newly created project does not even have source code
Of course, it will not generate executable files. When we create a new source code file, click the execute button to display the "launch failed. Binary not found" prompt description (the executable binary file cannot be found ).

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.