CDT Error cannot run program "GCC"

Source: Internet
Author: User

ECLIPSE+CDT editing the C + + program error:

A compilation error has occurred:

Rebuild of configuration Debug for project Example * * * * *

Internal Builder is used for build * * * * *
Gcc-o0-g3-wall-c-fmessage-length=0-osrc\demo.o. \src\demo.c
Internal builder:cannot Run Program "GCC":????????? ¨?
Build error occurred, build is stopped
Time consumed:0 Ms.

Look at the surface error description, like the lack of compiler gcc.exe

Analyze the reasons for the failure and the solution:

1. First add the bin path of the MinGW to the environment variable of windows, then under CMD, enter gcc-v, display GGC version, can find GCC.

2. Cannot install the MinGW to the D-Drive program files, because the path contains spaces, and GCC is developed under Linux, the space is the default delimiter, so this path is illegal, so the GCC is not found.

3.CDT download with update installation There is a big difference, download plugins there is a jar:org.eclipse.cdt.core.win32_5.0.0.200902130801.jar below, but copy to eclipse To unzip into a folder of the type, and delete the original Org.eclipse.cdt.core.win32_5.0.0.200902130801.jar

CDT Error cannot run program "GCC"

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.