I just installed Dev-C++ 4.9.9.2. and a project that compiled an hour ago, using Dev-C++ 4.9.8.0 no longer runs. I following instructions found on http://aditsu.freeunixhost.com/dev-cpp-faq.html regarding "Uninstalling Cleanly" and followed them exactly. I installed the version with ming.
After the install of 4.9.9.2, I re-opened and rebuilt the project that ran successfully before the version upgrade. The Compile Progress dialog says 0 errors / 0 warnings. The details, under the Log tab are:
Yet, when I try to run, I get a warning message saying "Source File Not Compiled."
Is there something I am missing in my installation I need to get this program to run? Are there configuration settings? I need to know if this can be fixed or if I should use a different dev environment.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have similar problem, although the only version I've installed is Dev-C++ 4.9.9.2? It was working very well for several days and for no apparent reason it simply stopped running the compiled files. Run simply does not work, it still compiles fine and I can launch the .exe file manually. I'm running Windows XP SP2 Suggestions?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That does not look like a normal Dev-C++ build log. Are you using a custom make file?
What OS are you running?
The log says you are running the default compiler, but it looks to me like the executables have been removed or messed with. Take a look at Tools->Compiler options->Binaries (from memory, maybe its is executables not binaries, but it is the part that determines which toolchain executables to use)
The log appears to show Student.cpp being compiled twice. That cannot be correct.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the response so far. I still need help. In response to your questions:
1) I am not using a custom make file. (I wouldn't know how to do this!) Additionally, I didn't do anything custom in the install; I accepted all the default values during the installation.
2) I'm running XP. I've got this installed so all users can use it, but I had that before as well, with the prior version.
3) I looked at Tools->Compiler Options->Directories Tab, which has a Binaries subtab. It has listed there: "C:\Dev-Cpp\bin"
The Libraries subtab has: "C:\Dev-Cpp\lib". The C Includes subtab has: "C:\Dev-Cpp\include". The C++ Includes subtab has:
"C:\Dev-Cpp\lib\gcc\mingw32\3.4.2\include",
"C:\Dev-Cpp\include\c++\3.4.2\backward",
"C:\Dev-Cpp\include\c++\3.4.2\mingw32", and
"C:\Dev-Cpp\include\c++\3.4.2"
4) The log did show Compiling Student.cpp twice. I don't know why; it didn't make sense to me either. It should have shown GraduateStudent.cpp, but it didn't.
I want to emphasize, this problem is occuring with other projects that compiled and ran successfully before upgrading.
Finally, I am able to build and run a single .cpp file that is not in a project.
Any other thoughts?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you are trying to build a 4.9.8.0 generated project in 4.9.9.2, you will probably have to create a new project. The old .dev file is likely to have invalid references within it inherited from the old version.
Deleting the old config files only affects new projects, old projects have settings that are copies of the defaults from the old config.
If it is a complex build, you might try and edit the .dev file by hand (it is plain text), or 'fix' the settings in the Project options dialog - they need to match those in the Compiler Options. It will probably be simpler just to create an empty project of the appropriate type and add your existing source files to it (removing any that the selected project template provides for you).
Failing that it looks like a bad install and you should follow the instructions in the "PLEASE READ BEFORE POSTING A QUESTION" (which may be teh same as in Aditsu's FAQ, but check it out in any case).
Clifford
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you so much. Creating a new project file, copying the files into that project folder, and adding them to the project solved the problem. I tried on multiple projects and they all worked following this suggestion.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just installed Dev-C++ 4.9.9.2. and a project that compiled an hour ago, using Dev-C++ 4.9.8.0 no longer runs. I following instructions found on http://aditsu.freeunixhost.com/dev-cpp-faq.html regarding "Uninstalling Cleanly" and followed them exactly. I installed the version with ming.
After the install of 4.9.9.2, I re-opened and rebuilt the project that ran successfully before the version upgrade. The Compile Progress dialog says 0 errors / 0 warnings. The details, under the Log tab are:
Compiler: Default compiler
Cleaning SeparateModules.exe
Compiling SeparatedMain.cpp
Compiling Student.cpp
Compiling Student.cpp
Linking SeparateModules.exe
Done.
Yet, when I try to run, I get a warning message saying "Source File Not Compiled."
Is there something I am missing in my installation I need to get this program to run? Are there configuration settings? I need to know if this can be fixed or if I should use a different dev environment.
I have similar problem, although the only version I've installed is Dev-C++ 4.9.9.2? It was working very well for several days and for no apparent reason it simply stopped running the compiled files. Run simply does not work, it still compiles fine and I can launch the .exe file manually. I'm running Windows XP SP2 Suggestions?
I think I have an answer to your problem, but it is not the same or even similar. Post to a new thread and we can look at it.
Yes
(1) Don't tack a question onto another thread - even if you think it is a similar problem (I talk about this at length in the "Please Read" thread)
(2) Start a new thread, and post your Basic 3 - they are also covered in the thread titled "Please Read Before Posting a Question"
Wayne
That does not look like a normal Dev-C++ build log. Are you using a custom make file?
What OS are you running?
The log says you are running the default compiler, but it looks to me like the executables have been removed or messed with. Take a look at Tools->Compiler options->Binaries (from memory, maybe its is executables not binaries, but it is the part that determines which toolchain executables to use)
The log appears to show Student.cpp being compiled twice. That cannot be correct.
Thanks for the response so far. I still need help. In response to your questions:
1) I am not using a custom make file. (I wouldn't know how to do this!) Additionally, I didn't do anything custom in the install; I accepted all the default values during the installation.
2) I'm running XP. I've got this installed so all users can use it, but I had that before as well, with the prior version.
3) I looked at Tools->Compiler Options->Directories Tab, which has a Binaries subtab. It has listed there: "C:\Dev-Cpp\bin"
The Libraries subtab has: "C:\Dev-Cpp\lib". The C Includes subtab has: "C:\Dev-Cpp\include". The C++ Includes subtab has:
"C:\Dev-Cpp\lib\gcc\mingw32\3.4.2\include",
"C:\Dev-Cpp\include\c++\3.4.2\backward",
"C:\Dev-Cpp\include\c++\3.4.2\mingw32", and
"C:\Dev-Cpp\include\c++\3.4.2"
4) The log did show Compiling Student.cpp twice. I don't know why; it didn't make sense to me either. It should have shown GraduateStudent.cpp, but it didn't.
I want to emphasize, this problem is occuring with other projects that compiled and ran successfully before upgrading.
Finally, I am able to build and run a single .cpp file that is not in a project.
Any other thoughts?
If you are trying to build a 4.9.8.0 generated project in 4.9.9.2, you will probably have to create a new project. The old .dev file is likely to have invalid references within it inherited from the old version.
Deleting the old config files only affects new projects, old projects have settings that are copies of the defaults from the old config.
If it is a complex build, you might try and edit the .dev file by hand (it is plain text), or 'fix' the settings in the Project options dialog - they need to match those in the Compiler Options. It will probably be simpler just to create an empty project of the appropriate type and add your existing source files to it (removing any that the selected project template provides for you).
Failing that it looks like a bad install and you should follow the instructions in the "PLEASE READ BEFORE POSTING A QUESTION" (which may be teh same as in Aditsu's FAQ, but check it out in any case).
Clifford
Thank you so much. Creating a new project file, copying the files into that project folder, and adding them to the project solved the problem. I tried on multiple projects and they all worked following this suggestion.