zoukankan      html  css  js  c++  java
  • NTL VS

    NTL  lib编译,在VS2013下编译好的库,在VS2015中使用报错

    Severity Code Description Project File Line Suppression State
    Error LNK2038 mismatch detected for '_MSC_VER': value '1800' doesn't match value '1900' in Source.obj Mul_from_Bset D:cppMul_from_BsetMul_from_BsetNTL.lib(tools.obj) 1 

    需要重新在VS2015中,打包生成lib文件

    打开VS->文件->新建->项目->Win32 控制台应用程序->名称:NTLlib_VS2015->欢迎使用 Win32 应用程序向导->下一步->应用程序设置:如下图所示

    点击完成

    2、右键工程NTLlib_VS2015-》添加-》现有项-》选择从网上下载的WinNTL库,将src目录下的所有文件都添加进去,

    3、右键工程-》properties-》C/C++-》General  包含NTL的include目录

    4、build   在debug 下生成库

  • 相关阅读:
    Count_sort C++
    Priority_Queue C++
    HeapSort C++
    Randomized_QuickSort C++
    QuickSort c++
    我的开发环境
    github and eclipse
    centos 7 install eclipse cdt and use github
    github commands
    文化-梁晓声
  • 原文地址:https://www.cnblogs.com/codingtao/p/5977251.html
Copyright © 2011-2022 走看看