问题描述:
在win7上遇到了以下错误
Error 1 fatal error C1859: ‘Debug\CppDllExport.pch’ unexpected precompiled header error, simply rerunning the compiler might fix this problem f:\document\visual studio 2008\codefx\visual studio 2008\cppdllexport\cppdllexport.cpp 18 CppDllExport
解决方法:
1. 禁用 /analyze (C++ => advanced => enable code analysis for C++)
2. 清除项目。 (之前的预编译头都删了)
3. 重启机器
4.禁用.pch文件(C++ => Precompiled headers => create/use pre-compiled headers)