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 build:
bjam --toolset=msvc --build-type=complete --build-dir=c:\build install
But it still produces x86 .lib files (I verified this with dumpbin /headers). What am I doing wrong?
You need to add the
address-model=64parameter.Look e.g. here.