Is there is good tutorial on how to compile boost with zlib on windows. I looked over boost reference, but it's vague and not enough. I did download zlib dll and source code and made reference in visual studio. I have link error on
gzip_decompressor();
complete code:
using namespace boost::iostreams;
using namespace std;
std::ifstream file("hello.gz", std::ios_base::in | std::ios_base::binary);
filtering_streambuf < input > in;
in.push(gzip_decompressor());
in.push(file);
boost::iostreams::copy(in, std::cout);
I am getting this error,
Error 11 error LNK2019: unresolved external symbol "_declspec(dllimport) public: __thiscall boost::iostreams::detail::gzip_header::~gzip_header(void)" (__imp??1gzip_header@detail@iostreams@boost@@QAE@XZ) referenced in function "public: __thiscall boost::iostreams::basic_gzip_decompressor \>::~basic_gzip_decompressor >(void)" (??1?$basic_gzip_decompressor@V?$allocator@D@std@@@iostreams@boost@@QAE@XZ) –