Greetings,
My compiler/linker has ceased to work at all on any program that used to work. I can no longer do any work without either fixing this or buying a new computer. Therefore, I hope someone has
encountered this problem before?
Summary, while running a previous program that worked, my computer all of sudden shut itselt off and then restarted. Ever since this event, I cannot compile and link anything successfully and continue to get resource error mesages. It's as if something snapped in the computer and there is no simple way to fix it. (Re-installing the software has not helped.)
This is a continuation of my previous post
"This is a linker error! Its a generic problem..."
where the only thing we suceeded at solving was how to copy the messages from the complier/linker.
Below I have included the code and the compiler messages.
Cool, my directions worked! I did *something* right today! (Or was that yesterday) :-)
My advice to you is to slash and burn. Run the uninstall program in the Dev directory. Delete the Dev directory. Run Norton or Regcleaner or the like to clean up any remaining vestiges in the registry. Restart. Then download a fresh Dev 4.9.7.0 and install.
Nuke it. With extreme prejudice.
Wayne
By the way, since you had the little crash, have you done a scandisk or the like? Everything else behaving normally?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I re-installed the old version and this didn't help again. But I finally decided that there might be something inherently wrong in my folder/directory that holds all of my programs and their data. It makes sense now, afterall I can't re-install the programs I have written.
I don't why exactly but there is apparently something wrong inside the file CDev which holds all of my programs and data files. I tried creating a new folder to hold new programs. For some reason none of the old programs in the (CDev ) file will compile and link, but if I copy the code from those files and start a new project and save it in the new folder (Cnew), it will compile and run. I don't understand why exactly, and I thought I tried this before, maybe soemthing else was wrong as well at that time?
The next test is to create a new program inside the old (CDev) file and see if there are errors with new projects in that file. Guess what, I can't create a new project in the old CDev file and have it compile, which means something that is specific to this folder prevents the project from compiling. Does this make any sense?
Thanks Again, AllanF
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Greetings,
My compiler/linker has ceased to work at all on any program that used to work. I can no longer do any work without either fixing this or buying a new computer. Therefore, I hope someone has
encountered this problem before?
Summary, while running a previous program that worked, my computer all of sudden shut itselt off and then restarted. Ever since this event, I cannot compile and link anything successfully and continue to get resource error mesages. It's as if something snapped in the computer and there is no simple way to fix it. (Re-installing the software has not helped.)
This is a continuation of my previous post
"This is a linker error! Its a generic problem..."
where the only thing we suceeded at solving was how to copy the messages from the complier/linker.
Below I have included the code and the compiler messages.
#include <stdio.h>
#include <iostream.h>
int main(int argc, char *argv[])
{
cout << "Hellooo!" << endl;
return 0;
}
compiler message
Resource
Error in resource file
linker
(no message shown)
Resource
C:\DEV-C_~1\Bin\windres: no resources
compile log
Building resource file...
C:\DEV-C_~1\Bin\windres --include-dir C:\DEV-C_~1\Include\ --include-dir C:\DEV-C_~1\Include\G__~1 --include-dir C:\DEV-C_~1\Include\ --use-temp-file -I rc -O coff -i C:\CDev\rsrc.rc -o c:\cdev\rsrc.o
Thanks in advance,
AllanF
Cool, my directions worked! I did *something* right today! (Or was that yesterday) :-)
My advice to you is to slash and burn. Run the uninstall program in the Dev directory. Delete the Dev directory. Run Norton or Regcleaner or the like to clean up any remaining vestiges in the registry. Restart. Then download a fresh Dev 4.9.7.0 and install.
Nuke it. With extreme prejudice.
Wayne
By the way, since you had the little crash, have you done a scandisk or the like? Everything else behaving normally?
Wayne,
Success, at least partially.
I re-installed the old version and this didn't help again. But I finally decided that there might be something inherently wrong in my folder/directory that holds all of my programs and their data. It makes sense now, afterall I can't re-install the programs I have written.
I don't why exactly but there is apparently something wrong inside the file CDev which holds all of my programs and data files. I tried creating a new folder to hold new programs. For some reason none of the old programs in the (CDev ) file will compile and link, but if I copy the code from those files and start a new project and save it in the new folder (Cnew), it will compile and run. I don't understand why exactly, and I thought I tried this before, maybe soemthing else was wrong as well at that time?
The next test is to create a new program inside the old (CDev) file and see if there are errors with new projects in that file. Guess what, I can't create a new project in the old CDev file and have it compile, which means something that is specific to this folder prevents the project from compiling. Does this make any sense?
Thanks Again, AllanF