|
Boost Users : |
Subject: Re: [Boost-users] missing libboost_zlib-vc140-mt-x64-1_66.lib
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2018-03-09 15:30:12
AMDG
On 03/09/2018 02:03 AM, Sebastian Pfützner via Boost-users wrote:
> Am 07.03.2018 um 16:07 schrieb Steven Watanabe via Boost-users:
>> Look at bin.v2/configure.log. It should show
>> a failure either to include zlib.h or to link
>> to the library.
>
> Yes, it was the ".lib" of the library name. If I remove it, it finds
> zlib again. But now I'm back at square one. My program does not build
> because boost wants to link against libboost_zlib-vc140-mt-x64-1_66.lib.
> Do I need to define something to get boost to use my prebuild zlib?
>
It looks like the auto-linking code for
zlib was written assuming that you are building
zlib from source. You can add -DBOOST_IOSTREAMS_NO_LIB,
but then you also need to link to boost_iostreams
explicitly.
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