What I am doing now is MFC development, and when VC is compiled, it pops up:
"Not the idb file used to create this precompiled header, please recreate the precompiled header"
reason:
During the linking process of the linker, an intermediate output file modifies the program name, causing the generated idb file to overwrite
Solution:
Delete the intermediate generated files and recompile, but you don’t need to delete all of them. Find the wrong file, delete it and compile it again.
Double-click the error line, and it will directly navigate to the wrong place.
For example, if I double-click to locate the place #include "stdafx.h", then just delete the intermediate generated file "stdafx.obj" and compile it again.