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 8499193
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T00:36:06+00:00 2026-06-11T00:36:06+00:00

Yes, it’s this question again… Somehow, I cannot get this issue resolved. Believe it

  • 0

Yes, it’s this question again…

Somehow, I cannot get this issue resolved. Believe it or not, I have experience with Eclipse but only for Java development. I have programmed in C++ using vi but not with Eclipse.

I have installed:

  • Ubuntu 12.04
  • Eclipse 3.7.2
  • GCC 4.6.3
  • Eclipse CDT 8.0.2

I created an empty Makefile project and selected the Linux GNU Toolchain:

empty Makefile project

I get the standard Unresolved inclusion <iostream> error, and I have some references to various “include” directories in the project:

<code>Unresolved inclusion <iostream></code> error

I did notice that, while my “Paths and Symbols” setting for GNU C contains various paths, the same setting for GNU C++ is empty:

GNU C Paths and Symbols

GNU C++ Paths and Symbols

Also, I have the “GNU Elf Parser” under my C/C++ build settings:

enter image description here


What am I doing wrong here?

Cheers


Edit:

Here’s an updated photo of my a project’s build path that is working correctly:
Updated build path

  • 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-11T00:36:07+00:00Added an answer on June 11, 2026 at 12:36 am

    The reason is that Eclipse simply cannot import a proper header. C++ iostream header in Ubuntu can be found:

    $: sudo find / -name iostream

    /home/beniamin/QtSDK/Madde/toolchains/arm-2009q3-67-arm-none-linux-gnueabi-x86_64-unknown-linux-gnu/arm-2009q3-67/arm-none-linux-gnueabi/include/c++/4.4.1/iostream
    /home/beniamin/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/include/c++/4.4/iostream
    /usr/share/gccxml-0.9/GCC/2.95/iostream
    /usr/include/c++/4.6/iostream
    /usr/include/boost/tr1/tr1/iostream

    So basically, I suppose the one you are looking for is /usr/include/c++/4.6/iostream, so you should in some place include this directory.

    Edit: You should also have installed g++, or simply install build-essential package, which is obligatory for building debian packages. Nevertheless, g++ should have been included in your Ubuntu installation anyway.

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

Sidebar

Related Questions

Yes, I have googled this question and even referred to my textbook (PHP by
Yes, I have seen this question, but I am still finding myself confused: How
Yes, I'm yet another person to as this annoying question... but I'm not convinced
Yes, I know this question has been asked before, but I can't find an
Yes, I know this question has been asked a lot of times, but I
Yes, the only question is whether I'm doing it correct or not. And maybe
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
Yes, I'm aware that this question has already been post, but ... I'm looking
Yes, this sounds like a simple question, and it probably is. But when i
Yes I know Ruby doesn't have pointers, but that's the closest I could get

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.