It seems your freetype build ended exporting zlib functions too, but it's
just a wild guess. I don't know exactly which version of PoDoFo your are
trying to run (I guess 0.9.x), but I would like to state here that I think
for 0.10 we should transition PoDoFo to a library where only package
managers (such as vcpkg on Windows, brew on mac, apt-get/rpm on linux, see
the Readme[1]) or the playground[1] are encouraged and supported in the ML.
Manually building dependencies (also in mobile platforms) is done on the
user own responsibility, and it should be expected she/him to know how to
deal with such issues.

Regards,
Francesco

[1] https://github.com/podofo/podofo/#development-quickstart
[2] https://github.com/podofo/podofo/tree/master/playground

On Fri, 20 Jan 2023 at 23:43, Brian Erickson <erick...@infocon-inc.com>
wrote:

> Hello,
>
> I'm getting the following errors:
> 1>freetype.lib(ftgzip.obj) : error LNK2005: inflate already defined in
> zlibwapi.lib(zlibwapi.dll)
> 1>freetype.lib(ftgzip.obj) : error LNK2005: inflateEnd already defined in
> zlibwapi.lib(zlibwapi.dll)
> 1>freetype.lib(ftgzip.obj) : error LNK2005: inflateInit_ already defined
> in zlibwapi.lib(zlibwapi.dll)
> If I use /NODEFAULTLIB, I get multiple "error LNK2001: unresolved
> external symbol "void __cdecl operator delete(void *,unsigned __int64)"
> (??3@YAXPEAX_K@Z)".
>
> There seems to be conflict between freetype.lib's gzip and podofo.lib's
> zlib.
> I am using Visual Studio 2019 on Windows 8.
> Is there some option, I'm missing?
>
> Brian
> _______________________________________________
> Podofo-users mailing list
> Podofo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/podofo-users
>
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to