Eclipse CDT appears launch failed binary not found

Source: Internet
Author: User

In eclipse CDT, launch failed binary not found appears (remember to build the configuration for project (the tool bar hammer icon) and run it again. Otherwise, this error will be reported even if it is configured .)

 

------------------ Split line --------------------

 

It's good to write PHP and Java in eclipse, but I don't want to install VC. Today I am hanging up CDT, and I still have a problem, that is

Launch failed binary not found occurs when eclipse compilation is allowed (no execution file found ?)

I searched the internet and did not see the answer. I did my research and finally got it done. I wrote it down and showed it to people who encountered the same problem,
I have carefully checked that the directory already contains the EXE file, and finally found that eclipse does not find it. To specify,

I think you should pay attention to the following aspects when installing CDT:

1. Eclipse should be restarted after eclipse and mingw are installed

2. Add mingw/bin to the path environment variable (DOS compilation and testing can be enabled)

2. Create a helloworld project and paste it to the following figure. The binarys node will appear, and you can find the execution file by yourself.

3. If it is a makefile project, you can find make targets to specify the execution target, right-click it to find this option, and eclipse will find

By the way:
Without GDB, you can download it here and put it together with mingw. This allows debugging.
Http://nchc.dl.sourceforge.net/sourceforge/mingw/gdb-6.8-mingw-3.tar.bz2

Complimentary eclipse color theme website: http://eclipsecolorthemes.org

CDT Website: http://www.eclipse.org/cdt/

Phpeclipse Official Website: http://www.phpeclipse.com/
(Although phpeclipse has been around for a long time, it is estimated that the project transfer is still abandoned, but it is still a good plug-in. Another PHP plug-in is called PDT. The latest version is quite good)

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.