更新了visual studio express,给出错误c1853

4 visual-studio-2012

我已经有了几个月的VSE 2012,而我正在学习编程,当我要求更新为"Update 1"时,我最近将其更新为更新的版本.现在,当我尝试编译所有的C++项目时,我收到以下错误: 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".我在此次更新之前已经成功编译了这个程序,并尝试编译我知道在更新之前确实工作的旧项目无济于事.我创建的新项目运作良好.我刚开始以来对标题的了解不多,但VSE 2012更新1中包含的标题与我在旧项目中提供的标题相同,当我在update(#include "stdafx.h")之前创建它们时所以我有不知道什么是错的,不知道谷歌,因为谷歌搜索错误并没有给予太多帮助.

neo*_*neo 5

您可以删除预编译的头文件(Debug\XXXXXX.pch),然后再次编译它.