I have quite strange problem with building Boost library on Windows for Windows in 64bit format.
I'm using the guide from Getting Started boost documentation. My boost building command looks like this:
b2 --toolset=msvc-14.0 address-model=64 --build-dir="c:\agent\_work\46\s\Boost\Build\x64Win" --stagedir="c:\agent\_work\46\s\Boost\stage" -sBZIP2_SOURCE=c:\agent\_work\46\s\bzip2 -sZLIB_SOURCE=c:\agent\_work\46\s\zlib --build-type=minimal stage -j6
But, the b2 tool somehow ignores my address-model setting and its building 32bit version which is stated in configuration checks:
...found 15 targets...
...updating 8 targets...
common.mkdir c:\agent\_work\46\s\Boost\Build
common.mkdir c:\agent\_work\46\s\Boost\Build\x64Win
common.mkdir c:\agent\_work\46\s\Boost\Build\x64Win\boost
common.mkdir c:\agent\_work\46\s\Boost\Build\x64Win\boost\architecture
common.mkdir c:\agent\_work\46\s\Boost\Build\x64Win\boost\architecture\msvc-14.0
common.mkdir c:\agent\_work\46\s\Boost\Build\x64Win\boost\architecture\msvc-14.0\debug
common.mkdir c:\agent\_work\46\s\Boost\Build\x64Win\boost\architecture\msvc-14.0\debug\threading-multi
compile-c-c++ c:\agent\_work\46\s\Boost\Build\x64Win\boost\architecture\msvc-14.0\debug\threading-multi\32.obj
32.cpp
...updated 8 targets...
Performing configuration checks
- 32-bit : yes
Im trying to build it on Windows 7 64bit and on VM with Windows Server 2012 64bit. Maybe someone had similar problems and got a solution?
Thanks in advance!