libtmx-parser icon indicating copy to clipboard operation
libtmx-parser copied to clipboard

TmxUtil.obj : error LNK2019

Open loctho1995 opened this issue 10 years ago • 0 comments

I try to build it on Win32 (C++) but I met some errors, I searched on google and try so much suggestion such as: #Define ZLIB_WINAPI, rebuild zlib, ...etc. But it still has error:

1>TmxTileLayer.obj : error LNK2019: unresolved external symbol _uncompress referenced in function "private: void __thiscall Tmx::TileLayer::ParseBase64(class std::basic_string<char,struct std::char_traits,class std::allocator > const &)" (?ParseBase64@TileLayer@Tmx@@AAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)

1>TmxUtil.obj : error LNK2019: unresolved external symbol _inflate@8 referenced in function "public: static char * __cdecl Tmx::Util::DecompressGZIP(char const *,int,int)" (?DecompressGZIP@Util@Tmx@@SAPADPBDHH@Z)

1>TmxUtil.obj : error LNK2019: unresolved external symbol _inflateEnd@4 referenced in function "public: static char * __cdecl Tmx::Util::DecompressGZIP(char const *,int,int)" (?DecompressGZIP@Util@Tmx@@SAPADPBDHH@Z)

1>TmxUtil.obj : error LNK2019: unresolved external symbol inflateInit2@16 referenced in function "public: static char * __cdecl Tmx::Util::DecompressGZIP(char const *,int,int)" (?DecompressGZIP@Util@Tmx@@SAPADPBDHH@Z)

loctho1995 avatar Jul 23 '15 15:07 loctho1995