Boost logo

Boost Users :

Subject: Re: [Boost-users] [iostreams][zip]
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-05-17 23:55:39


Andy Schweitzer wrote:
> Can someone provide a command line that builds iostreams with zlib and
> bz2 support?
> I tried the following but my program still fails to link to
> libboost_zlib. I did find a boost_zlib-vc90-mt-1_38.dll and a
> boost_zlib-vc90-mt-1_38.lib, but no libboost_zlib-vc90-mt-gd-1_38.lib
> bjam toolset=msvc-9.0 -sHAS_ZLIB=1 -sHAS_BZIP2=1 -sNO_COMPRESSION=0
> -sNO_BZIP2=0 -s -sNO_ZLIB=0
> -sZLIB_INCLUDE=C:/nan/compression/zlib/zlib123-dll/include
> -sZLIB_LIBPATH=C:/nan/compression/zlib/zlib123-dll/lib
> -sZLIB_SOURCE=C:/nan/compression/zlib/zlib-1.2.3
> -sBZIP2_INCLUDE=C:/nan/compression/bz2/bzip2-1.0.5
> -sBZIP2_LIBPATH=C:/nan/compression/bz2/bzip2-1.0.5
> -sBZIP2_SOURCE=C:/nan/compression/bz2/bzip2-1.0.5

Just add the arguments
  debug link=static

In Christ,
Steven Watanabe

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at