Curtis2point0
Curtis2point0

Reputation: 30

C++ Eclipse Mac Hello World

I am using Lion, Mac OX X 10.7.5 and Eclipse Juno to try and learn to program using C++. I created a new project using the hello world template. When I tried running the hello world program I got 3 errors:

Program "make" not found in PATH
Program "gcc" not found in PATH
Program "g++" not found in PATH

I have Xcode downloaded also. I selected the toolchain MACOSX GCC.

Upvotes: 0

Views: 1179

Answers (1)

meyumer
meyumer

Reputation: 5064

Once you downloaded Xcode, you also need to download the command line tools package from within Xcode which will install the necessary make program and clang compiler.

To download it go to Xcode >> Preferences >> 'Downloads Tab' and install Command line tools.

Upvotes: 2

Related Questions