Updated visual studio express, gives error c1853

I had VSE 2012 for several months while I was participating in the program, and recently upgraded it to a newer version when he asked to upgrade to "Update 1". Now, when I try to compile all my C ++ projects, I get the following error: error C1853: 'Debug\XXXXXX.pch' precompiled header file is from a previous version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa) c:\XXX\visual studio 2012\projects\XXX\XXX XXX.cpp" . I successfully compiled this program just before this update and tried to compile old projects, which, as I knew, were certain worked before the update, to no avail. The new projects that I create work fine. I donโ€™t know much about the headers since Iโ€™m just starting, but the header included in VSE 2012 update 1, is the same exact title that was indicated in my old projects when I created them before the update ( #include "stdafx.h" ). So I have no idea what is wrong and donโ€™t know what to do with Google, because a bug in Google didnโ€™t help.

+4
source share
2 answers

You can remove the precompiled header (Debug \ XXXXXX.pch) and then compile it again.

+5
source

You can try Build> Clean Solution, which should also remove your precompiled header.

+2
source

All Articles