VisualStudio编译的时候如果遇到错误"fatal error C1859: 'Debug\xxx.pch' unexpected precompiled header error, simply rerunning the compiler might fix this problem",以前的处理方案是Clean之后重启计算机,再次Build就可以。
但是这两天重启之后很容易再次遇到这个问题,于是查找了资料,参考这个链接,http://stackoverflow.com/questions/11854470/what-does-unexpected-precompiled-header-error-mean,下载一个VS90SP1-KB976656-x86.exe补丁可以解决问题。
本文介绍了解决Visual C++预编译头错误的方法,通常错误表现为fatal error C1859:'Debugxxx.pch' unexpected precompiled header error。通过清理项目并重启计算机可以暂时解决问题,但若频繁出现,则建议下载安装VS90SP1-KB976656-x86.exe补丁来彻底解决。

894

被折叠的 条评论
为什么被折叠?



