Boost logo

Boost Users :

Subject: Re: [Boost-users] need help using boost bzip2 filter on Windows (or zlib filter)
From: Mikko Vainio (mikko.vainio_at_[hidden])
Date: 2009-10-22 01:45:02


Hello Christina,

On 10/21/2009 10:12 PM, ChristinaDRS wrote:
>
> Hello all,
>
> I have the following code simple code to compress/uncompress a string:
[snip]
> 1>Linking...
> 1>LINK : fatal error LNK1104: cannot open file
> 'libboost_bzip2-vc90-mt-gd-1_39.lib'
[snip]
>
> I tried following the instructions on this page:
>
> http://www.boost.org/doc/libs/1_40_0/libs/iostreams/doc/installation.html
>
> so I defined these environment variables:
>
> BZIP2_BINARY = libbz2.lib
> BZIP2_INCLUDE = D:\bzip2-1.0.5
> BZIP2_LIBPATH = D:\bzip2-1.0.5\Debug
> BZIP2_SOURCE = D:\bzip2-1.0.5
>

I was also perplexed by those instructions; The variables are
boost.build variables, not environmental variables. Please use
bjam .... -sBZIP2_SOURCE=D:\bzip2-1.0.5 -sZLIB_SOURCE=...
in order to get libboost_bzip2 and libboost_zlib compiled.

Cheers,
Mikko


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