Issue 1: Unable to open file "Libboost_filesystem-vc140-mt-sgd-1_61.lib". Reference recompile boost
B2 stage architecture=x86 address-model=64 link=static runtime-link=static threading=multi Debug Release
Option description
link=static/shared, static or dynamically compiled boost
Runtime-link=static/shared,boost whether you need to rely on the VC runtime, if you want to bring your own VC runtime available shared
Threading=multi/single, whether multithreading is supported
In the case of a VS version, you can b2–toolset=msvc directly
Multiple words need to specify VS version number b2–toolset=msvc-12.0
Generated file name: Libboost_log-vc120-mt-sgd-1_59.lib, where Mt represents multithreading.
Compiling the Python version of Boost library
Run Boostrap.bat generate B2.exe and Bjam.exe file edit Project-config.jam (Anaconda python3.5 for example)
Import option;
Using Msvc;
Using Python
: 3.5
: "C:\\Program Files\\anaconda3"
: "C:\\Program Files\\anaconda3\\include"
: "c:\\ Program Files\\anaconda3\\libs "
;
Generate Debug Version
Bjam--with-python--prefix=d:\boost Stage toolset=msvc-10.0 variant=debug link=shared address-model=64 threading= Multi runtime-link=shared Install
Generate release version
Bjam--with-python--prefix=d:\boost Stage toolset=msvc-10.0 variant=release link=shared address-model=64 threading= Multi runtime-link=shared Install
Generate the DLL according to the official method and change the corresponding file suffix to PYD