vcomp120.dll找不到

机器环境说明:

  • Visual Studio的话,只装了Visual Studio 2017。
  • vc_redist的话,只装了VS2017的版本。

发生问题的场景:

  • 使用VS2017,编译ld工程,它编译出库ld;ld依赖于neat库,neat库是预先用VS2015编译好的
  • 使用VS2017,编testbed,依赖ld库和neat库。运行报错提示vcomp120.dll找不到

解决:安装vc_redist的2013版本: https://www.microsoft.com/en-us/download/details.aspx?id=40784

看下载提示有arm, x86和x64三个版本。我装了x64的。

vcredist作用

  vcredist_x86.exe是微软公司Visual C++的32位运行时库,包含了一些Visual C++的库函数。

  vcredist_x64.exe是微软公司Visual C++的64位运行时库,包含了一些Visual C++的库函数。

一般用Visual C++开发的Windows应用程序需要这个运行时库的支持才能在没有安装Visual C++的计算机上正常运行
原文地址:https://www.cnblogs.com/zjutzz/p/13539488.html