完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
请问有人碰到配置编译环境的问题吗?我照着这里的get start, 顺利通过了install.sh, 也显示安装好了tools, 但是在export.sh的前置tool检查的时候报出来找不到相应的工具
$ ./install.sh Detecting the Python interpreter Checking "python" ... Python 3.9.12 "python" has been detected Installing ESP-IDF tools Current system platform: macos-arm64 Selected targets are: esp32s2, esp32, esp32c3, esp32h2, esp32s3 Installing tools: xtensa-esp-elf-gdb, riscv32-esp-elf-gdb, xtensa-esp32-elf, xtensa-esp32s2-elf, xtensa-esp32s3-elf, riscv32-esp-elf, esp32ulp-elf, openocd-esp32 Skipping xtensa-esp-elf-gdb@11.2_20220823 (already installed) Skipping riscv32-esp-elf-gdb@11.2_20220823 (already installed) Skipping xtensa-esp32-elf@esp-2021r2-patch5-8.4.0 (already installed) Skipping xtensa-esp32s2-elf@esp-2021r2-patch5-8.4.0 (already installed) Skipping xtensa-esp32s3-elf@esp-2021r2-patch5-8.4.0 (already installed) Skipping riscv32-esp-elf@esp-2021r2-patch5-8.4.0 (already installed) Skipping esp32ulp-elf@2.35_20220830 (already installed) Skipping openocd-esp32@v0.11.0-esp32-20221026 (already installed) Installing Python environment and packages Python 3.9.12 pip 23.2.1 from ~/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages/pip (python 3.9) $ . ./export.sh Detecting the Python interpreter Checking "python3" ... Python 3.9.12 "python3" has been detected Adding ESP-IDF tools to PATH... ERROR: tool xtensa-esp-elf-gdb has no installed versions. Please run '~/gitProjects/esp/esp-idf/install.sh' to install it. ERROR: tool riscv32-esp-elf-gdb has no installed versions. Please run '~/gitProjects/esp/esp-idf/install.sh' to install it. ERROR: tool xtensa-esp32-elf has no installed versions. Please run '~/gitProjects/esp/esp-idf/install.sh' to install it. ERROR: tool xtensa-esp32s2-elf has no installed versions. Please run '~/gitProjects/esp/esp-idf/install.sh' to install it. ERROR: tool xtensa-esp32s3-elf has no installed versions. Please run '~/gitProjects/esp/esp-idf/install.sh' to install it. ERROR: tool riscv32-esp-elf has no installed versions. Please run '~/gitProjects/esp/esp-idf/install.sh' to install it. ERROR: tool openocd-esp32 has no installed versions. Please run '~/gitProjects/esp/esp-idf/install.sh' to install it. ERROR: tool esp-rom-elfs has no installed versions. Please run '~/gitProjects/esp/esp-idf/install.sh' to install it. (base) |
|
相关推荐
1个回答
|
|
这里有几个可能的原因和解决方案:
1. **环境变量未设置**:确保export.sh脚本已经正确设置了环境变量。检查脚本中的export语句,确保它们已经正确设置。 2. **路径问题**:可能是因为工具的路径没有正确地添加到系统路径中。您可以在终端中运行以下命令,将工具的路径添加到系统路径中: ``` export PATH=$PATH:/path/to/your/tools ``` 将`/path/to/your/tools`替换为实际的工具路径。 3. **工具未正确安装**:尽管install.sh显示安装成功,但可能某些工具没有正确安装。请检查工具的安装目录,确保所有工具都已正确安装。 4. **权限问题**:可能是因为当前用户没有足够的权限来执行某些操作。尝试使用sudo运行export.sh脚本: ``` sudo ./export.sh ``` 5. **依赖问题**:可能是因为缺少某些依赖。检查export.sh脚本中的依赖项,确保它们都已经安装。 6. **脚本错误**:可能是因为export.sh脚本本身存在错误。检查脚本,确保语法和逻辑正确。 |
|
|
|
只有小组成员才能发言,加入小组>>
1143 浏览 1 评论
582浏览 6评论
480浏览 5评论
有没有办法在不使用混杂模式的情况下实现Wifi驱动程序接收缓冲区访问中断呢?
465浏览 5评论
466浏览 4评论
441浏览 4评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-23 18:52 , Processed in 0.777086 second(s), Total 81, Slave 63 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号