我正在关注guide为python 3.6
建立libtorrent,但我仍然坚持这一部分。
将目录更改为c:\ boost_1_55_0 \ tools \ jam \ src。然后在unix系统上运行名为build.bat或build.sh的脚本。
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).
我正在使用boost
here的最新版本,即1.65.1。我所做的就是将其解压缩到一个文件夹中。
问题
我在这个特定文件夹中看不到build.bat
,我应该用它来构建bjam
。有没有更清晰的方法在Windows上为python安装libtorrent?