|
Boost Users : |
From: Lothar May (boost_at_[hidden])
Date: 2008-04-17 18:12:41
Hi,
eg wrote:
> Andreas Profous wrote:
>> As I understand it I have to rebuild boost.iostreams with zlib support:
>> C:\boost\boost_1_34_1\libs\iostreams\build>bjam
>> "-sNO_COMPRESSION=0"
>> "-sNO_ZLIB=0"
>> "-sZLIB_SOURCE=C:\Libs\zlib123"
>> "-sZLIB_LIBPATH=C:\Libs\zlib123\dll32"
>> "-sZLIB_BINARY=zlibwapi.dll"
>>
>> I tried this and that but to be honest I don't really know what I'm
>> doing and it didn't work.
>>
Same problem with boost 1.35.0. Using the "-sZLIB..." parameters did not
work for me, too.
> When I did it, I found that I ONLY set the zlib path environment
> variables... zlib_libpath, zlib_source, and zlib_include. In fact, I
> just set them as explicit environment variables and then called bjam
> with the correct toolset.
>
> I did not do anything with no_zlib or no_compression or zlib_binary
> (IIRC they caused me problems).
Thanks for the hint.
I also set the environment variables (in my case ZLIB_LIBPATH,
ZLIB_SOURCE, ZLIB_INCLUDE and ZLIB_BINARY), and this worked.
Best regards,
Lothar
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