代码之家  ›  专栏  ›  技术社区  ›  A191919

C++构建Boost 1.7.0VS2013 X64本机工具命令提示符

  •  0
  • A191919  · 技术社区  · 7 年前

    在启动build之后

    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文件!

    1 回复  |  直到 7 年前
        1
  •  1
  •   HarshGiri    7 年前

    遵循此URL中给出的步骤(更简单):
    https://theboostcpplibraries.com/introduction-installation (可用于Linux和Windows)

    备用URL(用于UNIX和Linux):
    https://www.boost.org/doc/libs/1_61_0/more/getting_started/unix-variants.html

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