MSVSP100D.dll缺少在窗口8中使用OpenCV 2.4.1的工作 [英] MSVSP100D.dll missing working with opencv 2.4.1 in window 8

查看:126
本文介绍了MSVSP100D.dll缺少在窗口8中使用OpenCV 2.4.1的工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有以下情况:

我正在尝试在Windows 8中使用Visual Studio 2012,opencv 2.4.1. 然后,当我尝试运行我的应用程序时,出现以下消息错误:

I am trying to work with visual studio 2012, opencv 2.4.1 in windows 8. Then when I try to run my app I got the following message error:

我知道在堆栈溢出中曾问过有关缺少MSVCP100D.dll的问题, 但是我发生了一些不同的事情:当我在计算机上查找dll时,我注意到 我有一个MSVCP110D.dll,可能是第一个的更高版本.

I know that question about missing MSVCP100D.dll are asked in stackoverflow before, but something different happen to me: when I look for the dll in my computer I note that I have a MSVCP110D.dll which is probably a higher version of the first.

有人可以回答这里发生的事情.

Someone can answer what's going on here.

推荐答案

您没有安装Visual C ++ 2010运行时. Visual Studio 2012安装了11.0版本,但是您的OpenCV似乎已经使用Visual Studio 2010进行了编译,因此需要2010运行时(10.0).您应该可以从这里获取它: http://www .microsoft.com/en-us/download/details.aspx?id = 14632

You don't have the Visual C++ 2010 runtime installed. Visual Studio 2012 installs the 11.0 version, but it seems that your OpenCV has been compiled with Visual Studio 2010 and thus requires the 2010 runtime (10.0). You should be able to get it from here: http://www.microsoft.com/en-us/download/details.aspx?id=14632

由于它正在寻找 D 版本,因此您可以看到它是内置于Debug中的.合法地,运行时库无法在调试中重新分发,因此您可以使用以下选项:

Because it's looking for the D version you can see it's built in Debug. Legally the run-time libraries cannot be redistribute in debug so you have these options:

  • 安装Visual Studio 2010(至少为VC ++),以便您拥有必需的文件.
  • 在发布模式下编译OpenCV(因此它不需要运行时的Debug版本).然后,您只需要安装vcredist100可再发行产品.

在每种情况下,要部署应用程序,您都需要同时包括VC ++ redist的两个版本:应用程序的版本11和OpenCv的版本10(这是强制性的).

In every case to deploy your application you'll need to include both versions of the VC++ redists: version 11 for your application and version 10 for OpenCv (this is mandatory).

请注意,您可能不能在Visual Studio 2010和12之间链接二进制文件.

Notice that you might not be able to link binaries between Visual Studio 2010 and 12.

这篇关于MSVSP100D.dll缺少在窗口8中使用OpenCV 2.4.1的工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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