错误C1052与/ Debug:FASTLINK [英] error C1052 with /Debug:FASTLINK

查看:1118
本文介绍了错误C1052与/ Debug:FASTLINK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

阅读
链接
我将项目选项更改为快速链接。现在,当我编译时,我得到一个错误C1052(编译器无法更新此类pdb文件,请删除该文件或使用"/ FD"更改pdb文件名。

after reading this Link I changed my project options to fast link. Now, when I compile I get an error C1052 (compiler can't update such pdb files, please delete the file or use "/FD" to change the pdb file name.

因此,对于"/ FD"编译开关,我使用"$(OutDir)$(TargetName).pdb"。当我删除它时,错误消失。任何人都可以解释我为什么?我想了解这个问题。如果没有快速链接,它工作正常,并且使用fastlink我有这个
bevahiour。

So, for the "/FD" compile switch I use "$(OutDir)$(TargetName).pdb". When I delete this, the error disappears. Can anyone explan me why? I want to understand the problem. Without fast link it worked fine and with fastlink I have this bevahiour.

推荐答案

嗨GiladPellaeon,

Hi GiladPellaeon,

感谢您在此处发帖。

>>阅读本文后 Link 我将项目选项更改为快速链接。现在,当我编译
时我得到一个错误C1052(编译器无法更新此类pdb文件,请删除该文件或使用"/ FD"来更改pdb文件名。

很抱歉,我无法在我的vs 2015 update3上重现此问题。根据您的描述,我建议您检查以下内容。

Sorry that I can't reproduce this problem on my vs 2015 update3. According to your description, I suggest you check the following things.

1。检查您的pdb文件是否已被其他应用程序使用,或者它是否为只读文件。

1. Check if your pdb file is been used by another application or it's read-only file.

2。清理项目并重新重建。

2. Clean your project and rebuild again.

3。检查您是否设置了正确的符号位置和加载行为。

3. Check if you have set the right symbol locations and loading behavior.

有关详细信息,请参阅以下文档。

For more information, please refer to this document below.

https://msdn.microsoft.com/en-us/library/ms241613.aspx?f = 255& MSPPError = -2147217396

4。重新安装您的版本的最新版本,然后重试。

4. Reinstall the latest vs of your version and try again.

或者您可以提供一个演示供我们测试。这样我们就可以了帮助您找到根本原因。

Or it will be better that you could provide a demo for us to test. So that we could  help you find the root cause.

最好的问候,

Sera Yu

Best Regards,
Sera Yu


这篇关于错误C1052与/ Debug:FASTLINK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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