gpt4 book ai didi

gtk - 开罗 "Could not find libpng in the pkg-config search path"

转载 作者:行者123 更新时间:2023-12-01 16:11:14 27 4
gpt4 key购买 nike

我正在尝试安装 GTK-DFB,并且需要 cairo。当我尝试从源代码构建它时,它会抛出:

checking for cairo's PNG functions feature... 
configure: WARNING: Could not find libpng in the pkg-config search path
checking whether cairo's PNG functions feature could be enabled... no
configure: error: recommended PNG functions feature could not be enabled

想法?

谢谢

最佳答案

对我来说,它有助于在 shell 中导出以下变量:

export png_REQUIRES="libpng"

Credit to this post

关于gtk - 开罗 "Could not find libpng in the pkg-config search path",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2933242/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com