Klaus Nowikow wrote:
Hi,
with the following test program:
<code> #include
int main(int argc, char* argv[]) { return 0; } </code>
I get the linker error (MSVC 7.1): LINK : fatal error LNK1104: cannot open file 'libboost_bzip2-vc71-mt-1_33.lib'
A similar error occurs with "zlib.hpp" instead of "bzip2.hpp": LINK : fatal error LNK1104: cannot open file 'libboost_zlib-vc71-mt-1_33.lib'
I did not find this lib files in my Boost library directory, so I might have missed something when I built Boost.
This is what I did:
- Got the sources for the bzip2 and the zlib libraries - Built the libs - Built Boost with this command line:
bjam "-sTOOLS=vc-7_1" "-sNO_COMPRESSION=0" "-sNO_ZLIB=0"
I think you need to ommit NO_COMPRESSION, NO_ZLIB, .. from the command lines. Simply defining the environment variables specifying the ;ocations source of the headers and binaries will enable compression support. Let me know if it works.
"-sZLIB_LIBPATH=c:/dev/Libraries/zlib/lib" "-sZLIB_INCLUDE=c:/dev/Libraries/zlib/include/zlib" "-sNO_BZIP2=0" "-sBZIP2_LIBPATH=c:/dev/Libraries/bzip2/lib" "-sBZIP2_INCLUDE=c:/dev/Libraries/bzip2/include/bzip2" (without the line breaks of course)
Best regards, Klaus
-- Jonathan Turkanis www.kangaroologic.com