【问题标题】:C++ build boost 1.57.0 VS2013 x64 Native Tools Command PromptC++ build boost 1.57.0 VS2013 x64 Native Tools 命令提示符
【发布时间】:2018-07-03 10:34:11
【问题描述】:

使用

启动构建后
b2 toolset=msvc-12.0 variant=release threading=multi link=shared

我看到...found 600 targets...

E:\boost_1_57_0\boost_1_57_0\tools\build>b2 工具集=msvc-12.0 variant=release threading=multi link=shared ...找到 600 个目标...

E:\boost_1_57_0\boost_1_57_0\tools\build>

staged/libs 的任何目录都没有出现在boost_1_57_0 文件夹中?我做错了什么?如何构建lib文件?

更新

bjam --toolset=msvc-12.0 --build-type=complete --prefix=D:\Boost install之后 我在控制台中只看到结果输出...found 819 targets... 找到什么意思?我确实看到了任何 .lib 文件!

【问题讨论】:

    标签: c++ boost


    【解决方案1】:

    按照此网址中给出的步骤(更简单):
    https://theboostcpplibraries.com/introduction-installation(可用于 linux 和 windows)

    备用网址(适用于 unix 和 linux):
    https://www.boost.org/doc/libs/1_61_0/more/getting_started/unix-variants.html

    共享库和静态库都可以通过上述 URL 步骤轻松创建。
    注意:库位于系统中的 /usr/local/lib 中。

    【讨论】:

      猜你喜欢
      • 2015-01-30
      • 1970-01-01
      • 1970-01-01
      • 2014-02-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-08-01
      • 2011-10-26
      相关资源
      最近更新 更多