需要編譯的庫:
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