Solve the Problem of a program file was not specified in the launch configuration.

Source: Internet
Author: User

Problem description:

Developing C ++ or C in eclipse is troublesome. After configuring the mingw32, CDT, and environment variables, creating a hello World C ++ project will still cause problems. The system prompts a program file was not specified in the launch configuration during compilation. (the source file of the program that can be compiled is not found ).

 

 

Solution:

1. Select your project, right-click the project, and select Properties from the pop-up menu.

 

2. Select Run/debug settings in the pop-up dialog box, and then operate the following image.

.

 

3. Click search project...

 

4. Double-click the degug or release version you want.

 

5. Click OK all the way and run again! :)

Solve the Problem of a program file was not specified in the launch configuration.

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.