Setup Boost

Boost is so good a thing for c++ developer. Although have not try it yet, but just have a little look, that I can not wait to try it .

 

now let me setup it.

 

1. get the source from http://www.boost.org/ . the source code should be build with a bjam thing, you can download the bjam execute from the site also, or just generate it from the soure code , which I think is better.

 

2. build jam.

 

come to tools/build/jam_src in dos command console, and run build.bat, you can get the bjam.exe in tools/build/jam_src/bin.ntx86 (ofcourse, you are using window :) ), and copy it to source code root;

 

3. compile boost

 

before this, ensure that tha Python has been set up, and the bin of Python should be set in the environment variable PATH.

 

then cd to the root of boost source code, and run the following command:

 

first you can get boost command with: bjam -help

 

then you can get all of the libs by :

 

bjam stage --toolset=msvc-9.0 " complete

 

then all the libs are in the new folder stage.

 

Referred article: http://www.cnblogs.com/finallyliuyu/archive/2010/08/23/1806811.html

 

4. Enjoy it.

 

Set the include and libraries path to VS project seting and enjoy it.

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值