zoukankan      html  css  js  c++  java
  • VS2015 MSVCRTD.lib(_chandler4gs_.obj) : error LNK2019: unresolved external symbol __except_handler4_common referenced in function __except_handler4

    今天在VS2015中用编译好的QT5静态库打包软件,配置好QT的静态环境后,

    发现报MSVCRTD.lib(_chandler4gs_.obj) : error LNK2019: unresolved external symbol __except_handler4_common referenced in function __except_handler4

    错误,显然__except_handler4 是定义在VC运行时库的函数,显然这个函数被自动linked了,肯定是某个地方使用了动态链接到运行时库的

    lib了,排查排查,果然,只有一个模块zlib.lib,我用了里面的crc校验和文件操作的函数,但是使用的函数并没报错,可能是提前的error已经出现,

    后面的errror还没有链接到,所有函数没报链接错误,MSVCRTD.lib(_chandler4gs_.obj) : error LNK2019: unresolved external symbol __except_handler4_common referenced in function __except_handler4错误,所以我先去掉了这个zlib.lib,果然,程序编译成功。

  • 相关阅读:
    python
    python
    python
    Django学习手册
    python
    Django学习手册
    [ThinkPHP] 独立分组配置,坑!!!
    vim 代码片段:通过vundle插件管理器安装ultisnips |centos6.5|vim7.2
    CESHI
    thinkphp实现功能:验证码
  • 原文地址:https://www.cnblogs.com/Forever-Kenlen-Ja/p/7063243.html
Copyright © 2011-2022 走看看