Install the CDT plug-in eclipse

Source: Internet
Author: User

After downloading CDT and decompressing it to the plug-in directory, the error "cannot run program" GCC ":????????? ?

I have been searching for the Internet for a long time. I cannot try n methods.

Finally, use eclipse help-> New and Insall software... -> available software sites in the list to find whether there is a http://download.eclipse.org/tools/cdt/releases/helios if not add, there is a tick to get a name CDT. Then select the named CDT in work with: type or select a site. The following is a wait. Next, wait a long time. Haha, the download is very slow. But after the installation, the above error will be fixed.

In addition, install mingw and download the installation of EXE directly. (This mingw-get-inst-20110133, 360reporting Trojan, only the following mingw-get-inst-20100831.exe)
Http://sourceforge.net/projects/mingw/files/

Mingw installation is slow because it is online and requires remote download of dependent library files. It is installed under c: \ mingw by default. After installationC: \ mingw \ bin;Add to the beginning of the PATH environment variable.
After the installation is complete, enter gcc-V in cmd to see what the output is.

The first time you run the self-writtenProgramPossible error message: Launch failed binary not found. This is because no compiler information is specified.

Solution:

Window-> preferences-> C/C ++-> New CDT Project Wizard-> makefile Project
Find binary parser to cancel elf parser and select PE windows parser. Restart eclipse and create a new project. The binarys node is displayed during running, and the execution file can be found on its own.

========================================================== =

Cdt4 (cdt4.03) is required for eclipse 3.3 ). After the download, install the SDK according to the following instructions:

To use this ZIP file, in the menu help-> softwareupdates-> Find and install ..., select search for new features to install, click New archived site ..., and point at the ZIP file. the update manager will start up and you can select the features you want to install.
You will at nead require the C/C ++ development tooling feature which is the CDT runtime.

For more versions of CDT download: http://download.eclipse.org/tools/cdt/builds

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.