Boost Users :
Subject: Re: [Boost-users] [iostreams] building with zlib
From: Daniel James (dnljms_at_[hidden])
Date: 2011-07-28 09:29:41
On 28 July 2011 14:23, Daniel Bradburn <moagstar_at_[hidden]> wrote:
> Hi Thanks,
> I tried moving the location of zlib and use the following command line now:
> "../../../bjam" -sZLIB_SOURCE=C:\Development\sdk\gzip\124\
> It's actually managing to build zlib now, but I still get the following
> ..\..\..\libs\iostreams\src\zlib.cpp(20) : fatal error C1083: Cannot open
> include file: 'zlib.h': No such file or directory
> Anyone got any ideas?
You probably should be using ZLIB_INCLUDE, not ZLIB_HEADER.
If that doesn't resolve it, look in output after the compilation
failure, bjam should print out the command that was run (or use 'bjam
-na' which will print out all the commands bjam would run). Check the
include parameter in that, and compare it to the location of zlib.h.
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