error: failed to run custom build command for `yeslogic-fontconfig-sys v6.0.0`

rust使用plotters时遇到编译错误。

一、错误

error: failed to run custom build command for yeslogic-fontconfig-sys v6.0.0

二、解决方法

我用的是opensuse,使用下面命令可以解决问题。
sudo zypper in fontconfig-devel

相关推荐
对象存储与RustFS1 小时前
JuiceFS + 对象存储:把 S3 变成 POSIX 文件系统实测
后端·rust·开源
遇码3 小时前
侧边栏一开,AI 画的东西就被挡住了:给白板画布加「真实可见区」计算和相机补偿
人工智能·ai·rust
geovindu5 小时前
rust: Borg Pattern(续)
开发语言·后端·设计模式·rust·博格模式
轻舟技术A20 小时前
Pi 的 Rust 实现来了:rpi,不止一个终端 Agent
开发语言·后端·rust
wflynn1 天前
GitHub 今日推荐|wordcraft:用 Rust 重写 Word 内核并开放给 AI 调用
rust·开源·github
I'm Jie1 天前
【开源】7 天,我用 Rust 复刻了 FinalShell!Rhost v1.0.0 发布
开发语言·rust·开源
小灰灰搞电子1 天前
Rust+Slint 实现一个终端软件源码分享(半成品)
开发语言·rust
恋喵大鲤鱼1 天前
Rust str 与 String 类型的区别
rust
miofly1 天前
GitHub 今日推荐|fsearch:Rust 打造 macOS 毫秒级全盘文件名与内容搜索工具
rust·开源·github
大鹏的NLP博客1 天前
Rust 的本质:用数学约束实现编译期内存安全
安全·rust