致命错误LNK1318:意外的PDB错误;格式(11) [英] fatal error LNK1318: Unexpected PDB error; FORMAT (11)

查看:108
本文介绍了致命错误LNK1318:意外的PDB错误;格式(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:

  1. 关闭Visual Studio(如果需要,请在TaskManager中关闭)
  2. repos>中删除Projectname.pdb.专案>调试>x64
  3. 重新打开VS,它应该可以工作

这篇关于致命错误LNK1318:意外的PDB错误;格式(11)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆