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

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -