
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