调试可再发行文件中缺少的DLL? [英] Debug DLLs missing from redistributables?

查看:94
本文介绍了调试可再发行文件中缺少的DLL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

首先,不确定我应该在哪个论坛上发布该文章,请随时向正确的方向戳我.

Hi folks,

First off, wasn't exactly sure what forum I should post this to, so feel free to punt me in the right direction.

一段时间以来,我一直在使用MSVC 2015研究C ++解决方案.我最初是在旧的Windows 7计算机上开发的,但最近又升级到了Windows 10的较新计算机.我安装了VC2015,它在两个版本中都可以很好地构建我的项目 调试和发布.我什至可以在发行版中运行它,但是当我在调试中运行它时,会出现一堆错误对话框,提示我缺少msvcp110d.dll和msvcr110d.dll.

在四处搜寻之后,我似乎找不到关于这些库的任何信息.但是,我可以找到有关msvcp110.dll和msvcr110.dll(末尾没有'd')的信息,它们来自VC2012可再发行文件.大概是那些带有"d"的失踪者 最后是调试版本.

我尝试安装2012年可再发行文件,但仍然收到错误.在我的机器上搜索表明,找不到这些DLL,因此这不仅是路径问题,而且缺少库.如果我在Win7机器上查看,则这些DLL是 在sysWOW文件夹中.我可以将它们复制过来,但这有时会带来其他弊端-版本不同步等.

另外,我应该提到我的解决方案并没有直接链接到这些库.因此,我正在使用的东西一定是需要这些库,而它们却没有找到它们.

那么,关于我应该在哪里获取这些文件的任何建议?

干杯,

Dave

I've been working on a C++ solution with MSVC 2015 for some time now. I was originally developing on an old Windows 7 machine, but recently got an upgrade to a newer one with Windows 10. I installed VC2015, and it builds my project just fine in both debug and release. I can even run it in release, but when I run it in debug I get a bunch of error dialogs saying that I am missing msvcp110d.dll and msvcr110d.dll.

After googling around, I can't seem to find any info on those libraries. I can, however, find info on msvcp110.dll and msvcr110.dll (without the 'd' at the end), and that they come from the VC2012 redistributables. Presumeably, the missing ones with the 'd' at the end are debug versions.

I tried installing the 2012 redistributables, but still get the error. Searching on my machine shows that those DLLs are nowhere to be found, so it's not just a path thing, but that the libraries are missing. If I look on my Win7 machine, those DLLs are in the sysWOW folder. I could copy them over, but that sometimes comes with other evils -- versions being out of sync, etc.

Also, I should mention that my solution doesn't link directly against these libraries. So, something I am using must be requiring these libraries, and they are not finding them.

So, any suggestion as to where I should get those files?

Cheers,

Dave

推荐答案

Dave,

感谢您在MSDN论坛中发帖.

Thank you for posting in MSDN forum.

>>但最近通过Windows 10升级到了较新的版本

某些社区成员在升级到win10后遇到了与您相同的麻烦.

Some community members got the same trouble as yours after upgrade to win10.

错误信息确实表明可重新分发的安装程序已混乱,它混合了64位和32位dll.

The error information indeed indicates that the redistributable installer is messed up, it mixes up 64bit and 32bit dll's.

您可以通过查看vcruntime140.dll文件大小来检查是否有此问题.在Windows文件夹中搜索"vcruntime140";您应该会看到4个文件(在发布和调试版本中均为64和32位).如果任何文件具有相同的大小,则您 需要对可重新分发的文件进行修复.

You could check if you have this problem by looking at the vcruntime140.dll file size. Search your windows folder for "vcruntime140" you should see 4 files (64 and 32 bit in both release & debug versions). If any files have the same size, you need to run a repair on the redistributable.

有关更多详细信息,请参阅以下主题中的TimVdG答复:
http://stackoverflow.com/questions/33855177/multiple- errors-installing-visual-studio-2015-community-edition/34008086

For more details, please refer to TimVdG's reply in the following thread:
http://stackoverflow.com/questions/33855177/multiple-errors-installing-visual-studio-2015-community-edition/34008086

最好的问候


这篇关于调试可再发行文件中缺少的DLL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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