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:
You have tacked your question on to the end of someone else's thread, and moreover your question is entirely unrelated. In adition, the thread is several weeks old and essentially dead. You resurrected it for no good reason. Why would you do that? Start your own thread.
I am surprised that it worked on Dev-C++ 4 since GCC 2.95 does not support namespaces. I guess it just ignores the using directive.
By installing the older version you may have given yourself more work if you want to get 4.9.9.2 working correctly.
You quite plainly did not read the "PLEASE READ BEFORE POSTING A QUESTION" other wise you would know to post the "Compile Log" text. This is a simple textual copy & paste, and is far more useful that a picture of Dev-C++ - we all know what it looks like.
Your jpeg does however look like that you might be running on Vista. The "PLEASE READ BEFORE POSTING A QUESTION" thread has advice on that too.
You may need to look at the instructions for doing a clean uninstall and reinstall on the same thread. It is important becaus remnants of an earlier version can screw up the newer one.
That should be all you need. Don't post to this thread again, start a new one.
Clifford
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
... Note that "[Build Error][hello.o] Error1" tells us nothing. That is merely the make utility informing you that one of teh build steps failed. To determine what failed you will need to look at the whole "Compile Log" (on teh tab of teh same name). The Compiler tab is a filter of the compile log, but it only recognises standard compiler and linker messages. When a tool fails with a runtime error, the message is not normally shown in the Compiler tab.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Have you read the directions on getting started with the debugger in the thread
titled "Please Read Before Posting a Question"? If you have, you need to post
your Basic 3 for us, they are covered in the same thread.
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Despite the directions Wayne mentioned, I have always found the debugger to be broken and unusable. Recently I cannot get it to work at all (in just the way you describe - and I know what I am doing). When it did work it was so poor that the fact that it now seems completely broken does not worry me much. I suggest downloading the more reliable and functional Insight debugger from www.mingw.org. You can loosely integrate it with Dev-C++ via the tools menu customisation feature.
Clifford
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
How to debug in DevC++? I put breakpoint, pressed Ctrl+F11 and the Debug button, but it never stopped by the breakpoint :-(
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?
You have tacked your question on to the end of someone else's thread, and moreover your question is entirely unrelated. In adition, the thread is several weeks old and essentially dead. You resurrected it for no good reason. Why would you do that? Start your own thread.
I am surprised that it worked on Dev-C++ 4 since GCC 2.95 does not support namespaces. I guess it just ignores the using directive.
By installing the older version you may have given yourself more work if you want to get 4.9.9.2 working correctly.
You quite plainly did not read the "PLEASE READ BEFORE POSTING A QUESTION" other wise you would know to post the "Compile Log" text. This is a simple textual copy & paste, and is far more useful that a picture of Dev-C++ - we all know what it looks like.
Your jpeg does however look like that you might be running on Vista. The "PLEASE READ BEFORE POSTING A QUESTION" thread has advice on that too.
You may need to look at the instructions for doing a clean uninstall and reinstall on the same thread. It is important becaus remnants of an earlier version can screw up the newer one.
That should be all you need. Don't post to this thread again, start a new one.
Clifford
... Note that "[Build Error] [hello.o] Error1" tells us nothing. That is merely the make utility informing you that one of teh build steps failed. To determine what failed you will need to look at the whole "Compile Log" (on teh tab of teh same name). The Compiler tab is a filter of the compile log, but it only recognises standard compiler and linker messages. When a tool fails with a runtime error, the message is not normally shown in the Compiler tab.
Have you read the directions on getting started with the debugger in the thread
titled "Please Read Before Posting a Question"? If you have, you need to post
your Basic 3 for us, they are covered in the same thread.
Wayne
Despite the directions Wayne mentioned, I have always found the debugger to be broken and unusable. Recently I cannot get it to work at all (in just the way you describe - and I know what I am doing). When it did work it was so poor that the fact that it now seems completely broken does not worry me much. I suggest downloading the more reliable and functional Insight debugger from www.mingw.org. You can loosely integrate it with Dev-C++ via the tools menu customisation feature.
Clifford