Boost的编译及使用(以VC2008为例)

来源:互联网 发布:2016年淘宝能刷了 编辑:程序博客网 时间:2024/05/09 00:15

boost的下载地址:http://www.boost.org/,目前最新版本为1.54.0,下载后解压,假如解压到C:根目录。

打开VS2008命令行工具,进入Boost的根目录C:\boost_1_54_0,运行bootstrap命令,此时将在C:\boost_1_54_0目录下产生一个bjam编译工具。

键入以下命令进行编译:bjam stage --stage-dir=c:\boost_1_54_0\bin\msvc9 link=shared runtime-link=shared threading=multi toolset=msvc-9.0 --without-graph --without-graph_parallel --without-mpi --without-python --without-wave debug release

原创粉丝点击