[Dev-C++] Devc++ 5 beta 7 ver. 4.9.7.1
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: rami h. <ram...@ya...> - 2003-01-02 22:29:14
|
Hi
I have just installed the Devc++ 5 beta 7
version4.9.7.1 on a windows Me platform.
My window applications work fine but any attemot to
compile the simplest console application results in
massive error messages.I need help,please.
Here's an example:
CONSOLE APPLICATION
#include <iostream>
#include <stdlib.h>
int main(int argc, char *argv[])
{
cout<< "hello";
system("PAUSE");
return 0;
}
The above program is a console application.when I
compiled I receive the errors below,that I copied from
the compiler log.
COMPILER LOG
Compiler: Default compiler
Building Makefile: "C:\Dev-Cpp\projects\Makefile.win"
Executing make...
make.exe -f "C:\Dev-Cpp\projects\Makefile.win" all
g++.exe -c main11.cpp -o main11.o
-I"C:/DEV-CPP/include/c++" -I"C:/DEV-CPP/include"
In file included from main11.cpp:1:
C:/DEV-CPP/include/c++/iostream:44:28:
bits/c++config.h: No such file or directory
In file included from C:/DEV-CPP/include/c++/ios:44,
from
C:/DEV-CPP/include/c++/ostream:45,
from
C:/DEV-CPP/include/c++/iostream:45,
from main11.cpp:1:
C:/DEV-CPP/include/c++/iosfwd:44:28: bits/c++config.h:
No such file or directory
In file included from
C:/DEV-CPP/include/c++/iosfwd:45,
from C:/DEV-CPP/include/c++/ios:44,
from
C:/DEV-CPP/include/c++/ostream:45,
from
C:/DEV-CPP/include/c++/iostream:45,
from main11.cpp:1:
C:/DEV-CPP/include/c++/bits/stringfwd.h:44:28:
bits/c++config.h: No such file or directory
In file included from
C:/DEV-CPP/include/c++/iosfwd:46,
from C:/DEV-CPP/include/c++/ios:44,
from
C:/DEV-CPP/include/c++/ostream:45,
from
C:/DEV-CPP/include/c++/iostream:45,
from main11.cpp:1:
C:/DEV-CPP/include/c++/bits/fpos.h:44:24:
bits/c++io.h: No such file or directory
In file included from
C:/DEV-CPP/include/c++/bits/fpos.h:45,
from
C:/DEV-CPP/include/c++/iosfwd:46,
from C:/DEV-CPP/include/c++/ios:44,
from
C:/DEV-CPP/include/c++/ostream:45,
from
C:/DEV-CPP/include/c++/iostream:45,
from main11.cpp:1:
C:/DEV-CPP/include/c++/cwchar:49:28: bits/c++config.h:
No such file or directory
In file included from
C:/DEV-CPP/include/c++/iosfwd:46,
from C:/DEV-CPP/include/c++/ios:44,
from
C:/DEV-CPP/include/c++/ostream:45,
from
C:/DEV-CPP/include/c++/iostream:45,
from main11.cpp:1:
C:/DEV-CPP/include/c++/bits/fpos.h:60: 'streamoff' is
used as a type, but is
not defined as a type.
C:/DEV-CPP/include/c++/bits/fpos.h:74: parse error
before `__off'
C:/DEV-CPP/include/c++/bits/fpos.h:75: missing ';'
before right brace
C:/DEV-CPP/include/c++/bits/fpos.h:77: semicolon
missing after declaration of `
std::fpos<_StateT>'
C:/DEV-CPP/include/c++/bits/fpos.h: In constructor
`std::fpos<_StateT>::fpos()':
C:/DEV-CPP/include/c++/bits/fpos.h:72: class
`std::fpos<_StateT>' does not have
any field named `_M_off'
C:/DEV-CPP/include/c++/bits/fpos.h: At global scope:
C:/DEV-CPP/include/c++/bits/fpos.h:77: parse error
before `(' token
C:/DEV-CPP/include/c++/bits/fpos.h:77: ISO C++ forbids
defining types within
return type
C:/DEV-CPP/include/c++/bits/fpos.h:77: syntax error
before `(' token
C:/DEV-CPP/include/c++/bits/fpos.h:79: syntax error
before `&' token
C:/DEV-CPP/include/c++/bits/fpos.h:82: syntax error
before `&' token
C:/DEV-CPP/include/c++/bits/fpos.h:86: syntax error
before `operator'
C:/DEV-CPP/include/c++/bits/fpos.h:89: syntax error
before `+=' token
C:/DEV-CPP/include/c++/bits/fpos.h:94: syntax error
before `operator'
C:/DEV-CPP/include/c++/bits/fpos.h:97: syntax error
before `-=' token
C:/DEV-CPP/include/c++/bits/fpos.h:102: parse error
before `&' token
C:/DEV-CPP/include/c++/bits/fpos.h:103: non-member
function `bool
operator==(...)' cannot have `const' method
qualifier
C:/DEV-CPP/include/c++/bits/fpos.h:103: `bool
operator==(...)' must have an
argument of class or enumerated type
C:/DEV-CPP/include/c++/bits/fpos.h:103: `bool
operator==(...)' must take
exactly two arguments
C:/DEV-CPP/include/c++/bits/fpos.h: In function `bool
operator==(...)':
C:/DEV-CPP/include/c++/bits/fpos.h:103: `_M_off'
undeclared (first use this
function)
C:/DEV-CPP/include/c++/bits/fpos.h:103: (Each
undeclared identifier is reported
only once for each function it appears in.)
C:/DEV-CPP/include/c++/bits/fpos.h:103: `__pos'
undeclared (first use this
function)
C:/DEV-CPP/include/c++/bits/fpos.h: At global scope:
C:/DEV-CPP/include/c++/bits/fpos.h:106: parse error
before `&' token
C:/DEV-CPP/include/c++/bits/fpos.h:107: non-member
function `bool
operator!=(...)' cannot have `const' method
qualifier
C:/DEV-CPP/include/c++/bits/fpos.h:107: `bool
operator!=(...)' must have an
argument of class or enumerated type
C:/DEV-CPP/include/c++/bits/fpos.h:107: `bool
operator!=(...)' must take
exactly two arguments
C:/DEV-CPP/include/c++/bits/fpos.h:110: parse error
before `)' token
C:/DEV-CPP/include/c++/bits/fpos.h:113: `streamoff'
was not declared in this
scope
C:/DEV-CPP/include/c++/bits/fpos.h:113: parse error
before `)' token
C:/DEV-CPP/include/c++/bits/fpos.h: In function `void
_M_position(...)':
C:/DEV-CPP/include/c++/bits/fpos.h:113: `__off'
undeclared (first use this
function)
C:/DEV-CPP/include/c++/bits/fpos.h: At global scope:
C:/DEV-CPP/include/c++/bits/fpos.h:114: parse error
before `}' token
C:/DEV-CPP/include/c++/bits/fpos.h:117: syntax error
before `;' token
In file included from C:/DEV-CPP/include/c++/ios:46,
from
C:/DEV-CPP/include/c++/ostream:45,
from
C:/DEV-CPP/include/c++/iostream:45,
from main11.cpp:1:
C:/DEV-CPP/include/c++/bits/char_traits.h:59: parse
error before `;' token
C:/DEV-CPP/include/c++/bits/char_traits.h:60: parse
error before `;' token
C:/DEV-CPP/include/c++/bits/char_traits.h:113: parse
error before `;' token
C:/DEV-CPP/include/c++/bits/char_traits.h:114: parse
error before `;' token
C:/DEV-CPP/include/c++/bits/char_traits.h: In static
member function `static
int std::char_traits<char>::eof()':
C:/DEV-CPP/include/c++/bits/char_traits.h:168: `EOF'
undeclared (first use this
function)
In file included from C:/DEV-CPP/include/c++/ios:47,
from
C:/DEV-CPP/include/c++/ostream:45,
from
C:/DEV-CPP/include/c++/iostream:45,
from main11.cpp:1:
C:/DEV-CPP/include/c++/cstdio:49:28: bits/c++config.h:
No such file or directory
In file included from C:/DEV-CPP/include/c++/ios:48,
from
C:/DEV-CPP/include/c++/ostream:45,
from
C:/DEV-CPP/include/c++/iostream:45,
from main11.cpp:1:
C:/DEV-CPP/include/c++/bits/localefwd.h:45:28:
bits/c++config.h: No such file or directory
C:/DEV-CPP/include/c++/bits/localefwd.h:46:80:
bits/c++locale.h: No such file or directory
In file included from
C:/DEV-CPP/include/c++/bits/localefwd.h:48,
from C:/DEV-CPP/include/c++/ios:48,
from
C:/DEV-CPP/include/c++/ostream:45,
from
C:/DEV-CPP/include/c++/iostream:45,
from main11.cpp:1:
C:/DEV-CPP/include/c++/cctype:48:28: bits/c++config.h:
No such file or directory
In file included from
C:/DEV-CPP/include/c++/bits/localefwd.h:49,
from C:/DEV-CPP/include/c++/ios:48,
from
C:/DEV-CPP/include/c++/ostream:45,
from
C:/DEV-CPP/include/c++/iostream:45,
from main11.cpp:1:
C:/DEV-CPP/include/c++/string:45:28: bits/c++config.h:
No such file or directory
In file included from
C:/DEV-CPP/include/c++/memory:54,
from
C:/DEV-CPP/include/c++/string:48,
from
C:/DEV-CPP/include/c++/bits/localefwd.h:49,
from C:/DEV-CPP/include/c++/ios:48,
from
C:/DEV-CPP/include/c++/ostream:45,
from
C:/DEV-CPP/include/c++/iostream:45,
from main11.cpp:1:
C:/DEV-CPP/include/c++/bits/stl_algobase.h:64:28:
bits/c++config.h: No such file or directory
In file included from
C:/DEV-CPP/include/c++/bits/stl_algobase.h:67,
from
C:/DEV-CPP/include/c++/memory:54,
from
C:/DEV-CPP/include/c++/string:48,
from
C:/DEV-CPP/include/c++/bits/localefwd.h:49,
from C:/DEV-CPP/include/c++/ios:48,
from
C:/DEV-CPP/include/c++/ostream:45,
from
C:/DEV-CPP/include/c++/iostream:45,
from main11.cpp:1:
C:/DEV-CPP/include/c++/cstdlib:49:28:
bits/c++config.h: No such file or directory
In file included from
C:/DEV-CPP/include/c++/bits/stl_algobase.h:72,
from
C:/DEV-CPP/include/c++/memory:54,
from
C:/DEV-CPP/include/c++/string:48,
from
C:/DEV-CPP/include/c++/bits/localefwd.h:49,
from C:/DEV-CPP/include/c++/ios:48,
from
C:/DEV-CPP/include/c++/ostream:45,
from
C:/DEV-CPP/include/c++/iostream:45,
from main11.cpp:1:
C:/DEV-CPP/include/c++/bits/type_traits.h:54:28:
bits/c++config.h: No such file or directory
In file included from
C:/DEV-CPP/include/c++/bits/stl_iterator_base_funcs.h:68,
from
C:/DEV-CPP/include/c++/bits/stl_algobase.h:74,
from
C:/DEV-CPP/include/c++/memory:54,
from
C:/DEV-CPP/include/c++/string:48,
from
C:/DEV-CPP/include/c++/bits/localefwd.h:49,
from C:/DEV-CPP/include/c++/ios:48,
from
C:/DEV-CPP/include/c++/ostream:45,
from
C:/DEV-CPP/include/c++/iostream:45,
from main11.cpp:1:
C:/DEV-CPP/include/c++/bits/concept_check.h:40:28:
bits/c++config.h: No such file or directory
In file included from
C:/DEV-CPP/include/c++/bits/stl_alloc.h:86,
from
C:/DEV-CPP/include/c++/memory:55,
from
C:/DEV-CPP/include/c++/string:48,
from
C:/DEV-CPP/include/c++/bits/localefwd.h:49,
from C:/DEV-CPP/include/c++/ios:48,
from
C:/DEV-CPP/include/c++/ostream:45,
from
C:/DEV-CPP/include/c++/iostream:45,
from main11.cpp:1:
C:/DEV-CPP/include/c++/bits/stl_threads.h:52:23:
bits/gthr.h: No such file or directory
In file included from
C:/DEV-CPP/include/c++/bits/stl_alloc.h:86,
from
C:/DEV-CPP/include/c++/memory:55,
from
C:/DEV-CPP/include/c++/string:48,
from
C:/DEV-CPP/include/c++/bits/localefwd.h:49,
from C:/DEV-CPP/include/c++/ios:48,
from
C:/DEV-CPP/include/c++/ostream:45,
from
C:/DEV-CPP/include/c++/iostream:45,
from main11.cpp:1:
C:/DEV-CPP/include/c++/bits/stl_threads.h: At global
scope:
C:/DEV-CPP/include/c++/bits/stl_threads.h:69:
'__gthread_mutex_t' is used as a
type, but is not defined as a type.
C:/DEV-CPP/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 lib...@gc....
C:/DEV-CPP/include/c++/bits/stl_threads.h: In member
function `void
std::_Refcount_Base::_M_incr()':
C:/DEV-CPP/include/c++/bits/stl_threads.h:86:
`_M_ref_count_lock' undeclared
(first use this function)
C:/DEV-CPP/include/c++/bits/stl_threads.h:86:
`__gthread_mutex_lock' undeclared
(first use this function)
C:/DEV-CPP/include/c++/bits/stl_threads.h:88:
`__gthread_mutex_unlock'
undeclared (first use this function)
C:/DEV-CPP/include/c++/bits/stl_threads.h: At global
scope:
C:/DEV-CPP/include/c++/bits/stl_threads.h:158:
'__gthread_mutex_t' is used as a
type, but is not defined as a type.
C:/DEV-CPP/include/c++/bits/stl_threads.h: In member
function `void
std::_STL_mutex_lock::_M_acquire_lock()':
C:/DEV-CPP/include/c++/bits/stl_threads.h:192:
`_M_lock' undeclared (first use
this function)
In file included from
C:/DEV-CPP/include/c++/memory:55,
from
C:/DEV-CPP/include/c++/string:48,
from
C:/DEV-CPP/include/c++/bits/localefwd.h:49,
from C:/DEV-CPP/include/c++/ios:48,
from
C:/DEV-CPP/include/c++/ostream:45,
from
C:/DEV-CPP/include/c++/iostream:45,
from main11.cpp:1:
C:/DEV-CPP/include/c++/bits/stl_alloc.h: At global
scope:
C:/DEV-CPP/include/c++/bits/stl_alloc.h:575: syntax
error before `;' token
C:/DEV-CPP/include/c++/bits/stl_alloc.h:575: confused
by earlier errors, bailing out
g++.exe main11.o -o "Project11.exe"
-L"C:/DEV-CPP/lib" -I"C:/DEV-CPP/include/c++"
-I"C:/DEV-CPP/include"
G__~1.EXE: main11.o: No such file or directory
G__~1.EXE: no input files
Execution terminated
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
|