OK i have installed Dev-Cpp with the gcc 3.2 compiler after i have uninstalled the previous version and deleted the configuration files. I tried to compile the following (extreamly simple) file:
#include <iostream>
using namespace std;
int main (int argc, char *argv[]) {
cout << "Hello!" << endl;
}
In file included from Hello.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 Hello.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 Hello.cpp:1:
C:/Dev-Cpp/include/c++/bits/stringfwd.h:44:28: bits/c++config.h: No such file or directory
and the list goes on, and on, and on...
The same thing of course compiles under gcc 2.95. Does anybody have any idea? I'm using dev-cpp under Win2000. Thanks in andvance
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I had the same problem, I just copied everything from the:
Dev-Cpp\include\c++\mingw32\bits directory to the C:\Dev-Cpp\include\c++\bits directory, and it worked like a charm.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just included (pardon the pun) the \c++\bits and \c++\mingw32\bits folders in the Include Directories tab of my compiler options, and it compiles just fine for me.
Also, I have the "use fast but imperfect dependency checking" setting UNCHECKED. I prefer slow and perfect to fast and goofed up!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When asking a question, please post your version number. In this case this is VERY important, as this looks like an error that occurred back in version 4.9.7.0, and that version is like 12 versions old.
If you are running 4.9.7.0, I recommend that you:
(1) Run the Dev uninstall program (in the Dev directory)
(2) Delete the Dev directory
(3) Hunts down and remove the files devcpp.ini and devcpp.cfg (tell search to look in hidden directories, because in XP, 2000 and NT, they are in hidden directories)
(3a) Restart :-)
(4) Download the full version of Dev 4.9.8.0
(5) Make sure you let Dev install in a directory with no spaces in its name (i,e NOT "Program Files")
Wayne
p.s. Dev 4.9.7.0 was the first version to try to allow the user to chose what version of gcc they used, and there were some path bugs. But please, when you have a problem...make sure of what versin you are running...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There is no copying or changing of paths needed with the newer versions of Dev. If someone is reporting this kind of error, they either have an early version of Dev, or they have lingering traces of one bleeding through to a newer version...
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OK i have installed Dev-Cpp with the gcc 3.2 compiler after i have uninstalled the previous version and deleted the configuration files. I tried to compile the following (extreamly simple) file:
#include <iostream>
using namespace std;
int main (int argc, char *argv[]) {
cout << "Hello!" << endl;
}
and i get the following errors:
g++.exe -c Hello.cpp -o Hello.o -I"C:/Dev-Cpp/include" -I"C:/Dev-Cpp/include/c++" -I"C:/Dev-Cpp/include"
In file included from Hello.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 Hello.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 Hello.cpp:1:
C:/Dev-Cpp/include/c++/bits/stringfwd.h:44:28: bits/c++config.h: No such file or directory
and the list goes on, and on, and on...
The same thing of course compiles under gcc 2.95. Does anybody have any idea? I'm using dev-cpp under Win2000. Thanks in andvance
I had the same problem, I just copied everything from the:
Dev-Cpp\include\c++\mingw32\bits directory to the C:\Dev-Cpp\include\c++\bits directory, and it worked like a charm.
Hit enter to quick (was cleaning up the message) , but I think someone messed up with gcc3.2
I just copied everything from:
Dev-Cpp\include\c++\mingw32\bits
to:
C:\Dev-Cpp\include\c++\bits
Worked like a charm.
I just included (pardon the pun) the \c++\bits and \c++\mingw32\bits folders in the Include Directories tab of my compiler options, and it compiles just fine for me.
Also, I have the "use fast but imperfect dependency checking" setting UNCHECKED. I prefer slow and perfect to fast and goofed up!
When asking a question, please post your version number. In this case this is VERY important, as this looks like an error that occurred back in version 4.9.7.0, and that version is like 12 versions old.
If you are running 4.9.7.0, I recommend that you:
(1) Run the Dev uninstall program (in the Dev directory)
(2) Delete the Dev directory
(3) Hunts down and remove the files devcpp.ini and devcpp.cfg (tell search to look in hidden directories, because in XP, 2000 and NT, they are in hidden directories)
(3a) Restart :-)
(4) Download the full version of Dev 4.9.8.0
(5) Make sure you let Dev install in a directory with no spaces in its name (i,e NOT "Program Files")
Wayne
p.s. Dev 4.9.7.0 was the first version to try to allow the user to chose what version of gcc they used, and there were some path bugs. But please, when you have a problem...make sure of what versin you are running...
Bryan and David,
There is no copying or changing of paths needed with the newer versions of Dev. If someone is reporting this kind of error, they either have an early version of Dev, or they have lingering traces of one bleeding through to a newer version...
Wayne
By the way
(1) You are not stupid and
(2) gcc-3.2 does work
I think your question needed an else.
:-)
Wayne