Boost logo

Boost-Build :

Subject: [Boost-build] Building Zlib and Iostreams
From: Craig Henderson (cdm.henderson_at_[hidden])
Date: 2009-07-11 12:29:05

Hi, I am successfully using MSVC8 with Boost and STLPort but have hit a
problem trying to use Zlib compression in Boost.Iostreams.


I have re-built Boost.Iostreams with ZLib 1.2.3 and the following code snip
produces a linker error

LINK : fatal error LNK1104: cannot open file


std::ifstream in(pathname.file_string().c_str(), std::ios_base::in |

std::ofstream file((pathname.file_string() + ".z").c_str(),
std::ios_base::in | std::ios_base::binary);

boost::iostreams::filtering_streambuf<boost::iostreams::output> out;



boost::iostreams::copy(in, out);


I cannot find any reference to building this library. Can someone point me
to the relevant docs, please?



-- Craig


Craig Henderson



Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at