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