Boost logo

Boost Users :

Subject: Re: [Boost-users] Building boost b2 zlib options
From: Michael Powell (mwpowellhtx_at_[hidden])
Date: 2017-11-20 18:24:16


On Mon, Nov 20, 2017 at 1:21 PM, Michael Powell <mwpowellhtx_at_[hidden]> wrote:
> On Mon, Nov 20, 2017 at 12:20 PM, Michael Powell <mwpowellhtx_at_[hidden]> wrote:
>> Hello,
>>
>> I am building Boost and making progress. Thus far wondering what
>> options to provide my B2. I added the zlib include path to the
>> include="...;/path/to/zlib;...", and now seems to be wanting the LIB
>> path?

All that being said, the good news is that my Boost is otherwise building.

How critical is it that zlib be found? Either in source/header or in
library form? Or bzip2 for that matter? Apart from the obvious, of
course, whether I would be depending on those features.

Thanks!

> So far, from what I can tell in my logs, zlib.h cannot be found? This
> in spite of the fact I've provided the options:
>
> zlib_h.cpp
> /path/to\build\boost\boost\bin.v2\standalone\ac\zlib_h.cpp(1): fatal
> error C1083: Cannot open include file: 'zlib.h': No such file or
> directory
> ...failed compile-c-c++
> /path/to\build\boost\boost\bin.v2\standalone\ac\msvc-14.0\debug\address-model-64\link-static\threading-multi\zlib_h.obj...
> ...failed updating 1 target...
> ...found 6 targets...
> ...updating 2 targets...
>
> However, I certain I've provided that in my CMake B2 options:
>
> set (B2_INCLUDE "${PLATFORM_SDK_PATH};${REPOS_DIR}/${ZLIB_TAG}")
> # B2 include: >>> C:/Program Files (x86)/Windows
> Kits/10/Include/10.0.10240.0/ucrt;/path/to/repos/zlib-1.2.11 <<<
>
> And which the paths really are there after their own CMake custom
> targets. I checked, literally every step of the way.
>
>> LINK : fatal error LNK1181: cannot open input file 'z.lib'
>> LINK : fatal error LNK1181: cannot open input file 'zlib.lib'
>> LINK : fatal error LNK1181: cannot open input file 'zll.lib'
>> LINK : fatal error LNK1181: cannot open input file 'zdll.lib'
>>
>> Which option is that for B2?
>>
>> After that, it is on to finding bzip?
>>
>> fatal error C1083: Cannot open include file: 'bzlib.h': No such file
>> or directory
>>
>> Is there a source download similar to that of zlib?
>>
>> I think I'm pretty close but for a handful of obscurish third party
>> dependencies.
>>
>> Thanks!
>>
>> Cheers,
>>
>> Michael Powell


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