【问题标题】:Building boost_exception library in windows VS2015在 windows VS2015 中构建 boost_exception 库
【发布时间】:2016-10-04 09:39:22
【问题描述】:

我正在尝试构建 boost 异常库,但无法这样做。这是我所做的。

cd <to boost dir>
bootstrap.exe 
b2.exe link=shared runtime-link=shared --with-exception

这会生成静态库libboost_exception-&lt;...&gt;.lib,但不会生成boost_exception-&lt;...&gt;.libboost_exception-&lt;...&gt;.dll

我正在使用 Visual Studio 开发人员命令提示符来构建 boost。

我可能做错了什么?

【问题讨论】:

  • 你没有做错什么,只是 Boost.Exception requires 是用静态链接构建的(不知道为什么)。

标签: c++ windows visual-c++ boost build


【解决方案1】:
猜你喜欢
  • 2017-12-22
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2017-03-19
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多