Building of BBv2 for libtorrent

242 views Asked by At

I am following this guide to build libtorrent for python 3.6, but i'm stuck at this portion.

Change directory to c:\boost_1_55_0\tools\jam\src. Then run the script called build.bat or build.sh on a unix system.

First you need to build bjam. You do this by opening a terminal (In windows, run cmd). Change directory to c:\boost_1_55_0\tools\jam\src. Then run the script called build.bat or build.sh on a unix system. This will build bjam and place it in a directory starting with bin. and then have the name of your platform. Copy the bjam.exe (or bjam on a unix system) to a place that's in you shell's PATH. On linux systems a place commonly used may be /usr/local/bin or on windows c:\windows (you can also add directories to the search paths by modifying the environment variable called PATH).

I am using the latest build for boost here which is 1.65.1. All i've done is to extract it to a folder.

Issue

I don't see a build.bat within this specific folder that i should be using to build bjam with. Is there a more clearer way to install libtorrent on windows for python?

1

There are 1 answers

3
Arvid On

you could get a boost installer separately, with a prebuilt bjam and boost-build. e.g. this or this .

The issue with those instructions is that newer versions of the boost package moved things around a bit. You'll now find the bjam build script at:

/tools/build/src/engine