【问题标题】:link error libboost_filesystem-vc140-mt-1_61.lib, but I have boost_filesystem-vc140-mt-1_61.lib链接错误 libboost_filesystem-vc140-mt-1_61.lib,但我有 boost_filesystem-vc140-mt-1_61.lib
【发布时间】:2017-09-02 08:55:54
【问题描述】:

我在 VS 中有一个链接错误。 找不到libboost_filesystem-vc140-mt-1_61.lib。 但我有boost_filesystem-vc140-mt-1_61.lib。 为什么VS总是要找libboost_filesystem-vc140-mt-1_61.lib

我在链接器->输入中添加了boost_filesystem-vc140-mt-1_61.lib

你能帮帮我吗?非常感谢!

【问题讨论】:

    标签: c++ visual-studio boost


    【解决方案1】:

    libboost* 是静态库。使用 BOOST_ALL_DYN_LINK 链接到动态库。见Building Boost libraries for Visual Studio

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-03-26
      • 1970-01-01
      • 2018-04-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多