views:

2147

answers:

1

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?

+3  A: 

You need to add the address-model=64 parameter.

Look e.g. here.

macbirdie
That did it. Thanks!
Ferruccio