【问题标题】:Installing libpng on ubuntu在 ubuntu 上安装 libpng
【发布时间】:2015-12-20 20:14:38
【问题描述】:

我正在linux系统上安装libpng,我正在使用INSTALL文件中提到的以下步骤。

cp scripts/makefile.std makefile
cp scripts/pnglibconf.h.prebuilt pnglibconf.h

以上两个命令运行正常,然后我运行make,它显示以下消息: No rule to make target 'png.h' , required by 'png.o' 。停下来。

我不知道如何修复它,请解释如何安装它。

【问题讨论】:

  • 也许您可以包含指向您正在遵循的说明的链接?

标签: makefile libpng


【解决方案1】:

Looks like the same problem like yours。建议的解决方案:

在 libpng 源目录中,查找 png.h “例如 find . -type f -name png.h -print”。 手动将此文件复制到 /usr/include

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2014-12-18
    • 2018-06-17
    • 2012-01-14
    • 2011-06-11
    • 2013-04-24
    • 2013-12-21
    • 2011-12-07
    • 2020-05-02
    相关资源
    最近更新 更多