Missing Eclipse File?

Alright so I'm very new at programming and am taking a beginner class this summer and would like to get a jump start into it. I downloaded Eclipse C++ along with the JDK 8,and the MinGW. I'm not quite sure if I did the Install of the MinGW correct. I got lost when it came to the include a PATH part of the MinGW.

Anyway this is the error I get when I run a simple program like Hello World. I save it, build it, and then run it. I couldn't find anywhere how to fix it or what I did wrong so far. I'm on windows 8 64 bit



C:\Users\Cody\workspace\Hello World\Debug/../src/Hello World.cpp:12: multiple definition of `main'
src\Hello.o:C:\Users\Cody\workspace\Hello World\Debug/../src/Hello.cpp:12: first defined here
collect2.exe: error: ld returned 1 exit status

23:58:33 Build Finished (took 484ms)
Last edited on
Topic archived. No new replies allowed.