我们在我的网站上也看到了很多根据我们的设置,Peter Kaufmann的这一解释似乎是最合理的:
在Visual Studio 2005中构建解决方案时,会出现致命错误C1033:无法打开程序数据库xxxdebugvc80.pdb等错误。但是,当第二次运行构建时,通常会成功强烈>
Reason: It s possible that two projects in the solution are writing their outputs to the same directory (e.g. xxxdebug ). If the maximum number of parallel project builds setting in Tools - Options, Projects and Solutions - Bild and Run is set to a value greater than 1, this means that two compiler threads could be trying to access the same files simultaneously, resulting in a file sharing conflict.
Solution: Check your project s settings and make sure no two projects are using the same directory for output, target or any kind of intermediate files. Or set the maximum number of parallel project builds setting to 1 for a quick workaround. I experienced this very problem while using the VS project files that came with the CLAPACK library.
UPDATE: There is a chance that Tortoise SVN accesses vc80.pdb , even if the file is not under versioning control, which could also result in the error described above (thanks to Liana for reporting this). However, I cannot confirm this, as I couldn t reproduce the problem after making sure different output directories are used for all projects.