当前位置:网站首页>解决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时也不会调用这两个库文件,比较安全。
边栏推荐
- 活动预告 | 直播行业“内卷”,以产品力拉动新的数据增长点
- MATLAB extrait les données numériques d'un fichier txt irrégulier (simple et pratique)
- R语言使用aggregate函数计算dataframe数据分组聚合的均值(sum)、不设置na.rm计算的结果、如果分组中包含缺失值NA则计算结果也为NA
- Excel表格转到Word中,表格不超边缘纸张范围
- C语言二维数组
- VPP three-layer network interconnection configuration
- 剑指offer专项32-96题做题笔记
- R language uses the aggregate function to calculate the mean value (sum) of dataframe data grouping aggregation without setting na The result of RM calculation. If the group contains the missing value
- STL教程9-容器元素深拷贝和浅拷贝问题
- Double linked list of linear list
猜你喜欢

PHP server interacts with redis with a large number of close_ Wait analysis

Numpy np.max和np.maximum实现relu函数

Excel快速跨表复制粘贴

Mmc5603nj geomagnetic sensor (Compass example)

Use typora to draw flow chart, sequence diagram, sequence diagram, Gantt chart, etc. for detailed explanation

Application of high-precision indoor positioning technology in safety management of smart factory

AI模型看看视频,就学会了玩《我的世界》:砍树、造箱子、制作石镐样样不差...

The excel table is transferred to word, and the table does not exceed the edge paper range

LeetCode 46:全排列

MATLAB提取不規則txt文件中的數值數據(簡單且實用)
随机推荐
Machine learning 3.2 decision tree model learning notes (to be supplemented)
AOSP ~ NTP ( 网络时间协议 )
R language ggplot2 visualization: gganimate package creates dynamic line graph animation (GIF) and uses transition_ The reveal function displays data step by step along a given dimension in the animat
Solicitation for JGG special issue: spatio-temporal omics
Key switch: press FN when pressing F1-F12
Web security summary
软考中级软件设计师该怎么备考
Cuiyusong, CTO of youzan: the core goal of Jarvis is to make products smarter and more reliable
How to become a senior digital IC Design Engineer (1-4) Verilog coding syntax: expression
Execute kubectl on Tencent cloud container service node
JGG专刊征稿:时空组学
机器学习 3.2 决策树模型 学习笔记(待补)
Yintai department store ignites the city's "night economy"
After a month, I finally got Kingdee offer! Share tetrahedral Sutra + review materials
Driver development based on I2C protocol
2022年中南大学夏令营面试经验
How PHP solves the problem of high concurrency
用了这么久线程池,你真的知道如何合理配置线程数吗?
[vtk] source code interpretation of vtkpolydatatoimagestencil
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