【问题标题】:heif-convert error: JPEG support has not been compiled inheif-convert 错误:JPEG 支持尚未编译
【发布时间】:2021-02-16 16:52:01
【问题描述】:

我正在尝试将 HEIC 文件转换为 JPEG。 于是我安装了 libheif 库:

  • 我克隆了https://github.com/strukturag/libheif
  • 我跑了./autogen.sh
  • 我跑了./configure
  • 我跑了make
  • 我跑了sudo make install

现在heif-convert 工具已安装,但当我运行heif-convert input.HEIC output.jpeg 时,出现错误:JPEG support has not been compiled in

我不明白我做错了什么(或者更可能是我忘了做什么),而且我在互联网上找不到任何东西。谁能告诉我如何解决这个问题?

【问题讨论】:

  • configure 通常会在其输出末尾打印配置内容的摘要。您可能需要为您的 jpeg 库安装 -dev 包。
  • 不管怎样,看看 configure 的输出中是否有提到 jpeg,主要问题应该在那里。

标签: lib heif


【解决方案1】:

如 cmets 中所述(感谢 btw),解决方案是安装 libjpeg-dev(通过 apt)并重新运行 configure/make/make install。
现在就像一个魅力。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2014-06-15
    • 1970-01-01
    • 1970-01-01
    • 2011-10-09
    • 2012-04-19
    • 1970-01-01
    • 2015-10-02
    • 1970-01-01
    相关资源
    最近更新 更多