2

Unlike this question:

Linker Error while building application using Boost Asio in Visual Studio C++ 2008 Express

I need an x64 build of the lib files... I'm not even sure how to get started. I'm reading here:

http://www.boost.org/doc/libs/1_39_0/more/getting_started/windows.html

Or, more generally, how do I build boost for x64?

Community
  • 1
  • 1
waterlooalex
  • 13,642
  • 16
  • 78
  • 99
  • See this question: [http://stackoverflow.com/questions/302208/how-do-you-build-the-x64-boost-libraries-on-windows](http://stackoverflow.com/questions/302208/how-do-you-build-the-x64-boost-libraries-on-windows) – blindauer Jun 30 '09 at 20:30
  • thanks, that article says the same thing as Maik above, and it seems to be working... – waterlooalex Jun 30 '09 at 20:35

4 Answers4

1

I'm not on Windows, but I guess adding address-model=64 to the bjam invocation should do the trick.

Maik Beckmann
  • 5,637
  • 1
  • 23
  • 18
0

Please note that this is explained in the official documentation, right here

Vladimir Prus
  • 4,600
  • 22
  • 31
0

Here is the command line I ended up using:

C:\Program Files (x86)\boost\boost_1_38>bjam --build-dir=c:\boost --build-type=complete --toolset=msvc-9.0 address-model=64 architecture=x86 --with-system

waterlooalex
  • 13,642
  • 16
  • 78
  • 99
0

I was in the process of figuring this out myself recently, when attempting to port a 32-bits program that made use of the 32-bits binaries provided by BoostPro. I couldn't download x64 binaries from BoostPro for free; they only provide free 32-bits libraries. But then I found that there were free binaries available from this site:

http://boost.teeks99.com/

I realize this may not answer your question if you want some customized build, but it could save you a lot of time if a regular build is fine. Unpacked, it's huge (7Gb) but it seems to be complete and working.

ecotax
  • 1,933
  • 17
  • 22