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

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

编译错误提示无法找到mspdbcore.dll,可能与Visual Studio版本不兼容有关。以下是解决方法:

  • 选择正确的Visual Studio版本:使用Visual Studio 2015进行编译,避免2017版本的兼容性问题。

  • 复制必要文件

    • 找到Visual Studio 2015的IDE目录,如C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE。
    • 复制msobj140.dll、mspdb140.dll、mspdbcore.dll和mspdbsrv.exe到VC的bin目录,路径为C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin,覆盖原有文件。
  • 测试编译:创建新C++ Win32项目,编译查看是否还有错误。

  • 环境变量配置:如果仍有错误,将VC的bin目录添加至系统环境变量Path中,使用分号分隔,重启电脑后再次编译。

  • 通过以上步骤,应该能解决无法找到mspdbcore.dll的问题。

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

    你可能感兴趣的文章
    Pinia:$patch的使用场景
    查看>>
    Pinia:$subscribe()的使用场景
    查看>>
    Pinpoint对Kubernetes关键业务模块进行全链路监控
    查看>>
    Pinterest 大规模缓存集群的架构剖析
    查看>>
    pintos project (2) Project 1 Thread -Mission 1 Code
    查看>>
    PinYin4j库的使用
    查看>>
    PIP
    查看>>
    pip install goose-extractor // SyntaxError: Missing parentheses in call to 'print'
    查看>>
    pip install mysqlclient报错
    查看>>
    pip install 出现报asciii码错误的解决
    查看>>
    pip throws TypeError: parse() got an unexpected keyword argument ‘transport_encoding‘ 在尝试安装新软件包时
    查看>>
    pip 下载慢
    查看>>
    pip 升级报错AttributeError: ‘NoneType’ object has no attribute ‘bytes’
    查看>>
    pip 安装opencv-python卡死
    查看>>
    pip 安装出现异常
    查看>>
    Pip 安装失败:需要 SSL
    查看>>
    Pip 安装挂起
    查看>>
    pip 或 pip3 为 Python 3 安装包?
    查看>>
    pip 文件损坏导致 pip无法使用 报错 ImportError: cannot import name 'main' from 'pip._int
    查看>>
    pip 无法从 requirements.txt 安装软件包
    查看>>