Boost logo

Boost Users :

Subject: Re: [Boost-users] [iostreams] Issue when compiling with zlib, and suggestion
From: KTC (ktc_at_[hidden])
Date: 2011-07-12 23:00:45


On 12/07/2011 22:43, Sean Farrow wrote:
> Hi all:
>
> I’m currently trying to compile boost 1.47. I need to use the zlib
> features in the ioStreams library hence am using the following command line:
>
> bjam toolset=msvc --stagedir=stage/vc/v10/32-bit
> -sZLIB_SOURCE="c:\progra~1\zlib"
> -sZLIB_LIBPATH="c:\progra~1\zlib\boost_zlib.lib"
> -sBZIP2_SOURCE="c:\progra~1\bzip2" --build-type=complete >boostv10.txt
>
> this fails telling me it carn’t open boost_zlib.lib.
>
> it appears from the docs that this command line is correct. I’m
> compiling on windows xp, vc 2010.
>
> Also, whilst I think about it, without modifying the default jam file
> the boost.iostreams library fails to compile, the file gzio.c is no
> longer in the zlib distribution as of version 1.2.3.9—could this be
> rectified for future boost releases?

This was already fixed in 1.44. Are you sure you're using the latest
version of boost / zlib library ?

KTC


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