在 M1 上安装 libgdiplus

Install libgdiplus on M1

我正在尝试在 M1 MacBook 上安装 libgdiplus。 OS 版本 12 蒙特雷。

当我执行 brew install mono-libgdiplus 时,它会在终端上显示以下消息。

Warning: No available formula with the name "mono-libgdiplus".
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.

对我有用。

$ brew search mono-libgdiplus
==> Formulae
mono-libgdiplus

自制软件核心 have the bottles 用于蒙特雷和大苏尔。

经过长时间的研究,我发现我需要git -C $(brew --repo homebrew/core) checkout master来解决这个问题。

查看此 link 了解更多详情:Homebrew Error: No formulae found in taps