Re: zlib linking error with 3.2 (not with 3.0)

Fulvio Senore <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <[email protected]>
Il 27/08/2023 16:49, Vadim Zeitlin ha scritto:
> On Sun, 27 Aug 2023 16:09:31 +0200 Fulvio Senore wrote:
> 
> FS> It looks like from 3.1 something has changed and the zlib copy included
> FS> in wxWidgets is no more accessible.
> 
>   We're prefixing zlib symbols with "wx_" since b8bc595546 (Use zlib
> submodule with "wx_zlib_" prefix, 2017-12-08) specifically to avoid clashes
> between the version used by wx and any other zlib version used by the
> application. If you want to reuse zlib included by wx you need to change
> Z_PREFIX_ in zconf.h to "zlib_" (or maybe just remove it).
> 

I removed the Z_PREFIX definition and it solved the problem.

Thank you for your help.

Fulvio

-- 
Please read https://www.wxwidgets.org/support/mlhowto.htm before posting.
--- 
You received this message because you are subscribed to the Google Groups "wx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/wx-users/0edaf11a-f8e8-f44b-96fc-97698d74303d%40fsoft.it.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.