所以我确实成功安装了 pkg-config,我甚至看到了安装正确的迹象。然而,当我尝试再次使用 cygwin 编译 Audacious 时,我收到了以下消息:
Package 'glib-2.0', required by 'virtual:world', not found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GLIB_CFLAGS and GLIB_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.
这是什么意思?
答案1
查看包裹清单 https://cygwin.com/packages/package_list.html
寻找glib
你会找到一个名为的包,libglib2.0-devel
你安装了它吗?
它包含
usr/lib/pkgconfig/glib-2.0.pc
看 https://cygwin.com/packages/x86_64/libglib2.0-devel/libglib2.0-devel-2.54.3-1