I'm trying to set up streams with boost, writing to a compressed stream - I'm 99.9% sure I've done everything exactly as stated in the installation notes found on http://boost.org/libs/iostreams/doc/index.html?path=7
. From the small code fragment below, I get the following compiler errors:
error C2065: 'zlib_compressor' : undeclared identifier
error C2065: 'base64_encoder' : undeclared identifier
error C2065: 'file_sink' : undeclared identifier
I have included the following at the top of my file:
I have added the zlib.cpp to my Visual C++ 6.0 project.
I have added the preprocessor definition BOOST_IOSTREAMS_NO_LIB to my project.
I am linking to ..\lib\zlib.dll (but I guess this is not important yet)...
Any ideas at all would be extremely appreciated!