Poco / zlib: error LNK2019 unresolved external "_gzopen" -
i trying use zlib functions while working poco c++ library. linking zlib library directly not work, because poco links , several duplicates while linking. removed zlib.lib libraries list , used poco version only.
because zlib.h part of poco, compiling works perfectly, linking results in following error
error lnk2019 unresolved external "_gzopen"
so can switch between duplicate
, unresolved
. can me out?
on windows, defining zlib_dll should force export of native zlib interface. optionally, poco inflatingstream , deflatingstream wrap zlib functionality. word of warning: these std streams derivatives , there may performance penalty.
Comments
Post a Comment