首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何使用webp支持编译graphicsmagick

如何使用webp支持编译graphicsmagick
EN

Unix & Linux用户
提问于 2021-11-24 12:36:06
回答 1查看 201关注 0票数 0

所以我试着用webp的支持来编译图表.

我已经跑了

代码语言:javascript
复制
yum install libwebp libwebp-dev

我从libwebp.a添加了谷歌库。

并将--with-webp标志添加到./configure行。

我从以下几个方面取得了成功:

代码语言:javascript
复制
checking for WEBP support ... 
checking webp/decode.h usability... no
checking webp/decode.h presence... no
checking for webp/decode.h... no
checking webp/encode.h usability... no
checking webp/encode.h presence... no
checking for webp/encode.h... no
checking for WebPDecodeRGB in -lwebp... no
checking for WebPMuxSetImage in -lwebpmux... no
checking if WEBP package is complete... no -- some components failed test

代码语言:javascript
复制
checking for WEBP support ... 
checking webp/decode.h usability... no
checking webp/decode.h presence... no
checking for webp/decode.h... no
checking webp/encode.h usability... no
checking webp/encode.h presence... no
checking for webp/encode.h... no
checking for WebPDecodeRGB in -lwebp... yes
checking for WebPMuxSetImage in -lwebpmux... no
checking if WEBP package is complete... no -- some components failed test

因此,只有checking for WebPDecodeRGB in -lwebp发生了变化。

我做什么好?

EN

回答 1

Unix & Linux用户

发布于 2021-11-24 13:00:06

只需要跑

代码语言:javascript
复制
yum install libwebp libwebp-dev libwebp-tools libwebp-devel
票数 0
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/678878

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档