New project in eclipse

I have just created a new Hello World project in Eclipse.
When I try to run the default helloworld program I get these 4 errors:
Description Resource Path Location Type
Program "g++" not found in PATH Zululami Project Properties, C++ Preprocessor Include.../Providers, [CDT Cross GCC Built-in Compiler Settings] options C/C++ Scanner Discovery Problem
Symbol 'cout' could not be resolved Zululami.cpp /Zululami/src line 13 Semantic Error
Symbol 'endl' could not be resolved Zululami.cpp /Zululami/src line 13 Semantic Error
Symbol 'std' could not be resolved Zululami.cpp /Zululami/src line 10 Semantic Error

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  //============================================================================
// Name        : Zululami.cpp
// Author      : Martin
// Version     :
// Copyright   : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================

#include <iostream>
using namespace std;

int main() {
	cout << "!!!Hello World!!!" << endl; // prints !!!Hello World!!!
	return 0;
}

Please help me get started using eclipse
if you have installed your compiler and you have this problem do this:

press "Reset defaults" button everywhere I could find it in Eclipse settings.

if not install MinGW for windows or gcc,g++ for Linux
I have now installed MinGW for windows.
I am using windows 8

now I get only one error:

11:43:00 **** Build of configuration Debug for project Zululami ****
make all
'Building file: ../src/Zululami.cpp'
'Invoking: Cross G++ Compiler'
g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/Zululami.d" -MT"src/Zululami.o" -o "src/Zululami.o" "../src/Zululami.cpp"
'g++' is not recognized as an internal or external command,
operable program or batch file.
make: *** [src/Zululami.o] Error 1

11:43:02 Build Failed. 1 errors, 0 warnings. (took 1s.673ms)

Try to set MinGW to your system path.
Thanks I got it working eventually
Topic archived. No new replies allowed.