Boost Users :
Subject: Re: [Boost-users] boost regex 64 bit build
From: Lars Viklund (zao_at_[hidden])
Date: 2011-07-12 08:35:46
On Tue, Jul 12, 2011 at 02:30:04PM +0200, Lars Viklund wrote:
> On Tue, Jul 12, 2011 at 05:51:03PM +0530, Lloyd wrote:
> > Hi,
> > bjam --build-type=minimal --with-regex using=msvc --address-model=64
> Surely this should be:
> :\> bjam --build-type=minimal --with-regex toolset=msvc address-model=64
> Do note that teh current version of Boost is 1.47.0, too.
I completely forgot to explain why your invocation was wrong.
Your call did not set the <address-model> property, so it built with the
default (32-bit) address-model, which resulted in 32-bit libraries.
The fun part is when you try to link libraries of the wrong bitness in
MSVC, it just silently ignores any symbols of the wrong bitness, so
while it finds and tries to link to the library, none of the symbols
satisfy the constraints.
This should be fixed if you invoke b2 properly.
-- Lars Viklund | zao_at_[hidden]
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