boost 库编译64位

来源:互联网 发布:合成器软件 编辑:程序博客网 时间:2024/05/16 10:00

boost大部分库只需要包含头文件即可使用,而有部分需要编译的,如下:

bjam --show-librariesThe following libraries require building:    - atomic    - chrono    - container    - context    - coroutine    - date_time    - exception    - filesystem    - graph    - graph_parallel    - iostreams    - locale    - log    - math    - mpi    - program_options    - python    - random    - regex    - serialization    - signals    - system    - test    - thread    - timer    - wave

需要打开vs的命令行工具来执行bootstrap.bat,生成b2.exe,如果要编译64位的boost,则需要打开x64的命令行工具,以生成64位的b2.exe,然后在选项中加上address-model=64。
另外toolset的值,
vs15 – msvc-14.0
vs13 – msvc-12.0
等等。

1 0
原创粉丝点击