Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 625677
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T19:20:08+00:00 2026-05-13T19:20:08+00:00

I am trying to install a C++ compiler on Eclipse without altering the Path

  • 0

I am trying to install a C++ compiler on Eclipse without altering the Path variables as I can’t, the machine has limited rights. Eclipse obviously runs fine, it’s the build that doesn’t, it complains about.

The first thing I noticed was a warning that said “Unresolved inclusion” for the libary file stdio.h

I added the path variable inside Eclipse’s “Windows > Preferences > C/C++ > Environment” with a new environment variable named “Path” with a path to my minGW/bin folder but to no avail. I also tried setting it to “Replace the native environment variable with specified one” but also no change.

The build errors out saying:

****  WARNING: The "Default" Configuration may not build  ****
****  because it uses the "MinGW GCC"  ****
****  tool-chain that is unsupported on this system.  ****

and then

(Cannot run program "make": Launching failed)

And of course no more. It’s a simple Hello World test, so the code shouldn’t be an issue. I can see the includes under a folder in the “Includes” area that Eclipse generates (D:\MinGW\binutils\lib) but clicking on them in the Outline tab of Eclipse brings up the error “No include files were found that matched that name”.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T19:20:08+00:00Added an answer on May 13, 2026 at 7:20 pm

    It looks like you’re trying to build a simple hello world program using Eclipse/CDT and a development environment and using mingw as the compiler tool chain. I was able to get this working just now without modifying my system path environment variable. This is what I did:

    • I already had Eclipse 3.5 (Galileo) installed with CDT
    • Installed MinGW to C:\MinGW (I assume you already had this done). Make sure the mingw-make component is installed (it’s not installed by default, I had to check the box to install this component).
    • Create a new empty makefile project, add main.c, write hello world code (as you say this isn’t the problem so I’m skipping detail here), add a new file called “makefile” and fill it in.

    Contents of my main.c file

        #include   
        int main()  
        {  
            printf("Hello World!");  
            return 0;  
        }  
    

    Contents of my makefile:

        all:  
            gcc -o HelloWorld.exe main.c 
    
    • Open the project properties; Under C/C++ Build uncheck the “use default build command” and change the build command to “mingw32-make”.
    • Under “C/C++ Build/Environment” add a new PATH variable with C:\Mingw\bin in the path
    • Under “C/C++ General/Paths and Symbols” add C:\mingw\include as an include path.

    After doing this, my project built successfully and produced a HelloWorld.exe exectuable in my project.

    Another option that doesn’t require adding a PATH variable to the system or project properties, or adding the include path to the project properties is to simply gives full path info to the commands in the makefile. For small projects this is manageable. Here’s an example makefile:

    Contents of makefile:

        all:  
            c:\mingw\bin\gcc -o HelloWorld.exe -I c:\mingw\include main.c 
    

    Of course you’ll also have to change the build command from simply “mingw32-make” to “C:\mingw\bin\mingw32-make” as well.

    Another downside of this approach is that the CDT code parser will not be able to locate include files so you’ll have warning in the editor to that effect.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 375k
  • Answers 375k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer No offence, but you are wrong. Porting to .Net is… May 14, 2026 at 8:12 pm
  • Editorial Team
    Editorial Team added an answer I've found out the solution - albeit, it's not as… May 14, 2026 at 8:12 pm
  • Editorial Team
    Editorial Team added an answer I think you do want form closing, the thing you… May 14, 2026 at 8:12 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.