Subject: Re: [Boost-build] Building iostreams with zlib with MSVC
From: KTC (ktc_at_[hidden])
Date: 2012-01-25 06:23:13
On 25/01/2012 09:30, James Gregory wrote:
> On 25 January 2012 08:40, Norbert Wenzel<norbert.wenzel.lists_at_[hidden]> wrote:
>> I'm using a .bat to build each boost release for some years now and these
>> builds include bzip2 and zlib. The script looks something like this.
> If I follow KTC's advice (set -sZLIB_BINARY=zdll) then the build
> process completes without any errors, however:
> 1. no libboost_zlib-vc100... is produced. There is a zlib.obj, and
> maybe the zlib.obj has been linked with libboost_iostreams-vc100...
> Possibly this is the intended behaviour, but when I build the program
> I need boost for, it expects to find a libboost_zlib-vc100...
> 2. According to
> ZLIB_BINARY=zdll is already set by default on Windows, so I think the
> documentation may be wrong
> 3. I gave up and installed some prebuilt binaries from boostpro
I don't know why it doesn't work with pre-compiled zlib since like
Norbert I uses the zlib source to build boost with.
b2 --build-type=complete -j2 stage
(Don't have to specify ZLIB_INCLUDE because of the default. Toolset
specified in a separate site-config.jam.)
I've had no problem even when I was running the regression tests.
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk