当前位置:网站首页>解决msvcp120d.dll和msvcr120d.dll缺失
解决msvcp120d.dll和msvcr120d.dll缺失
2022-07-03 10:58:00 【qq_37705525】
VS2015配置OpenCV2.4.xx之后,会出现如下问题:
原因:微软的Visual Studio最终用户许可协议是禁止发布调试版(名字后面有D)的DLL的,msvcp120d.dll和msvcr120d.dll是VS2013版本中的调试库文件,存在于路径:D:\softwares\Microsoft Visual Studio 12.0\VC\redist\x86\Microsoft.VC120.CRT中,VS2015版中只有msvcp140d.dll和msvcr140d.dll,但是OpenCV2.4.xx用的库版本最高为VC12,该库并没有升级VC14,我们需要用到VS2013的调试库文件,所以会造成msvcp120d.dll和msvcr120d.dll的缺失。
解决方法:网上的方法是下载msvcp120d.dll和msvcr120d.dll到系统路径:C:\Windows\System32或C:\Windows\SysWOW64。但是我认为这样做不可取,随意添加问价到系统路径中容易与其他软件的安装发生冲突。我们可以将其放到OpenCV库路径中:D:\softwares\OpenCV\opencv\build\x86\vc12\bin。这样当我们不使用opencv时也不会调用这两个库文件,比较安全。
边栏推荐
- Oracle withdraw permission & create role
- One hot code
- C语言日志库zlog基本使用
- Stm32hal library upgrades firmware based on flash analog U disk (detailed explanation)
- GCC compilation process and dynamic link library and static link library
- Uniapp implementation Click to load more
- 2022-07-02: what is the output of the following go language code? A: Compilation error; B:Panic; C:NaN。 package main import “fmt“ func mai
- Xml的(DTD,xml解析,xml建模)
- DS90UB949
- ASP. Net hotel management system
猜你喜欢

基于I2C协议的驱动开发

Mmc5603nj geomagnetic sensor (Compass example)

After a month, I finally got Kingdee offer! Share tetrahedral Sutra + review materials

Kibana~Kibana的安装和配置

Slam mapping and autonomous navigation simulation based on turnlebot3

鸿蒙第三次培训(项目实训)

STL教程9-容器元素深拷贝和浅拷贝问题

Software testing weekly (issue 78): the more confident you are about the future, the more patient you are about the present.

软考中级软件设计师该怎么备考

C language AES encryption and decryption
随机推荐
FL Studio 20无限试用版水果编曲下载
How to make others fear you
Machine learning 3.2 decision tree model learning notes (to be supplemented)
VPP three-layer network interconnection configuration
One hot code
POI excel cell wrap
鸿蒙第四次培训
.\vmware-vdiskmanager.exe -k “c:\\xxxxx.vmdk”
How PHP solves the problem of high concurrency
[OBS] configFile in ini format of OBS
Oracle 11g single machine cold standby database
R语言使用gridExtra包的grid.arrange函数将ggplot2包的多个可视化图像横向组合起来,ncol参数自定义组合图列数、nrow参数自定义组合图行数
R language uses grid of gridextra package The array function combines multiple visual images of the lattice package horizontally, and the ncol parameter defines the number of columns of the combined g
Excel快速跨表复制粘贴
Linear table sequence table comprehensive application problem p18
【学习笔记】dp 状态与转移
Solicitation for JGG special issue: spatio-temporal omics
抓包整理外篇fiddler———— 会话栏与过滤器[二]
Mmc5603nj geomagnetic sensor (Compass example)
Gut | Yu Jun group of the Chinese University of Hong Kong revealed that smoking changes intestinal flora and promotes colorectal cancer (do not smoke)