|
Boost Users : |
Subject: Re: [Boost-users] need help using boost bzip2 filter on Windows (or zlib filter)
From: ChristinaDRS (mail_at_[hidden])
Date: 2009-10-22 08:32:41
I actually installed Boost with the BoostPro package. Maybe that doesnt allow
me to build those libraries? I did not have those environment variables set
at the time however.
Thanks,
Christina
Vladimir Prus-3 wrote:
>
> Mikko Vainio wrote:
>
>> 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.
>
> Actually, environment variables should work fine. It's not clear
> from the above report whether the variables were defined when building
> Boost itself, and whether the libboost_bzip2... library was produced.
>
> - Volodya
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
>
-- View this message in context: http://www.nabble.com/need-help-using-boost-bzip2-filter-on-Windows-%28or-zlib-filter%29-tp25998463p26009084.html Sent from the Boost - Users mailing list archive at Nabble.com.
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