|
-
April 30th, 1999, 08:49 AM
#1
I lost my pch files
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.
-
April 30th, 1999, 09:00 AM
#2
Re: I lost my pch files
Check if the file which you want to compile includes the <stdafx.h>.
Sincerely, Mihai
-
April 30th, 1999, 09:17 AM
#3
Re: I lost my pch files
I delete the debug and release directories all the time. Try rebuilding everything.
-
April 30th, 1999, 12:51 PM
#4
Re: I lost my pch files
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|