A Fresh Install of Dev-c++ and just a Hello World program:
In file included from D:/Projects/Test/main.cpp.cpp:1:
D:/Programme/Dev-C++/include/c++/iostream:44:28: bits/c++config.h: No such file or directory
In file included from D:/Programme/Dev-C++/include/c++/ios:44,
from D:/Programme/Dev-C++/include/c++/ostream:45,
from D:/Programme/Dev-C++/include/c++/iostream:45,
from D:/Projects/Test/main.cpp.cpp:1:
D:/Programme/Dev-C++/include/c++/iosfwd:44:28: bits/c++config.h: No such file or directory
In file included from D:/Programme/Dev-C++/include/c++/iosfwd:45,
from D:/Programme/Dev-C++/include/c++/ios:44,
from D:/Programme/Dev-C++/include/c++/ostream:45,
from D:/Programme/Dev-C++/include/c++/iostream:45,
from D:/Projects/Test/main.cpp.cpp:1:
D:/Programme/Dev-C++/include/c++/bits/stringfwd.h:44:28: bits/c++config.h: No such file or directory
In file included from D:/Programme/Dev-C++/include/c++/iosfwd:46,
from D:/Programme/Dev-C++/include/c++/ios:44,
from D:/Programme/Dev-C++/include/c++/ostream:45,
from D:/Programme/Dev-C++/include/c++/iostream:45,
from D:/Projects/Test/main.cpp.cpp:1:
D:/Programme/Dev-C++/include/c++/bits/fpos.h:44:24: bits/c++io.h: No such file or directory
In file included from D:/Programme/Dev-C++/include/c++/bits/fpos.h:45,
from D:/Programme/Dev-C++/include/c++/iosfwd:46,
from D:/Programme/Dev-C++/include/c++/ios:44,
from D:/Programme/Dev-C++/include/c++/ostream:45,
from D:/Programme/Dev-C++/include/c++/iostream:45,
from D:/Projects/Test/main.cpp.cpp:1:
D:/Programme/Dev-C++/include/c++/cwchar:49:28: bits/c++config.h: No such file or directory
In file included from D:/Programme/Dev-C++/include/c++/iosfwd:46,
from D:/Programme/Dev-C++/include/c++/ios:44,
from D:/Programme/Dev-C++/include/c++/ostream:45,
from D:/Programme/Dev-C++/include/c++/iostream:45,
from D:/Projects/Test/main.cpp.cpp:1:
D:/Programme/Dev-C++/include/c++/bits/fpos.h:60: 'streamoff' is used as a type,
but is not defined as a type.
D:/Programme/Dev-C++/include/c++/bits/fpos.h:74: parse error before `__off'
D:/Programme/Dev-C++/include/c++/bits/fpos.h:75: missing ';' before right brace
D:/Programme/Dev-C++/include/c++/bits/fpos.h:77: semicolon missing after
declaration of `std::fpos<_StateT>'
D:/Programme/Dev-C++/include/c++/bits/fpos.h: In constructor
`std::fpos<_StateT>::fpos()':
D:/Programme/Dev-C++/include/c++/bits/fpos.h:72: class `std::fpos<_StateT>'
does not have any field named `_M_off'
D:/Programme/Dev-C++/include/c++/bits/fpos.h: At global scope:
D:/Programme/Dev-C++/include/c++/bits/fpos.h:77: parse error before `(' token
D:/Programme/Dev-C++/include/c++/bits/fpos.h:77: ISO C++ forbids defining types
within return type
D:/Programme/Dev-C++/include/c++/bits/fpos.h:77: syntax error before `(' token
D:/Programme/Dev-C++/include/c++/bits/fpos.h:79: syntax error before `&' token
D:/Programme/Dev-C++/include/c++/bits/fpos.h:82: syntax error before `&' token
D:/Programme/Dev-C++/include/c++/bits/fpos.h:86: syntax error before `operator'
D:/Programme/Dev-C++/include/c++/bits/fpos.h:89: syntax error before `+=' token
D:/Programme/Dev-C++/include/c++/bits/fpos.h:94: syntax error before `operator'
D:/Programme/Dev-C++/include/c++/bits/fpos.h:97: syntax error before `-=' token
D:/Programme/Dev-C++/include/c++/bits/fpos.h:102: parse error before `&' token
D:/Programme/Dev-C++/include/c++/bits/fpos.h:103: non-member function `bool
operator==(...)' cannot have `const' method qualifier
D:/Programme/Dev-C++/include/c++/bits/fpos.h:103: `bool operator==(...)' must
have an argument of class or enumerated type
D:/Programme/Dev-C++/include/c++/bits/fpos.h:103: `bool operator==(...)' must
take exactly two arguments
D:/Programme/Dev-C++/include/c++/bits/fpos.h: In function `bool
operator==(...)':
D:/Programme/Dev-C++/include/c++/bits/fpos.h:103: `_M_off' undeclared (first
use this function)
D:/Programme/Dev-C++/include/c++/bits/fpos.h:103: (Each undeclared identifier
is reported only once for each function it appears in.)
D:/Programme/Dev-C++/include/c++/bits/fpos.h:103: `__pos' undeclared (first use
this function)
D:/Programme/Dev-C++/include/c++/bits/fpos.h: At global scope:
D:/Programme/Dev-C++/include/c++/bits/fpos.h:106: parse error before `&' token
D:/Programme/Dev-C++/include/c++/bits/fpos.h:107: non-member function `bool
operator!=(...)' cannot have `const' method qualifier
D:/Programme/Dev-C++/include/c++/bits/fpos.h:107: `bool operator!=(...)' must
have an argument of class or enumerated type
D:/Programme/Dev-C++/include/c++/bits/fpos.h:107: `bool operator!=(...)' must
take exactly two arguments
D:/Programme/Dev-C++/include/c++/bits/fpos.h:110: parse error before `)' token
D:/Programme/Dev-C++/include/c++/bits/fpos.h:113: `streamoff' was not declared
in this scope
D:/Programme/Dev-C++/include/c++/bits/fpos.h:113: parse error before `)' token
D:/Programme/Dev-C++/include/c++/bits/fpos.h: In function `void
_M_position(...)':
D:/Programme/Dev-C++/include/c++/bits/fpos.h:113: `__off' undeclared (first use
this function)
D:/Programme/Dev-C++/include/c++/bits/fpos.h: At global scope:
D:/Programme/Dev-C++/include/c++/bits/fpos.h:114: parse error before `}' token
D:/Programme/Dev-C++/include/c++/bits/fpos.h:117: syntax error before `;' token
In file included from D:/Programme/Dev-C++/include/c++/ios:46,
from D:/Programme/Dev-C++/include/c++/ostream:45,
from D:/Programme/Dev-C++/include/c++/iostream:45,
from D:/Projects/Test/main.cpp.cpp:1:
D:/Programme/Dev-C++/include/c++/bits/char_traits.h:59: parse error before `;'
token
D:/Programme/Dev-C++/include/c++/bits/char_traits.h:60: parse error before `;'
token
D:/Programme/Dev-C++/include/c++/bits/char_traits.h:113: parse error before `;'
token
D:/Programme/Dev-C++/include/c++/bits/char_traits.h:114: parse error before `;'
token
D:/Programme/Dev-C++/include/c++/bits/char_traits.h: In static member function
`static int std::char_traits<char>::eof()':
D:/Programme/Dev-C++/include/c++/bits/char_traits.h:168: `EOF' undeclared
(first use this function)
In file included from D:/Programme/Dev-C++/include/c++/ios:47,
from D:/Programme/Dev-C++/include/c++/ostream:45,
from D:/Programme/Dev-C++/include/c++/iostream:45,
from D:/Projects/Test/main.cpp.cpp:1:
D:/Programme/Dev-C++/include/c++/cstdio:49:28: bits/c++config.h: No such file or directory
In file included from D:/Programme/Dev-C++/include/c++/ios:48,
from D:/Programme/Dev-C++/include/c++/ostream:45,
from D:/Programme/Dev-C++/include/c++/iostream:45,
from D:/Projects/Test/main.cpp.cpp:1:
D:/Programme/Dev-C++/include/c++/bits/localefwd.h:45:28: bits/c++config.h: No such file or directory
D:/Programme/Dev-C++/include/c++/bits/localefwd.h:46:80: bits/c++locale.h: No such file or directory
In file included from D:/Programme/Dev-C++/include/c++/bits/localefwd.h:48,
from D:/Programme/Dev-C++/include/c++/ios:48,
from D:/Programme/Dev-C++/include/c++/ostream:45,
from D:/Programme/Dev-C++/include/c++/iostream:45,
from D:/Projects/Test/main.cpp.cpp:1:
D:/Programme/Dev-C++/include/c++/cctype:48:28: bits/c++config.h: No such file or directory
In file included from D:/Programme/Dev-C++/include/c++/bits/localefwd.h:49,
from D:/Programme/Dev-C++/include/c++/ios:48,
from D:/Programme/Dev-C++/include/c++/ostream:45,
from D:/Programme/Dev-C++/include/c++/iostream:45,
from D:/Projects/Test/main.cpp.cpp:1:
D:/Programme/Dev-C++/include/c++/string:45:28: bits/c++config.h: No such file or directory
In file included from D:/Programme/Dev-C++/include/c++/memory:54,
from D:/Programme/Dev-C++/include/c++/string:48,
from D:/Programme/Dev-C++/include/c++/bits/localefwd.h:49,
from D:/Programme/Dev-C++/include/c++/ios:48,
from D:/Programme/Dev-C++/include/c++/ostream:45,
from D:/Programme/Dev-C++/include/c++/iostream:45,
from D:/Projects/Test/main.cpp.cpp:1:
D:/Programme/Dev-C++/include/c++/bits/stl_algobase.h:64:28: bits/c++config.h: No such file or directory
In file included from D:/Programme/Dev-C++/include/c++/bits/stl_algobase.h:67,
from D:/Programme/Dev-C++/include/c++/memory:54,
from D:/Programme/Dev-C++/include/c++/string:48,
from D:/Programme/Dev-C++/include/c++/bits/localefwd.h:49,
from D:/Programme/Dev-C++/include/c++/ios:48,
from D:/Programme/Dev-C++/include/c++/ostream:45,
from D:/Programme/Dev-C++/include/c++/iostream:45,
from D:/Projects/Test/main.cpp.cpp:1:
D:/Programme/Dev-C++/include/c++/cstdlib:49:28: bits/c++config.h: No such file or directory
In file included from D:/Programme/Dev-C++/include/c++/bits/stl_algobase.h:72,
from D:/Programme/Dev-C++/include/c++/memory:54,
from D:/Programme/Dev-C++/include/c++/string:48,
from D:/Programme/Dev-C++/include/c++/bits/localefwd.h:49,
from D:/Programme/Dev-C++/include/c++/ios:48,
from D:/Programme/Dev-C++/include/c++/ostream:45,
from D:/Programme/Dev-C++/include/c++/iostream:45,
from D:/Projects/Test/main.cpp.cpp:1:
D:/Programme/Dev-C++/include/c++/bits/type_traits.h:54:28: bits/c++config.h: No such file or directory
In file included from D:/Programme/Dev-C++/include/c++/bits/stl_iterator_base_funcs.h:68,
from D:/Programme/Dev-C++/include/c++/bits/stl_algobase.h:74,
from D:/Programme/Dev-C++/include/c++/memory:54,
from D:/Programme/Dev-C++/include/c++/string:48,
from D:/Programme/Dev-C++/include/c++/bits/localefwd.h:49,
from D:/Programme/Dev-C++/include/c++/ios:48,
from D:/Programme/Dev-C++/include/c++/ostream:45,
from D:/Programme/Dev-C++/include/c++/iostream:45,
from D:/Projects/Test/main.cpp.cpp:1:
D:/Programme/Dev-C++/include/c++/bits/concept_check.h:40:28: bits/c++config.h: No such file or directory
In file included from D:/Programme/Dev-C++/include/c++/bits/stl_alloc.h:86,
from D:/Programme/Dev-C++/include/c++/memory:55,
from D:/Programme/Dev-C++/include/c++/string:48,
from D:/Programme/Dev-C++/include/c++/bits/localefwd.h:49,
from D:/Programme/Dev-C++/include/c++/ios:48,
from D:/Programme/Dev-C++/include/c++/ostream:45,
from D:/Programme/Dev-C++/include/c++/iostream:45,
from D:/Projects/Test/main.cpp.cpp:1:
D:/Programme/Dev-C++/include/c++/bits/stl_threads.h:52:23: bits/gthr.h: No such file or directory
In file included from D:/Programme/Dev-C++/include/c++/bits/stl_alloc.h:86,
from D:/Programme/Dev-C++/include/c++/memory:55,
from D:/Programme/Dev-C++/include/c++/string:48,
from D:/Programme/Dev-C++/include/c++/bits/localefwd.h:49,
from D:/Programme/Dev-C++/include/c++/ios:48,
from D:/Programme/Dev-C++/include/c++/ostream:45,
from D:/Programme/Dev-C++/include/c++/iostream:45,
from D:/Projects/Test/main.cpp.cpp:1:
D:/Programme/Dev-C++/include/c++/bits/stl_threads.h: At global scope:
D:/Programme/Dev-C++/include/c++/bits/stl_threads.h:69: '__gthread_mutex_t' is
used as a type, but is not defined as a type.
D:/Programme/Dev-C++/include/c++/bits/stl_threads.h:79:2: #error __GTHREAD_MUTEX_INIT or __GTHREAD_MUTEX_INIT_FUNCTION should be defined by gthr.h abstraction layer, report problem to libstdc++@gcc.gnu.org.
D:/Programme/Dev-C++/include/c++/bits/stl_threads.h: In member function `void
std::_Refcount_Base::_M_incr()':
D:/Programme/Dev-C++/include/c++/bits/stl_threads.h:86: `_M_ref_count_lock'
undeclared (first use this function)
D:/Programme/Dev-C++/include/c++/bits/stl_threads.h:86: `__gthread_mutex_lock'
undeclared (first use this function)
D:/Programme/Dev-C++/include/c++/bits/stl_threads.h:88: `__gthread_mutex_unlock
' undeclared (first use this function)
D:/Programme/Dev-C++/include/c++/bits/stl_threads.h: At global scope:
D:/Programme/Dev-C++/include/c++/bits/stl_threads.h:158: '__gthread_mutex_t' is
used as a type, but is not defined as a type.
D:/Programme/Dev-C++/include/c++/bits/stl_threads.h: In member function `void
std::_STL_mutex_lock::_M_acquire_lock()':
D:/Programme/Dev-C++/include/c++/bits/stl_threads.h:192: `_M_lock' undeclared
(first use this function)
In file included from D:/Programme/Dev-C++/include/c++/memory:55,
from D:/Programme/Dev-C++/include/c++/string:48,
from D:/Programme/Dev-C++/include/c++/bits/localefwd.h:49,
from D:/Programme/Dev-C++/include/c++/ios:48,
from D:/Programme/Dev-C++/include/c++/ostream:45,
from D:/Programme/Dev-C++/include/c++/iostream:45,
from D:/Projects/Test/main.cpp.cpp:1:
D:/Programme/Dev-C++/include/c++/bits/stl_alloc.h: At global scope:
D:/Programme/Dev-C++/include/c++/bits/stl_alloc.h:575: syntax error before `;'
token
D:/Programme/Dev-C++/include/c++/bits/stl_alloc.h:575: confused by earlier errors, bailing out
Execution terminated
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Arrgg... not again! :))
1. use "using namespace std;" or "std::cout"
2. don't use headerfile extensions (.h)
3. include the dir where c++config.h resides to your include path (normally something like C:\MinGW32\include\c++\3.2\mingw32\bits)
Should work then...
upcase
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
A Fresh Install of Dev-c++ and just a Hello World program:
In file included from D:/Projects/Test/main.cpp.cpp:1:
D:/Programme/Dev-C++/include/c++/iostream:44:28: bits/c++config.h: No such file or directory
In file included from D:/Programme/Dev-C++/include/c++/ios:44,
from D:/Programme/Dev-C++/include/c++/ostream:45,
from D:/Programme/Dev-C++/include/c++/iostream:45,
from D:/Projects/Test/main.cpp.cpp:1:
D:/Programme/Dev-C++/include/c++/iosfwd:44:28: bits/c++config.h: No such file or directory
In file included from D:/Programme/Dev-C++/include/c++/iosfwd:45,
from D:/Programme/Dev-C++/include/c++/ios:44,
from D:/Programme/Dev-C++/include/c++/ostream:45,
from D:/Programme/Dev-C++/include/c++/iostream:45,
from D:/Projects/Test/main.cpp.cpp:1:
D:/Programme/Dev-C++/include/c++/bits/stringfwd.h:44:28: bits/c++config.h: No such file or directory
In file included from D:/Programme/Dev-C++/include/c++/iosfwd:46,
from D:/Programme/Dev-C++/include/c++/ios:44,
from D:/Programme/Dev-C++/include/c++/ostream:45,
from D:/Programme/Dev-C++/include/c++/iostream:45,
from D:/Projects/Test/main.cpp.cpp:1:
D:/Programme/Dev-C++/include/c++/bits/fpos.h:44:24: bits/c++io.h: No such file or directory
In file included from D:/Programme/Dev-C++/include/c++/bits/fpos.h:45,
from D:/Programme/Dev-C++/include/c++/iosfwd:46,
from D:/Programme/Dev-C++/include/c++/ios:44,
from D:/Programme/Dev-C++/include/c++/ostream:45,
from D:/Programme/Dev-C++/include/c++/iostream:45,
from D:/Projects/Test/main.cpp.cpp:1:
D:/Programme/Dev-C++/include/c++/cwchar:49:28: bits/c++config.h: No such file or directory
In file included from D:/Programme/Dev-C++/include/c++/iosfwd:46,
from D:/Programme/Dev-C++/include/c++/ios:44,
from D:/Programme/Dev-C++/include/c++/ostream:45,
from D:/Programme/Dev-C++/include/c++/iostream:45,
from D:/Projects/Test/main.cpp.cpp:1:
D:/Programme/Dev-C++/include/c++/bits/fpos.h:60: 'streamoff' is used as a type,
but is not defined as a type.
D:/Programme/Dev-C++/include/c++/bits/fpos.h:74: parse error before `__off'
D:/Programme/Dev-C++/include/c++/bits/fpos.h:75: missing ';' before right brace
D:/Programme/Dev-C++/include/c++/bits/fpos.h:77: semicolon missing after
declaration of `std::fpos<_StateT>'
D:/Programme/Dev-C++/include/c++/bits/fpos.h: In constructor
`std::fpos<_StateT>::fpos()':
D:/Programme/Dev-C++/include/c++/bits/fpos.h:72: class `std::fpos<_StateT>'
does not have any field named `_M_off'
D:/Programme/Dev-C++/include/c++/bits/fpos.h: At global scope:
D:/Programme/Dev-C++/include/c++/bits/fpos.h:77: parse error before `(' token
D:/Programme/Dev-C++/include/c++/bits/fpos.h:77: ISO C++ forbids defining types
within return type
D:/Programme/Dev-C++/include/c++/bits/fpos.h:77: syntax error before `(' token
D:/Programme/Dev-C++/include/c++/bits/fpos.h:79: syntax error before `&' token
D:/Programme/Dev-C++/include/c++/bits/fpos.h:82: syntax error before `&' token
D:/Programme/Dev-C++/include/c++/bits/fpos.h:86: syntax error before `operator'
D:/Programme/Dev-C++/include/c++/bits/fpos.h:89: syntax error before `+=' token
D:/Programme/Dev-C++/include/c++/bits/fpos.h:94: syntax error before `operator'
D:/Programme/Dev-C++/include/c++/bits/fpos.h:97: syntax error before `-=' token
D:/Programme/Dev-C++/include/c++/bits/fpos.h:102: parse error before `&' token
D:/Programme/Dev-C++/include/c++/bits/fpos.h:103: non-member function `bool
operator==(...)' cannot have `const' method qualifier
D:/Programme/Dev-C++/include/c++/bits/fpos.h:103: `bool operator==(...)' must
have an argument of class or enumerated type
D:/Programme/Dev-C++/include/c++/bits/fpos.h:103: `bool operator==(...)' must
take exactly two arguments
D:/Programme/Dev-C++/include/c++/bits/fpos.h: In function `bool
operator==(...)':
D:/Programme/Dev-C++/include/c++/bits/fpos.h:103: `_M_off' undeclared (first
use this function)
D:/Programme/Dev-C++/include/c++/bits/fpos.h:103: (Each undeclared identifier
is reported only once for each function it appears in.)
D:/Programme/Dev-C++/include/c++/bits/fpos.h:103: `__pos' undeclared (first use
this function)
D:/Programme/Dev-C++/include/c++/bits/fpos.h: At global scope:
D:/Programme/Dev-C++/include/c++/bits/fpos.h:106: parse error before `&' token
D:/Programme/Dev-C++/include/c++/bits/fpos.h:107: non-member function `bool
operator!=(...)' cannot have `const' method qualifier
D:/Programme/Dev-C++/include/c++/bits/fpos.h:107: `bool operator!=(...)' must
have an argument of class or enumerated type
D:/Programme/Dev-C++/include/c++/bits/fpos.h:107: `bool operator!=(...)' must
take exactly two arguments
D:/Programme/Dev-C++/include/c++/bits/fpos.h:110: parse error before `)' token
D:/Programme/Dev-C++/include/c++/bits/fpos.h:113: `streamoff' was not declared
in this scope
D:/Programme/Dev-C++/include/c++/bits/fpos.h:113: parse error before `)' token
D:/Programme/Dev-C++/include/c++/bits/fpos.h: In function `void
_M_position(...)':
D:/Programme/Dev-C++/include/c++/bits/fpos.h:113: `__off' undeclared (first use
this function)
D:/Programme/Dev-C++/include/c++/bits/fpos.h: At global scope:
D:/Programme/Dev-C++/include/c++/bits/fpos.h:114: parse error before `}' token
D:/Programme/Dev-C++/include/c++/bits/fpos.h:117: syntax error before `;' token
In file included from D:/Programme/Dev-C++/include/c++/ios:46,
from D:/Programme/Dev-C++/include/c++/ostream:45,
from D:/Programme/Dev-C++/include/c++/iostream:45,
from D:/Projects/Test/main.cpp.cpp:1:
D:/Programme/Dev-C++/include/c++/bits/char_traits.h:59: parse error before `;'
token
D:/Programme/Dev-C++/include/c++/bits/char_traits.h:60: parse error before `;'
token
D:/Programme/Dev-C++/include/c++/bits/char_traits.h:113: parse error before `;'
token
D:/Programme/Dev-C++/include/c++/bits/char_traits.h:114: parse error before `;'
token
D:/Programme/Dev-C++/include/c++/bits/char_traits.h: In static member function
`static int std::char_traits<char>::eof()':
D:/Programme/Dev-C++/include/c++/bits/char_traits.h:168: `EOF' undeclared
(first use this function)
In file included from D:/Programme/Dev-C++/include/c++/ios:47,
from D:/Programme/Dev-C++/include/c++/ostream:45,
from D:/Programme/Dev-C++/include/c++/iostream:45,
from D:/Projects/Test/main.cpp.cpp:1:
D:/Programme/Dev-C++/include/c++/cstdio:49:28: bits/c++config.h: No such file or directory
In file included from D:/Programme/Dev-C++/include/c++/ios:48,
from D:/Programme/Dev-C++/include/c++/ostream:45,
from D:/Programme/Dev-C++/include/c++/iostream:45,
from D:/Projects/Test/main.cpp.cpp:1:
D:/Programme/Dev-C++/include/c++/bits/localefwd.h:45:28: bits/c++config.h: No such file or directory
D:/Programme/Dev-C++/include/c++/bits/localefwd.h:46:80: bits/c++locale.h: No such file or directory
In file included from D:/Programme/Dev-C++/include/c++/bits/localefwd.h:48,
from D:/Programme/Dev-C++/include/c++/ios:48,
from D:/Programme/Dev-C++/include/c++/ostream:45,
from D:/Programme/Dev-C++/include/c++/iostream:45,
from D:/Projects/Test/main.cpp.cpp:1:
D:/Programme/Dev-C++/include/c++/cctype:48:28: bits/c++config.h: No such file or directory
In file included from D:/Programme/Dev-C++/include/c++/bits/localefwd.h:49,
from D:/Programme/Dev-C++/include/c++/ios:48,
from D:/Programme/Dev-C++/include/c++/ostream:45,
from D:/Programme/Dev-C++/include/c++/iostream:45,
from D:/Projects/Test/main.cpp.cpp:1:
D:/Programme/Dev-C++/include/c++/string:45:28: bits/c++config.h: No such file or directory
In file included from D:/Programme/Dev-C++/include/c++/memory:54,
from D:/Programme/Dev-C++/include/c++/string:48,
from D:/Programme/Dev-C++/include/c++/bits/localefwd.h:49,
from D:/Programme/Dev-C++/include/c++/ios:48,
from D:/Programme/Dev-C++/include/c++/ostream:45,
from D:/Programme/Dev-C++/include/c++/iostream:45,
from D:/Projects/Test/main.cpp.cpp:1:
D:/Programme/Dev-C++/include/c++/bits/stl_algobase.h:64:28: bits/c++config.h: No such file or directory
In file included from D:/Programme/Dev-C++/include/c++/bits/stl_algobase.h:67,
from D:/Programme/Dev-C++/include/c++/memory:54,
from D:/Programme/Dev-C++/include/c++/string:48,
from D:/Programme/Dev-C++/include/c++/bits/localefwd.h:49,
from D:/Programme/Dev-C++/include/c++/ios:48,
from D:/Programme/Dev-C++/include/c++/ostream:45,
from D:/Programme/Dev-C++/include/c++/iostream:45,
from D:/Projects/Test/main.cpp.cpp:1:
D:/Programme/Dev-C++/include/c++/cstdlib:49:28: bits/c++config.h: No such file or directory
In file included from D:/Programme/Dev-C++/include/c++/bits/stl_algobase.h:72,
from D:/Programme/Dev-C++/include/c++/memory:54,
from D:/Programme/Dev-C++/include/c++/string:48,
from D:/Programme/Dev-C++/include/c++/bits/localefwd.h:49,
from D:/Programme/Dev-C++/include/c++/ios:48,
from D:/Programme/Dev-C++/include/c++/ostream:45,
from D:/Programme/Dev-C++/include/c++/iostream:45,
from D:/Projects/Test/main.cpp.cpp:1:
D:/Programme/Dev-C++/include/c++/bits/type_traits.h:54:28: bits/c++config.h: No such file or directory
In file included from D:/Programme/Dev-C++/include/c++/bits/stl_iterator_base_funcs.h:68,
from D:/Programme/Dev-C++/include/c++/bits/stl_algobase.h:74,
from D:/Programme/Dev-C++/include/c++/memory:54,
from D:/Programme/Dev-C++/include/c++/string:48,
from D:/Programme/Dev-C++/include/c++/bits/localefwd.h:49,
from D:/Programme/Dev-C++/include/c++/ios:48,
from D:/Programme/Dev-C++/include/c++/ostream:45,
from D:/Programme/Dev-C++/include/c++/iostream:45,
from D:/Projects/Test/main.cpp.cpp:1:
D:/Programme/Dev-C++/include/c++/bits/concept_check.h:40:28: bits/c++config.h: No such file or directory
In file included from D:/Programme/Dev-C++/include/c++/bits/stl_alloc.h:86,
from D:/Programme/Dev-C++/include/c++/memory:55,
from D:/Programme/Dev-C++/include/c++/string:48,
from D:/Programme/Dev-C++/include/c++/bits/localefwd.h:49,
from D:/Programme/Dev-C++/include/c++/ios:48,
from D:/Programme/Dev-C++/include/c++/ostream:45,
from D:/Programme/Dev-C++/include/c++/iostream:45,
from D:/Projects/Test/main.cpp.cpp:1:
D:/Programme/Dev-C++/include/c++/bits/stl_threads.h:52:23: bits/gthr.h: No such file or directory
In file included from D:/Programme/Dev-C++/include/c++/bits/stl_alloc.h:86,
from D:/Programme/Dev-C++/include/c++/memory:55,
from D:/Programme/Dev-C++/include/c++/string:48,
from D:/Programme/Dev-C++/include/c++/bits/localefwd.h:49,
from D:/Programme/Dev-C++/include/c++/ios:48,
from D:/Programme/Dev-C++/include/c++/ostream:45,
from D:/Programme/Dev-C++/include/c++/iostream:45,
from D:/Projects/Test/main.cpp.cpp:1:
D:/Programme/Dev-C++/include/c++/bits/stl_threads.h: At global scope:
D:/Programme/Dev-C++/include/c++/bits/stl_threads.h:69: '__gthread_mutex_t' is
used as a type, but is not defined as a type.
D:/Programme/Dev-C++/include/c++/bits/stl_threads.h:79:2: #error __GTHREAD_MUTEX_INIT or __GTHREAD_MUTEX_INIT_FUNCTION should be defined by gthr.h abstraction layer, report problem to libstdc++@gcc.gnu.org.
D:/Programme/Dev-C++/include/c++/bits/stl_threads.h: In member function `void
std::_Refcount_Base::_M_incr()':
D:/Programme/Dev-C++/include/c++/bits/stl_threads.h:86: `_M_ref_count_lock'
undeclared (first use this function)
D:/Programme/Dev-C++/include/c++/bits/stl_threads.h:86: `__gthread_mutex_lock'
undeclared (first use this function)
D:/Programme/Dev-C++/include/c++/bits/stl_threads.h:88: `__gthread_mutex_unlock
' undeclared (first use this function)
D:/Programme/Dev-C++/include/c++/bits/stl_threads.h: At global scope:
D:/Programme/Dev-C++/include/c++/bits/stl_threads.h:158: '__gthread_mutex_t' is
used as a type, but is not defined as a type.
D:/Programme/Dev-C++/include/c++/bits/stl_threads.h: In member function `void
std::_STL_mutex_lock::_M_acquire_lock()':
D:/Programme/Dev-C++/include/c++/bits/stl_threads.h:192: `_M_lock' undeclared
(first use this function)
In file included from D:/Programme/Dev-C++/include/c++/memory:55,
from D:/Programme/Dev-C++/include/c++/string:48,
from D:/Programme/Dev-C++/include/c++/bits/localefwd.h:49,
from D:/Programme/Dev-C++/include/c++/ios:48,
from D:/Programme/Dev-C++/include/c++/ostream:45,
from D:/Programme/Dev-C++/include/c++/iostream:45,
from D:/Projects/Test/main.cpp.cpp:1:
D:/Programme/Dev-C++/include/c++/bits/stl_alloc.h: At global scope:
D:/Programme/Dev-C++/include/c++/bits/stl_alloc.h:575: syntax error before `;'
token
D:/Programme/Dev-C++/include/c++/bits/stl_alloc.h:575: confused by earlier errors, bailing out
Execution terminated
This is a common problem, search the forum for 4.9.7.0 - you'll find more than one solution.
Derek
Arrgg... not again! :))
1. use "using namespace std;" or "std::cout"
2. don't use headerfile extensions (.h)
3. include the dir where c++config.h resides to your include path (normally something like C:\MinGW32\include\c++\3.2\mingw32\bits)
Should work then...
upcase