Boost logo

Boost Users :

Subject: Re: [Boost-users] missing libboost_zlib-vc140-mt-x64-1_66.lib
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2018-03-07 15:07:12


AMDG

On 03/07/2018 02:34 AM, Sebastian Pfützner via Boost-users wrote:
> Am 06.03.2018 um 22:22 schrieb Steven Watanabe via Boost-users:
>> This is supposed to work.  If you add --debug-configuration,
>> what does it say about zlib?
>
> Ok, after calling b2 --clean and deleting the build and stage directory,
> it worked. It seems that b2 sometimes doesn't detect changed parameters.
>
> So I tried again with a prebuild zlib:
>
> b2 -j 10 --build-dir=build\x64 --stagedir=stage\x64 --toolset=msvc
> --debug-configuration -sZLIB_BINARY=zlibstat.lib
> -sZLIB_INCLUDE=L:\vc14\zlib\zlib-1.2.8
> -sZLIB_LIBPATH=L:\vc14\zlib\zlib-1.2.8\contrib\vstudio\vc11\x64\ZlibStatReleaseWithoutAsm
> runtime-link=shared link=static threading=multi address-model=64 debug
> release stage
>
> This time libboost_zlib...lib is again not built

That's expected when you use a pre-built binary.

> and the output
> regarding zlib is:
>
> ...
> notice: [zlib] Using pre-installed library
> notice: [zlib] Condition
> ...
>     - zlib                     : no
> ...
>
> So what is wrong now?
>

Look at bin.v2/configure.log. It should show
a failure either to include zlib.h or to link
to the library.

> Thanks in advance!
>

In Christ,
Steven Watanabe


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