zoukankan      html  css  js  c++  java
  • boost_1.61.0编译安装

    1、下载源码boost_1_61_0.zip

    2、进入目录 C:Program Files (x86)Microsoft Visual Studio 12.0Common7ToolsShortcutsVS2013 x86 Native Tools Command Prompt

    3、进入目录 boost_1_61_0执行bootstrap

    4、

    If you wish to build from source with Visual C++, you can use a simple build procedure described in this section.

    Open the command prompt and change your current directory to the Boost root directory. Then, type the following commands:

    bootstrap
    .2

    The first command prepares the Boost.Build system for use.

    The second command invokes Boost.Build to build the separately-compiled Boost libraries. Please consult the Boost.Build documentation for a list of allowed options.

    使用下面的编译选项生成动态库:

    boost_1_61_0>b2 --build-dir=boost-build --build-type=complete --stage
    dir=boost-output variant=debug,release link=shared threading=multi address-model
    =32 toolset=msvc-12.0 runtime-link=shared --with-thread

    使用下面的编译选项生成静态库:
    boost_1_61_0>b2 --build-dir=boost-build --build-type=complete --stage
    dir=boost-output variant=debug,release link=static threading=multi address-model
    =32 toolset=msvc-12.0 runtime-link=shared --with-thread

    boost:
    ....oost_1_61_0oost-outputlib

    b2 --show-libraries,可查看所有必须编译才能使用的库
    --with-thread
    libboost_thread-vc120-mt-1_61.lib
    libboost_chrono-vc120-mt-1_61.lib
    libboost_system-vc120-mt-1_61.lib

    --with-date_time
    libboost_date_time-vc120-mt-1_61.lib

    --with-regex

  • 相关阅读:
    pwdLastSet AD
    快递条形码类型
    Sharepoint 应用程序池自动停止
    Visual Studio 2015安装后“无法启动iis express web 服务器”
    Knockout自定义绑定数据逻辑
    Knockout基本绑定数据
    TableAttribute同时存在于
    微服务架构下的鉴权,怎么做更优雅?
    使用 Yopto 插件给商品添加评论
    Docker 基本概念
  • 原文地址:https://www.cnblogs.com/zxpo/p/5725298.html
Copyright © 2011-2022 走看看