I've just installed Eclipse Indigo 3.7.2 on my PC with Windows 8, but it don't want to compile. I also installed CDT 8.0.2.
When i try to compile my file AccountTest.cpp it gets me this error:
**** Rebuild of configuration Debug for project Homework1 ****
**** Internal Builder is used for build ****
cl /c /EHs /MD /Zi /nologo /FoAccountTest.obj ..\AccountTest.cpp
Internal Builder: Cannot run program "cl": Launching failed
Error: Program "cl" is not found in PATH
PATH=[C:/Program Files/Java/jre7/bin/client;C:/Program Files/Java/jre7/bin;C:/Program Files/Java/jre7/lib/i386;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\MinGw\lib;c:\MinGw\bin;;C:\eclipse;]
Build error occurred, build is stopped
Time consumed: 139 ms.
I've already set the environment variable "Path", adding a semicolon and typing "C:\MinGw\lib;c:\MinGw\bin;".
I'm using, as you can see, a MinGW C++ compiler.
Eclipse gives me also an error when I include whatever library. For example, when I include <iostream> it says to me "Unresolved inclusion" and so Eclipse cannot resolve any cout or cin operation. I'm sure that this depends by this error.