-
Notifications
You must be signed in to change notification settings - Fork 1
Compiling gtorrent win32 on Windows
Microsoft Visual Studio (Express) -- Download
Latest libtorrent-rasterbar -- Download
Latest Boost -- Download
Boost Build Nightly -- Download
Latest version at the time of writing are
libtorrent-rasterbar 1.0.1
Boost 1.56
-
Download and install MS Visual Studio.
-
Create a workspace folder where all of the development libs and code will be built. In this tutorial, I have chosen, D:\gtorrent\ . I will refer to this folder as GTROOT. Just replace GTROOT with the workspace location.
-
Extract boost-build, Boost and libtorrent-rasterbar to GTROOT.
-
Go to Start -> Visual Studio 2013 -> Visual Studio Tools -> VS2013 x64 Cross Tools Command Prompt. This will open up the command prompt.
-
Using command prompt, go (cd) to GTROOT\boost-build.
-
Execute bootstrap.bat.
-
Execute "set PATH=GTROOT\boost-build;%PATH%"
-
Now, go (cd) to libtorrent-rasterbar folder (GTROOT\libtorrent-rasterbar-1.0.1)
-
Execute "set BOOST_ROOT=GTROOT\boost_[version]" (eg. GTROOT\boost_1_55_0)
-
Execute "b2 -j8 variant=debug,release link=static runtime-link=shared address-model=64 boost=source dht=on geoip=static asserts=off logging=none optimization=space invariant-checks=off deprecated-functions=off statistics=off"