Boost logo

Boost-Build :

Subject: Re: [Boost-build] Build Boost on WIndows with zlib
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2016-05-13 21:00:56


AMDG

On 05/12/2016 12:59 PM, Paolo Tosco wrote:
> Dear all,
>
> I have tried to build Boost 1.59.0 on Windows with MSVC 2015 including
> zlib support for iostreams.
> While this has never been a problem on Linux, I cannot get the "zlib :
> yes" message from b2, and I always get both
> libboost_iostreams-vc140-mt-1_59.lib and
> libboost_zlib-vc140-mt-1_59.lib, while I should only get the former if
> zlib had been recognized.
>

  So, what exactly is the problem? You are
asking to build zlib from source, and
it appears to work. The "zlib : yes" is
not actually printed in this case.

> This is the command line that I have used:
>
> b2 -a -q -j4 address-model=64 link=static threading=multi
> runtime-link=shared variant=release --with-iostreams
> -sZLIB_SOURCE="C:/64/boost_1_59_0_py35_build/source/zlib-1.2.8"
>
> according to the instructions found in
>
> http://lists.boost.org/boost-users/2014/04/81927.php
>
> I have also tried to set the environment variable as suggested in
>
> http://lists.boost.org/boost-users/2014/04/81894.php
>
> but this didn't help either.
>
> Could someone tell me what am I doing wrong?
>

In Christ,
Steven Watanabe


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