Boost logo

Boost Users :

Subject: [Boost-users] Building Boost 1.60 with VS2015 - 32 bit compiler is always selected
From: Tiago Gehring (tiagogehring_at_[hidden])
Date: 2016-01-30 12:52:28


Hi,

I'm trying to build Boost 1.60 with Visual Studio 2015 Update 1 in 64-bit
mode but it seems to be ignoring the address-model=64 parameter and always
builds a 32-bit version (I called b2 from the VS2015 Native tools for x64
command prompt):

--
C:\Users\Tiago\code\boost_1_60_0>*b2 --toolset=msvc-14.0 variant=release
link=static threading=multi address-model=64 architecture=x86*
Performing configuration checks
    *- 32-bit                   : yes*
    - arm                      : no
    - mips1                    : no
    - power                    : no
    - sparc                    : no
    - x86                      : yes
....
C:\Users\Tiago\code\boost_1_60_0>*cl*
Microsoft (R) C/C++ Optimizing Compiler *Version 19.00.23506 for x64*
Copyright (C) Microsoft Corporation.  All rights reserved.
usage: cl [ option... ] filename... [ /link linkoption... ]
---
I saw in some ond discussion mentions to explicitly select the compiler
version (I also have VS2010 and VS2012 installed) and environment variables
batch file (in the project-config.jam file) but this didn't help either.
Any help is really appreciated.
Best regards,
Tiago Gehring


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net