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

你可能感兴趣的:(错误解决,rust)