RE: [Dev-C++] Re: Compiling problems with 4.9.7.0 and GCC 3.2
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Dany P. W. <da...@qu...> - 2003-01-17 01:37:52
|
> -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf > Of Percival > Sent: Friday, 17 January 2003 1:51 p.m. > To: dev...@li... > Subject: [Dev-C++] Re: Compiling problems with 4.9.7.0 and GCC 3.2 > > > It seems that the compiler always mentions this statement: > > >> F:/Dev-Cpp/include/c++/iosfwd:44:28: bits/c++config.h: No > such file > >> or > >> directory > > Have you tried to include this in your Tools->Compiler Options- > >Directories->C++ Includes tab > F: \Dev-Cpp\include\c++\mingw32 > > ..it is where the bits/c++config.h resides :) > > Hope this helps Ok, now that it's solved, there's yet another question. I've been using "endl" as in: Std::cout << "Hello world!" << endl; This is supposed to do a carriage return. Unfortunately I get an error which says: ========================================== Compiler: Default compiler Executing g++.exe... g++.exe "F:\Dev-Cpp\Examples\Hello\Hello.cpp" -o "F:\Dev-Cpp\Examples\Hello\Hello.exe" -I"F:\Dev-Cpp\include\c++" -I"F:\Dev-Cpp\include" -I"F:\Dev-Cpp\include\c++\mingw32" -L"F:\Dev-Cpp\lib" F:/Dev-Cpp/Examples/Hello/Hello.cpp: In function `int main(int, char**)': F:/Dev-Cpp/Examples/Hello/Hello.cpp:11: `endl' undeclared (first use this function) F:/Dev-Cpp/Examples/Hello/Hello.cpp:11: (Each undeclared identifier is reported only once for each function it appears in.) Execution terminated ========================================== What do they mean by "undeclared"? I've never had to declare that one before. Cheers, Dany. -- This mail is a natural product. The slight variations in spelling and grammar enhance its individual character and beauty and in no way are to be considered flaws or defects. |