BOOST 1.56 简明配置方法,资源整理



本文给初次接触boost的同学提供一点方便:

        BOOST1.56资料整理:http://pan.baidu.com/s/1hqtdJjI

    其中 :

        boost-book: 几个教程

        boost1-56bin.rar:win7-64b环境下,vs2010的编译好的库

        boost_1_56_0.zip:  1.56源代码


Boost快速使用方法:

     如果你是vs2010,

      (1)下载 boost1-56bin.rar,解压到磁盘

     (2)在你的工程中应用之,即设置好include 和 lib路径


如果你用的vs2013或者其他环境的话,需自行编译,参照方法如下:

(1)源代码:需要自己编译后使用

        http://softlayer-dal.dl.sourceforge.net/project/boost/boost/1.56.0/boost_1_56_0.zip

(2) 编译方法:  

        写得比较清楚博文:http://www.cnblogs.com/zhcncn/p/3950477.html

        如果常规使用,建议使用如下命令行(VS2010+静态库),编译:bjam install--toolset=msvc-10.0 --without-python --prefix="C:\boost\bin\vc10" link=static runtime-link=static runtime-link=static threading=multi debug release

        如果缺少哪个库,再重新单独编译这个库,例如单独编译thread库 :

bjam install--toolset=msvc-10.0 --with-thread --prefix="C:\boost\bin\vc10" link=static runtime-link=static runtime-link=static threading=multi debug release

        本人编译好的库见上述网盘:http://pan.baidu.com/s/1hqtdJjI 

        参考博文1:  VS2010编译Boost 1.56    http://blog.csdn.net/kangroger/article/details/39393769

         如果要用到第三方库,如python,参考博文:http://blog.csdn.net/qiuxin315/article/details/40263235

 (3)应用

       包含头文件的Include路径:C:\boost\bin\vc10\include\boost-1_56\boost    根据自己的路径修改

       包含库文件的链接路径:C:\boost\bin\vc10\lib

      




评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值