keer_zu 发表于 2019-1-29 16:22

在windows环境,使用mingw编译boost

本帖最后由 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


页: [1]
查看完整版本: 在windows环境,使用mingw编译boost