致命错误LNK1318:意外的PDB错误;格式(11) [英] fatal error LNK1318: Unexpected PDB error; FORMAT (11)
问题描述
我正常运行了C ++程序,由于电池电量不足,在计算机关闭之前,它抛出了运行时错误.从那时起,每次我尝试运行我的项目时,它都会引发以下消息:
I ran my C++ program normally and it threw a run-time error right before the computer shut down because of low battery. Since then every time I try to run my project it throws this message:
fatal error LNK1318: Unexpected PDB error; FORMAT (11)
I've looked online and tried the common fixes from the Microsoft page:
-
清洁和重建解决方案
cleaning and rebuilding solution
重新启动计算机
使用/Zf 编译器
-等.
其他一些解决方案包括一些批处理文件,以删除一些原本造成麻烦的进程,但无济于事.另一个建议删除所有临时文件,我尽力了,除了我认为是麻烦文件也出现在错误消息中.
Some other solutions included some batch file to delete some processes that supposedly caused trouble with no avail. Another recommended deleting all the temp files, and I did my best, except for what I think is the trouble-making file that also appears in the error message.
Microsoft程序数据库一直在使用它,我在任务管理器中找不到该程序.有人知道为什么会这样吗?
It's constantly used by Microsoft Program Database and I can't find this program in the Task Manager. Does anyone know why this is happening?
推荐答案
我解决了.这是读这5年的男孩的指南:
I solved it. Here's a guide for the guy reading this is 5 yrs:
- 关闭Visual Studio(如果需要,请在TaskManager中关闭)
- 在
repos>中删除Projectname.pdb.专案>调试>x64
- 重新打开VS,它应该可以工作
这篇关于致命错误LNK1318:意外的PDB错误;格式(11)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!