vs2010 编译boost库

1 官网下载boost源码 http://www.boost.org/

2 用vs2010 的工具里面命令行(Visual Studio 命令提示(2010) , 可以不使用,直接用CMD也可以编译),进入到boost目录(例如:D:\boost_1_61_1),运行booststrap.bat, 生成了b2.exe、bjam.exe、project-config.jam文件

3 继续运行命令 bjam stage --toolset=msvc-10.0 --build-type=complete   link=static runtime-link=shared threading=multi debug release ,会在D:\boost_1_61_1\stage\lib找到库文件

 

posted @ 2016-06-24 16:29  苍洱  阅读(1135)  评论(0编辑  收藏  举报