Can't compile anything

This is a discussion on Can't compile anything within the C++ Programming forums, part of the General Programming Boards category; Hi,
My compiler (Dev C++) spits out about 500 errors followed by "There must be something terribly wrong with your ...

Can't compile anything

Hi,
My compiler (Dev C++) spits out about 500 errors followed by "There must be something terribly wrong with your code. Please fix it." when I try to compile anything. Even one of the sample programs that came with Dev C++ or a simple hello world program.
Does anyone know what is wrong?
Any help would be greatly appreciated.
Thanks.
(The compile log is ridiculously long, but if it helps I will post it.)

A small portion of the compile log would be helpful. Also, you can just try reinstalling it, that sometimes works. You can also try visual c++ 2008 express editions. Dev-c++ tends to give some hard to identify error codes especially if your a begginer.

Here is part of the compile log. I just sorta cut it off at a random place.

Code:

Compiler: Default compiler
Executing g++.exe...
g++.exe "C:\Documents and Settings\Adam\Desktop\Creature Creator\test.cpp" -o "C:\Documents and Settings\Adam\Desktop\Creature Creator\test.exe" -g3 -I"C:\Documents and Settings\Adam\My Documents\Programming\Dev C++\Dev-Cpp\include\c++" -I"C:\Documents and Settings\Adam\My Documents\Programming\Dev C++\Dev-Cpp\include\c++\mingw32" -I"C:\Documents and Settings\Adam\My Documents\Programming\Dev C++\Dev-Cpp\include\c++\backward" -I"C:\Documents and Settings\Adam\My Documents\Programming\Dev C++\Dev-Cpp\include" -L"C:\Documents and Settings\Adam\My Documents\Programming\Dev C++\Dev-Cpp\lib" -g3
In file included from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/cstdio:52,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/mingw32/bits/c++io.h:35,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/iosfwd:46,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/ios:44,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/ostream:45,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/iostream:45,
from C:/Documents and Settings/Adam/Desktop/Creature Creator/test.cpp:1:
C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/stdio.h:35:20: _mingw.h: No such file or directory
In file included from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/mingw32/bits/gthr-default.h:67,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/mingw32/bits/gthr.h:98,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/mingw32/bits/c++io.h:37,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/iosfwd:46,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/ios:44,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/ostream:45,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/iostream:45,
from C:/Documents and Settings/Adam/Desktop/Creature Creator/test.cpp:1:
C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/errno.h:31:20: _mingw.h: No such file or directory
In file included from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/mingw32/bits/gthr.h:98,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/mingw32/bits/c++io.h:37,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/iosfwd:46,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/ios:44,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/ostream:45,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/iostream:45,
from C:/Documents and Settings/Adam/Desktop/Creature Creator/test.cpp:1:
C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/mingw32/bits/gthr-default.h:69:20: _mingw.h: No such file or directory
In file included from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/winnt.h:37,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/windef.h:246,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/windows.h:48,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/mingw32/bits/gthr-default.h:462,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/mingw32/bits/gthr.h:98,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/mingw32/bits/c++io.h:37,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/iosfwd:46,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/ios:44,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/ostream:45,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/iostream:45,
from C:/Documents and Settings/Adam/Desktop/Creature Creator/test.cpp:1:
C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/string.h:31:20: _mingw.h: No such file or directory
In file included from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/windef.h:246,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/windows.h:48,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/mingw32/bits/gthr-default.h:462,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/mingw32/bits/gthr.h:98,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/mingw32/bits/c++io.h:37,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/iosfwd:46,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/ios:44,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/ostream:45,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/iostream:45,
from C:/Documents and Settings/Adam/Desktop/Creature Creator/test.cpp:1:
C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/winnt.h:163:21: basetsd.h: No such file or directory
In file included from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/windef.h:246,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/windows.h:48,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/mingw32/bits/gthr-default.h:462,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/mingw32/bits/gthr.h:98,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/mingw32/bits/c++io.h:37,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/iosfwd:46,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/ios:44,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/ostream:45,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/iostream:45,
from C:/Documents and Settings/Adam/Desktop/Creature Creator/test.cpp:1:
C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/winnt.h:1941: '
SIZE_T' is used as a type, but is not defined as a type.
C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/winnt.h:1942: '
SIZE_T' is used as a type, but is not defined as a type.
C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/winnt.h:1943: '
SIZE_T' is used as a type, but is not defined as a type.
C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/winnt.h:1944: '
SIZE_T' is used as a type, but is not defined as a type.
C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/winnt.h:1945: '
SIZE_T' is used as a type, but is not defined as a type.
In file included from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/windows.h:48,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/mingw32/bits/gthr-default.h:462,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/mingw32/bits/gthr.h:98,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/mingw32/bits/c++io.h:37,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/bits/fpos.h:44,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/iosfwd:46,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/ios:44,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/ostream:45,
from C:/Documents and Settings/Adam/My Documents/Programming/Dev C++/Dev-Cpp/include/c++/iostream:45,

If you don't have _mingw.h or basetsd.h, you're in trouble. I'm guessing you got the one that says "executable only", instead of the one that says "with Mingw/GCC"? And if you meant to do that (because you already have _mingw installed), I'm guessing you didn't set the path correctly.