打印

在windows环境,使用mingw编译boost

[复制链接]
589|1
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
keer_zu|  楼主 | 2019-1-29 16:22 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 keer_zu 于 2019-1-29 16:26 编辑

1. 下载 boost 代码,解压
2. 在当前目录下执行:
D:\tools\boost_1_69_0>bootstrap.bat mingw


然后当前目录会有文件生成:

Building Boost.Build engine

Bootstrapping is done. To build, run:

    .\b2

To adjust configuration, edit 'project-config.jam'.
Further information:

    - Command line help:
    .\b2 --help

    - Getting started guide:
    http://boost.org/more/getting_started/windows.html

    - Boost.Build documentation:
    http://www.boost.org/build/doc/html/index.html

让后用生成的 b2.exe:
D:\tools\boost_1_69_0>b2.exe --prefix=d:\tools\boost_1_69_0 --build-type=complet
e toolset=gcc threading=multi



相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

个人签名:qq群:49734243 Email:zukeqiang@gmail.com

1314

主题

12271

帖子

53

粉丝