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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T09:32:50+00:00 2026-06-18T09:32:50+00:00

I am running Ubuntu 64bit version, and downloaded the latest 64bit Eclipse. Installed g++

  • 0

I am running Ubuntu 64bit version, and downloaded the latest 64bit Eclipse.
Installed g++ along with build-essential. Tested g++ to make sure it works from terminal, and it works fine.

alex@ubuntu:~/Desktop$ g++ test.cpp -o test
alex@ubuntu:~/Desktop$ ./test
Hello World!alex@ubuntu:~/Desktop$ 

However, trying to build simple C++ Hello Word project(one of the default projects that comes with Eclipse), I am getting error.

Description Resource    Path    Location    Type
Program "g++" not found in PATH         Preferences, C++/Build/Settings/Discovery, [CDT GCC Builtin Compiler Settings] options  C/C++ Scanner Discovery Problem

I have added Environment variable named g++ with value /usr/bin/g++ and the above error went away, however, now I am getting unresolved errors, though project compiles and in the Console shows !!!Hello World!!!

Description Resource    Path    Location    Type
Symbol 'endl' could not be resolved test_hello.cpp  /test_hello/src line 13 Semantic Error
Symbol 'cout' could not be resolved test_hello.cpp  /test_hello/src line 13 Semantic Error
Symbol 'std' could not be resolved  test_hello.cpp  /test_hello/src line 10 Semantic Error

Have I correctly entered Environmental variable ?? How can I get fix the “unresolved” error ?? Thanks !

  • 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-18T09:32:51+00:00Added an answer on June 18, 2026 at 9:32 am

    When compiling there are two important things to consider:
    1.) Is my path up-to-date with executables?
    2.) Is my library path correct?

    It appears you satisfy 1.) but not 2.)

    The unresolved symbol error means that Eclipse cannot find your library via LD_LIBRARY_PATH or some other medium. It’s attempting to locate the standard compiled C++ library.

    How did you install g++?

    Kindly do this and post the results:

    Project > Properties > C/C++ Build > Environment

    If everything there appears nominal, you can try

    /sbin/ldconfig

    which should hopefully re-parse your system library paths and might update your environment.

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

Sidebar

Related Questions

I'm running Ubuntu 64-bit version 11.04, with Eclipse Linux 64-bit edition. The Android SDK
I'm running Ubuntu 11.04 64-bit. I have installed OpenMPI. I'm trying to build the
I'm running Ubuntu 11.10 and GNU Screen version "4.00.03jw4", and I'm trying to use
I'm running Ubuntu 11.10 and installed Ruby 1.9 like this: $ sudo apt-get install
I'm running ubuntu, 64bit. I have this minimal test package that i made to
I'm running ubuntu, 64bit. I have this minimal test package that i made to
I am on Ubuntu x64 bit running: java version 1.6.0_18 OpenJDK Runtime Environment (IcedTea6
System information: I am running 64bit Ubuntu 10.10 on a 2 month old laptop.
I'm running on Ubuntu 12.10 64bit. I am trying to debug a simple assembly
I am running Ubuntu (64Bit) with Apache 2.2.17, Passenger 3.0.11, Ruby 1.9.3 and Rails

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.