Jiwu Bu

  C++博客 :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理 ::
  32 随笔 :: 0 文章 :: 25 评论 :: 0 Trackbacks
需要编译的库:
date_time
filesystem
function_types
graph
iostreams
math
mpi
program_options
python
regex
serialization
signals
system
test
thread
wave


Windows:
1、开始菜单--Microsoft Visual Studio 2008--Visual Studio Tools---Open Visual Studio 2008 Command Prompt 打开命令行窗口
3、利用cd命令进入到:boost->toos->jam->src目录
4、编译,vc 2008输入命令:build vc9
5、把生成的bjam.exe(bin.ntx86目录下)拷贝到Boost根目录下,输入命令:
6、bjam --with-regex

Linux:
 $cd path/to/boost_1_40_0
 $ ./bootstrap.sh
 产生bjam文件
 
 $ ./bjam install  安装所有
 $./bjam --with-regex  安装特定的库
 $./bjam --with-filesystem

 #./bjam --with-filesystem "-sTOOLS=gcc" "--includedir=/usr/include" "--libdir=/usr/lib/boost" install

posted on 2009-11-23 13:31 bujiwu 阅读(706) 评论(0)  编辑 收藏 引用 所属分类: Boost

只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理