码迷,mamicode.com
首页 > 其他好文 > 详细

编译boost

时间:2017-02-05 20:37:59      阅读:193      评论:0      收藏:0      [点我收藏+]

标签:bug   msvc   文件   str   静态   tag   nbsp   命令编译   visual   

1.打开visual studio 2012 命令提示

2.进入 boost目录

3.运行booststrp.bat得到b2.exe、bjam.exe、project-config.jam文件

4.运行命令

bjam stage --with-thread --toolset=msvc-11.0 --build-type=complete  link=static runtime-link=static threading=multi debug release

本条命令编译出thread库的lib静态库

编译boost

标签:bug   msvc   文件   str   静态   tag   nbsp   命令编译   visual   

原文地址:http://www.cnblogs.com/zhangdongsheng/p/6368355.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!