I just downloaded and installed the BloodSehd Dev C++ program (Dev-C++ 5.0 beta 9.2).
I started a new project and just to test it...I selected the Hello World App from the introduction tab...the code for this is below:
include <iostream>
using namespace std;
int main (int argc, char *argv[])
{
cout << "Hello World!" << endl;
cout << "Press ENTER to continue..." << endl;
cin.get();
return 0;
}
As most of you might know....this is a perfectly acceptable and working piece of code.
But when I try to compile it, dev C++ doesn't compile it. I hit run and it gives a warning message "Project is not compiled".
Just as a an experiment....i downloaded the really old Dev C++ 4, i put the same program on it and it runs fine, as expected with absolutely no problems.
I tried re-installing Dev C++ beta 5.0 and again the same problem. the build output is this:
[Build Error][hello.o] Error1 and it points to a Makefile.win file.
I've kind of come to the conclusion that it's definitely to do with Dev C++ 5.0 Beta. I just installed the program like normal. Do I need to install a compiler for it too???? I sure it uses the It uses Mingw compiler port of GCC as it's compiler by default.
If it helps, i also have Visual C++ installed, but i can't see how that is a problem, since like i said...dev C++ 4.0 worked fine.
Anyone else get this problem? does anyone know how to fix it? what am i doing wrong?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Version 4 uses GCC 2.95 which does not support namespaces, so that was a good trick!? I wonder if the install 'over the top' means you are using the old IDE with the new compiler?
By installing the older version you may have caused yourself more problems than necessary. Perhaps you should have posted here first for advice. Actually you should have read the "PLEASE READ BEFORE POSTING A QUESTION" thread first. I suspect that it would have solved your problem. Now you have given yourself more than one.
If you revert back to 4.9.9.2 (and you should) you will have to very careful about how you first uninstall the older version to avoid problems.
You now need to read that thread and follow the instructions for uninstalling and reinstalling Dev-C++. You should do this regardless of which version you currently have installed, and even if it currently appears to be working.
Looking at your JPEG, it looks like you are using Vista. Before attempting to build using 4.9.9.2 you must first follow teh instructions in the "read first" thread for getting Dev-C++ working on Vista.
And finally you should read the information on how to post a question in such a way to ensure quick resolution (the bit about the "Basic 3"). Posting a picture of Dev-C++ does not tell us anything, we know what it looks like! Actually it did tell me that you might be using Vista, but that is part of the "Basic 3" in any case.
"[Build Error][hello.o] Error1" merely indicates that make terminated after one of the build steps failed. The only way to see what actually failed is to look as the "Compile Log" tab text. The "Compiler" tab is merely a filter of this, and it only filters standard compiler/linker messages regarding your code. When the tool itself fails rather than your code it does not show those errors. Which is why you are asked to post the "Compile Log" verbatim - it has more complete information and can help diagnosis in subtle ways. For example I could probably determine whether my first hypothesis about the old IDE and new compiler was correct. So make sure you copy & paste it all.
Clifford
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just downloaded and installed the BloodSehd Dev C++ program (Dev-C++ 5.0 beta 9.2).
I started a new project and just to test it...I selected the Hello World App from the introduction tab...the code for this is below:
include <iostream>
using namespace std;
int main (int argc, char *argv[])
{
cout << "Hello World!" << endl;
cout << "Press ENTER to continue..." << endl;
cin.get();
return 0;
}
As most of you might know....this is a perfectly acceptable and working piece of code.
But when I try to compile it, dev C++ doesn't compile it. I hit run and it gives a warning message "Project is not compiled".
Just as a an experiment....i downloaded the really old Dev C++ 4, i put the same program on it and it runs fine, as expected with absolutely no problems.
I tried re-installing Dev C++ beta 5.0 and again the same problem. the build output is this:
http://img.photobucket.com/albums/v94/DDSniper/problem.jpg
[Build Error] [hello.o] Error1 and it points to a Makefile.win file.
I've kind of come to the conclusion that it's definitely to do with Dev C++ 5.0 Beta. I just installed the program like normal. Do I need to install a compiler for it too???? I sure it uses the It uses Mingw compiler port of GCC as it's compiler by default.
If it helps, i also have Visual C++ installed, but i can't see how that is a problem, since like i said...dev C++ 4.0 worked fine.
Anyone else get this problem? does anyone know how to fix it? what am i doing wrong?
Version 4 uses GCC 2.95 which does not support namespaces, so that was a good trick!? I wonder if the install 'over the top' means you are using the old IDE with the new compiler?
By installing the older version you may have caused yourself more problems than necessary. Perhaps you should have posted here first for advice. Actually you should have read the "PLEASE READ BEFORE POSTING A QUESTION" thread first. I suspect that it would have solved your problem. Now you have given yourself more than one.
If you revert back to 4.9.9.2 (and you should) you will have to very careful about how you first uninstall the older version to avoid problems.
You now need to read that thread and follow the instructions for uninstalling and reinstalling Dev-C++. You should do this regardless of which version you currently have installed, and even if it currently appears to be working.
Looking at your JPEG, it looks like you are using Vista. Before attempting to build using 4.9.9.2 you must first follow teh instructions in the "read first" thread for getting Dev-C++ working on Vista.
And finally you should read the information on how to post a question in such a way to ensure quick resolution (the bit about the "Basic 3"). Posting a picture of Dev-C++ does not tell us anything, we know what it looks like! Actually it did tell me that you might be using Vista, but that is part of the "Basic 3" in any case.
"[Build Error] [hello.o] Error1" merely indicates that make terminated after one of the build steps failed. The only way to see what actually failed is to look as the "Compile Log" tab text. The "Compiler" tab is merely a filter of this, and it only filters standard compiler/linker messages regarding your code. When the tool itself fails rather than your code it does not show those errors. Which is why you are asked to post the "Compile Log" verbatim - it has more complete information and can help diagnosis in subtle ways. For example I could probably determine whether my first hypothesis about the old IDE and new compiler was correct. So make sure you copy & paste it all.
Clifford