我试图在Cygwin上使用介子构建一个特定的存储库。结果如下:
$ meson build_dir
The Meson build system
Version: 0.58.2
Source dir: /home/joeuser/src/meld-3.21.0
Build dir: /home/joeuser/src/meld-3.21.0/build_dir
Build type: native build
Project name: meld
Project version: 3.21.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python3 found: YES (/usr/bin/python3)
Found pkg-config: /usr/bin/pkg-config (1.6.3)
Run-time dependency python3 found: NO (tried pkgconfig and sysconfig)
meson.build:18:0: ERROR: Dependency "python3" not found, tried pkgconfig and sysconfig
为什么会发生这种情况?我怎样才能让meson找到python3依赖?
注意:我已经安装了python38-pkgconfig
,以防万一。
如果您还使用Cygwin安装程序安装python3-devel
包,则meson将找到python3。