如何修复 ESP-IDF Install Manager (EIM) 缺少先决条件的问题:common.prerequisites.manualHint flex, bison, gperf, ccache
问题
在使用 ESP-IDF Install Manager (EIM) 安装工具链时,你可能会遇到一条提示某些先决条件缺失的错误信息。该错误信息可能如下所示:
eim-prerequisites-error.txt
common.prerequisites.manualHint
flex, bison, gperf, ccache
解决方案
你需要在系统上安装缺失的先决条件:flex、bison、gperf 和 ccache。在 Ubuntu 和 Debian 上,你可以在终端中使用以下命令来完成:
fix-esp-idf.sh
sudo apt -y install flex bison gperf ccache之后,你可以再次尝试运行安装,它应该就能继续进行,不再出现之前的错误。
Check out similar posts by category:
ESP-IDF
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow