오픈소스 연구/libtorrent

Building libtorrent with Visual Studio

ryujt 2016. 3. 18. 23:16



boost  설치


boost 파일을 다운받고 boost가 root 위치에서 아래와 같이 실행합니다. (http://www.boost.org/)

  • C:\boost root>bootstrap.bat
  • C:\boost root> b2 --with-system --with-date_time --with-python



libtorrent 설치


libtorrent 파일을 다운받고 아래와 같이 실행합니다.  (https://github.com/arvidn/libtorrent/releases)

  • C:\libtorrent root> set BOOST_BUILD_PATH=C:\boost_root
  • C:\libtorrent root> set PATH=%BOOST_BUILD_PATH%;%PATH%
  • C:\libtorrent root> b2 boost=source link=static geoip=static boost-link=static release optimization=space



기타