libtorrent

boost (version: 1_49_0):

1) download boost source code and extract (assume extract to E:\boost\boost_1_49_0)

2) enter the source code directory and execute

          booststrap.bat

    it generates b2.exe and bjam.exe

3) build

         bjam -q --with-filesystem --with-thread --toolset=msvc variant=release link=static runtime-link=shared       

4) add envrionment variable

        BOOST_ROOT: E:\boost\boost_1_49_0

 

OpenSSL

1) download source code

2) build (need Perl)

        ms\32all.bat

libtorrent:

1) download source code

2) build       

bjam --without-python --toolset=msvc variant=release link=static runtime-link=shared logging=none geoip=static dht-support=on boost=source define="BOOST_FILESYSTEM_VERSION=2" include=e:\OpenSSL\openssl-1.0.1a\include

你可能感兴趣的:(libtorrent)