I deleted the Debug directory in a VC++5 project and when I tried to recompile it said, "Unable to find precompiled headers".
What do I do?
Idji.
Printable View
I deleted the Debug directory in a VC++5 project and when I tried to recompile it said, "Unable to find precompiled headers".
What do I do?
Idji.
Check if the file which you want to compile includes the <stdafx.h>.
Sincerely, Mihai
I delete the debug and release directories all the time. Try rebuilding everything.
I do this all the time on purpose, too. In fact, I do it so often that I have a batch file that does it for me! Why do we do this on purpose? Sometimes it's the only thing that will make the compiler work correctly. For example, if you remove an implementation of a virtual function, I've noticed that errors seem to crop until, until you delete the PCH files and do a Rebuild All.
Also, note that when you delete the PCH files, you must do a Rebuild All the next time.
LA Leonard - http://www.DefinitiveSolutions.com