Re: Meson build error
Michael Schuster <[email protected]> Mon, 2 Mar 2026 08:50:22 +0100
| Newsgroups | gmane.comp.fonts.freetype.devel |
|---|---|
| Message-ID | <[email protected]> |
Hey Werner, this likely comes from the recent change in zlib's CMake configuration. They= did quite a large overhaul and changed the names of the output files, e.g. f= rom "zlib.lib" to "z.lib", same with "z.dll". I haven't had the chance to look at your logs but faced the same problem wit= h Windows builds for their latest version. Hope this helps, and thanks for FreeType! :) Michael > On 2. Mar 2026, at 05:38, Werner LEMBERG <[email protected]> wrote: >=20 > =EF=BB=BF > Folks, >=20 >=20 > please have a look at >=20 > https://gitlab.freedesktop.org/freetype/freetype >=20 > and follow the link to the logs for failed Meson builds on Windows. > They end with >=20 > ``` > Looking for a fallback subproject for the dependency zlib because: > Use of fallback dependencies is forced. > Downloading zlib source from https://zlib.net/zlib-1.3.2.tar.xz > Download size: 1320064 > Downloading: .......... > patch directory does not exists: zlib > Subproject zlib is buildable: NO (disabling) > Dependency zlib from subproject zlib found: NO (subproject failed to confi= gure) > meson.build:304:2: ERROR: Subproject "subprojects/zlib" required but not f= ound. > ``` >=20 > Where does this error come from? I added the latest `zlib.wrap` > version from >=20 > https://github.com/mesonbuild/wrapdb/blob/master/subprojects/zlib.wrap >=20 > to the FreeType git =E2=80=93 is it possible that this one is buggy? Do w= e > have to fix something in our Meson build (maybe requiring a newer > Meson version)? >=20 > Please advise. >=20 >=20 > Werner