Boost logo

Boost-Build :

Subject: [Boost-build] Build Boost on WIndows with zlib
From: Paolo Tosco (paolo.tosco_at_[hidden])
Date: 2016-05-12 14:59:14


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.

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?

Thanks a lot in advance for your help, kind regards
Paolo


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