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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T06:07:34+00:00 2026-06-04T06:07:34+00:00

I am a college undergraduate trying to learn C++ programming on my Macbook. It

  • 0

I am a college undergraduate trying to learn C++ programming on my Macbook. It is installed with Mac OSX 10.7.3.

I have been trying to build the “hello world” project on Eclipse Helios, but after I clicked on the build project button, it keeps telling me “cannot run program ‘make : unknow reason”.

I noticed this post but it seems to be for the Windows OS instead of MAC OS, and I don’t quite follow the instructions in it either (sorry I don’t have any familiarity with programming…). The description for PATH variable is “not available” and I don’t know if this is a problem. I’m also confused about what to put in the “Name” slot.

enter image description here

Edit:
Now after some trials I have “make” in my PATH. (i.e. the command line gives the information of the make after I input “make –version”) and my PATH is set to

/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/texbin

However the same problem still persists. Can anybody please help? Thank you!!

  • 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-04T06:07:36+00:00Added an answer on June 4, 2026 at 6:07 am

    EDIT: Undeleted this answer as it turned out to be correct.

    Yes, I’d say that $PATH was the problem.

    Your system default version of $PATH should be sufficient and if not then set it correctly in your .profile or .bash_profile. You’ll need to logout and back in for these changes to take effect. Doing this will mean that you can compile from the command line without going into eclipse, which is something you’ll want to do at some point.

    Now simply configure eclipse to avoid setting any build variables and all should be well. Under Window > Preferences > C/C++ > Build > Build Variables, the list should be empty:

    enter image description here

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

Sidebar

Related Questions

Based on a college-project I'm trying to realize a relatively simple game (Poker) where
I recently redesigned my college newspaper's website and have been doing everything I can
I've studied C++ as a college course. And I have been working on it
I am a college student slightly new to web programming and lately I have
I am college student (computer science) and have just started a C# programming class.
For a college project for my course on Introduction to Programming, I decided to
I have a college project based on java swing. I wanted to use windowbuilder
I am doing college project in winform, mysql ,c#. for that I have created
Hi Im doing a project for college and have a JTable in my GUI.
When interviewing college coops/interns or recent graduates it helps to have a Java programming

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.