I am trying to update an old solution to use VS2010 (VC100).
I have a setup, so stdafx.cpp will create a precompiled stdafx.pch header from stdafx.h. Then, all other .cpp files that contain stdafx.h are encouraged to use a precompiled header.
These posts helped me get this far:
- Visual C ++ Precompilation Errors
- Precompiled Headers
Now everything is fine when I create in release mode. However, when I try to build in debug mode, I get a whole bunch of errors saying:
Error 1 error C2859: [deleted] \ debug \ vc100.idb is not the idb file that was used to create this precompiled header, recreate the precompiled header.
I believe this .idb file is an intermediate debug file created by Visual Studio.
Why am I getting this error? In other words, why didn't he use this .idb file when he created the precompiled header?
I'm not sure what additional information you need to give me an answer, so just ask if there is any additional information that I need to provide.
debugging visual-c ++ visual-studio-2010 precompiled-headers
Steiny
source share