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

  • SEARCH
  • Home
  • 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 9019043
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T04:40:53+00:00 2026-06-16T04:40:53+00:00

I am building a Makefile project in Eclipse Juno, and I have it set

  • 0

I am building a Makefile project in Eclipse Juno, and I have it set up so it compiles and debugs (it’s using CMake, so I’m not using the internal tools). However, Eclipse obviously hasn’t been informed of the right headers, as in the following code:

#include <iostream>

using namespace std;

int main ()
{    
  cout << "Hello world << endl;
  return 0;
}

the include “iostream” and symbols “std”, “cout” and “endl” are all unresolved.

How should I make Eclipse aware of these so it will stop underlining everything in red and spamming with errors?

  • 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-06-16T04:40:55+00:00Added an answer on June 16, 2026 at 4:40 am

    This can be resolved by specifying the following environmental variables in Project->Properties->C++ Build->Environment.

    • LANG=en_US
    • LC_ALL=en_US

    Apparently they are needed for the auto-discovery tools to work out where the includes live.

    Answer gleaned from this Eclipse forum thread.

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

Sidebar

Related Questions

Recently I started doing a C++ project, and started it using the internal building
I have an MSVC Makefile Project in which I need to set an environment
I am using CMake to build a project with external libraries by using Eclipse
While building .pro project using QTCreator on windows, it will create an makefile and
I am building a Makefile based project using Xcode4. How do I tell xcode
I am building a large project with a makefile that was originally built with
When compiling a project via a makefile using the Emacs compile command, when gdb
I have an old C project that compiles just fine in Unix. I want
I have installed minGW and msys. In eclipse CDT I created c++ project that
I'm building a project with a recursive Makefile. The basic format is simple: source

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.