I\'ve built the x86 Boost libraries many times, but I can\'t seem to build x64 libraries. I start the \"Visual Studio 2005 x64 Cross Tools Command Prompt\" and run my usual
With b2 the command is:
b2 --build-dir=build/x64 address-model=64 threading=multi --build-type=complete --stagedir=./stage/x64
It will show default address-model: 32-bit at the beginning but will still build in 64-bit (how confusing).You should have the dlls created with names such as library-vc140-mt-x64-1_71.dll confirming it is 64-bit.
source: Building Boost 32-bit and 64-bit libraries on Windows