首页 > 其他 > 详细

boost1_55_0安装

时间:2014-01-28 20:06:34      阅读:451      评论:0      收藏:0      [点我收藏+]

1、在www.boost.org下载文件并解压

2、进行解压目录

    2.1 编译前的配置工作

    执行bootstrap.bat  windows

    修改\boost_1_55_0\tools\build\v2\user-config.jam文件,使用vs2010

    # Configure specific msvc version (searched for in standard locations and PATH).
    # using msvc : 8.0 ;
    using msvc : 10.0 ;

    执行./bootstrap.sh linux

     2.2 编译

     b2.exe --buildtype=complete stage windows

     ./b2 --buildtype=complete stage linux

     2.3  可以选择库进行编译

     b2 --show-libraries,可查看所有必须编译才能使用的库

     b2 --with-date_time --with-thread --buildtype=complete stage 只编译date_time 和thread库

3、引用相头的库即可使用。

    

boost1_55_0安装

原文:http://www.cnblogs.com/zxpo/p/3535554.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!