libtorrent.lib编译之boost

 

1、boost_1_39_0.tar.bz2,解压到F:\boost_1_39_0

2、下载icu4c-4_2_1-Win32-msvc9.zip,解压到F:\boost_1_39_0,出现F:\boost_1_39_0\icu,添加icu的bin目录到path环境变量中

编译

3、执行F:\boost_1_39_0\tools\jam\build_dist.bat,生成文件F:\boost_1_39_0\tools\jam\stage\bin.ntx86\bjam.exe,把bjam.exe拷贝到F:\boost_1_39_0目录下

4、在F:\boost_1_39_0目录新建一个bat文件,命名为:bootstrap_vc8.bat,内如为:

REM used with regex library with unicode support
set ICU_PATH="F:/boost_1_39_0/icu"

REM lib版本
bjam --without-python --toolset=msvc-9.0

5、执行bootstrap_vc8.bat即可,结果生成的静态库放在F:\boost_1_39_0\stage\lib,动态库及编译文件都在F:\boost_1_39_0\bin.v2\libs中

你可能感兴趣的:(regex,Build,Path,library,tools)