Under Linux, the Eclipse C + + IDE Editor is a good source program after C + + to save first!!! Otherwise, it will ...

Source: Internet
Author: User

Note: under Linux, the Eclipse C + + IDE is edited under the C + + source program to save first!!! Otherwise, it will ...

Take a look at the following procedure:

1.Click file/new, select C Project(or C + + project)

 2 input project name test , select empty  project linux  GCC finish

 3, click file/new Span style= "font-family: Arial" >, select image 1 source file , enter the file name t.c (to have a suffix, c++ cpp ), dot finish

4, input C source program, point project/build all or (Build Project)

5, Bad! Something went wrong! Because of this error, spent a morning on the site search all kinds of solutions, are not fruit, depressed!!!

Dot run, always come out of the Damned dialog box "launch failed. Binary not Found "!

6, the noon continue to test, in the case of still wrong point run (green Arrow), out a dialog box asked whether to save (not come out and then point Buildall!) ), click Yes ...

7, incredibly, yes! Out of the results! What a result!! The result is actually!!! I'd rather What's going on? Although I do not know the reason, but can run up, and so on!

8, re-test, there will still be problems! Finally, perhaps found the problem! It turns out to be: Edit the C + + source program to save first!!!

In addition, perhaps, these two changes are important (but did not solve the problem I encountered, cry!). ):

1,http://wanglilife.blog.163.com/blog/static/4648527120088141224759/

Project types: This option, it is important to select Executable/hello World ANSI C project (Hello World C + + project) in the box below, because after this choice, You can ensure that the Binaries file is automatically generated in the project, which avoids launch failed. Binary not found is a very important step.

2,http://blog.csdn.net/abcjennifer/article/details/7573916

Project->properties->c/c++build->settings->binary parsers

Tick the GNU elf Parser and Elf Parser

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.