博客
关于我
c1xx: fatal error C1356: 无法找到 mspdbcore.dll
阅读量:77 次
发布时间:2019-02-26

本文共 976 字,大约阅读时间需要 3 分钟。

 

 DCNv2编译出了问题

 

c1xx: fatal error C1356: 无法找到 mspdbcore.dll

error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Professional\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2

原因:vs2017版本不对,具体原因还不知道

解决方法:

选择vs2015 的x64 控制台编译就好了。

其实也同时选择了cl.exe 的版本和路径。

 

vs2015和vs2017可以同下面的方法解决:

vs2017解决方法:

C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE

把:msobj140.dll, mspdb140.dll, mspdbcore.dll, mspdbsrv.exe四个文件复制到:

C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\bin\Hostx86\x64

有两个文件会提示覆盖,选择覆盖。

 

vs2015解决:

1. 找到VS2015 IDE的安装目录,以本人电脑上的目录为例: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE

2.将IDE目录中的msobj140.dll, mspdb140.dll, mspdbcore.dll, mspdbsrv.exe四个文件复制到VC的bin目录下覆盖原有文件,以本人电脑为例VC/bin的目录为:

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin

3.打开VS2015 新建一个C++的win32 控制台程序试一下是否还出现Link1171错误

4.如果还出现这个错误,请将VC/bin目录加入到系统环境变量Path中用分号隔开,重启计算机。

转载地址:http://ajck.baihongyu.com/

你可能感兴趣的文章
NMF(非负矩阵分解)
查看>>
nmon_x86_64_centos7工具如何使用
查看>>
NN&DL4.1 Deep L-layer neural network简介
查看>>
NN&DL4.3 Getting your matrix dimensions right
查看>>
NN&DL4.7 Parameters vs Hyperparameters
查看>>
NN&DL4.8 What does this have to do with the brain?
查看>>
nnU-Net 终极指南
查看>>
No 'Access-Control-Allow-Origin' header is present on the requested resource.
查看>>
No 'Access-Control-Allow-Origin' header is present on the requested resource.
查看>>
NO 157 去掉禅道访问地址中的zentao
查看>>
no available service ‘default‘ found, please make sure registry config corre seata
查看>>
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
查看>>
no connection could be made because the target machine actively refused it.问题解决
查看>>
No Datastore Session bound to thread, and configuration does not allow creation of non-transactional
查看>>
No fallbackFactory instance of type class com.ruoyi---SpringCloud Alibaba_若依微服务框架改造---工作笔记005
查看>>
No Feign Client for loadBalancing defined. Did you forget to include spring-cloud-starter-loadbalanc
查看>>
No mapping found for HTTP request with URI [/...] in DispatcherServlet with name ...的解决方法
查看>>
No mapping found for HTTP request with URI [/logout.do] in DispatcherServlet with name 'springmvc'
查看>>
No module named 'crispy_forms'等使用pycharm开发
查看>>
No module named 'pandads'
查看>>