Unable to compile GTK3 in MSYS2: "Run-time dependency glib-2.0 found: NO"
Steps to reproduce
- pacman -S mingw-w64-x86_64-toolchain base-devel mingw-w64-x86_64-glib2 --disable-download-timeout
- meson _build .
Current behavior
glib-2.0 is not detecting
Did not find pkg-config by name 'pkg-config' Found Pkg-config: NO Did not find CMake 'cmake' Found CMake: NO Run-time dependency glib-2.0 found: NO (tried pkgconfig and cmake)
moreover the subproject is also not compiling with below error
subprojects/glib/meson.build:1581:2: ERROR: Entry _WIN32_WINNT not in configuration data.
Expected outcome
cmake and pkg-config already installed also mingw-w64-x86_64-glib2 2.62.2-1 is installed it should be capable of detecting it
Version information
Version: gtk-3.96.0 Command: meson _build . OS: Windows 10 MSYS2: (latest)
Additional information
Edited by Andre Klapper