Boost logo

Boost Users :

Subject: [Boost-users] Help on boost::iostreams::gzip_compressor: Linker error
From: Uthpal Urubail (uthpal.urubail_at_[hidden])
Date: 2017-08-31 11:10:55


Experts,
I am getting below linker error on gzip compressor usage. Any help is highly appreciated. I have already tried linking boost_iostreams.lib & zlib.lib

Code

Description

LNK2001

unresolved external symbol "int const boost::iostreams::zlib::default_compression" (?default_compression_at_zlib@iostreams_at_boost@@3HB)

&
Code

Description

LNK2019

unresolved external symbol "protected: __cdecl boost::iostreams::detail::zlib_base::~zlib_base(void)" (??1zlib_base_at_detail@iostreams_at_boost@@IEAA_at_XZ) referenced in function "int `public: __cdecl boost::iostreams::detail::zlib_compressor_impl<class std::allocator<char> >::zlib_compressor_impl<class std::allocator<char> >(struct iostreams::detail::zlib_params const &)'::`1'::dtor$0" (?dtor$0@?0???0?$zlib_compressor_impl_at_V?$allocator_at_D@std@@@detail_at_iostreams@boost@@QEAA_at_AEBUzlib_params_at_23@@Z_at_4HA)

Regards,
UJ



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net