WhyCan Forum

本站无需注册,无需积分,无需回复可下载所有资料,如果真的喜欢小站,请您注册之后请至少回复一个帖子激活Id,谢谢支持! 站长QQ: 516333132 (挖坑网/填坑网) admin@whycan.cn

您尚未登录。

#1 2019-08-17 11:10:36

LAQ
会员
注册时间: 2017-09-20
累计积分: 38

编译esp-iot-solution的例程出现错误

我按照教程git下esp-iot-solution代码,然后也把path设置成export IOT_SOLUTION_PATH=/d/lin_work/esp32_work/esp32_prj/esp/esp-iot-solution;然后开始编译一个esp-iot-solution中一个例程,怎么会报如下错误:
Administrator@DE-0011 MSYS /d/lin_work/esp32_work/esp32_prj/empty_project
# make all
/d/lin_work/esp32_work/esp32_prj/esp/esp-iot-solution/submodule/esp-idf//make/project.mk:60: esp-idf build system only supports MSYS2 in "MINGW32" mode. Consult the ESP-IDF documentation for details.
WARNING: Failed to find Xtensa toolchain, may need to alter PATH or set one in the configuration menu
/d/lin_work/esp32_work/esp32_prj/esp/esp-iot-solution/submodule/esp-idf/make/project.mk:60: esp-idf build system only supports MSYS2 in "MINGW32" mode. Consult the ESP-IDF documentation for details.
WARNING: Failed to find Xtensa toolchain, may need to alter PATH or set one in the configuration menu
WARNING: Missing submodule components/bootloader/subproject/components/micro-ecc/micro-ecc...
Attempting 'git submodule update --init components/bootloader/subproject/components/micro-ecc/micro-ecc' in esp-idf root directory...
error: 路径规格 'components/bootloader/subproject/components/micro-ecc/micro-ecc' 未匹配任何 git 已知文件
make[1]: *** [/d/lin_work/esp32_work/esp32_prj/esp/esp-iot-solution/submodule/esp-idf/make/project.mk:531:/d/lin_work/esp32_work/esp32_prj/esp/esp-iot-solution/submodule/esp-idf/components/bootloader/subproject/components/micro-ecc/micro-ecc/.git] 错误 1
make: *** [/d/lin_work/esp32_work/esp32_prj/esp/esp-iot-solution/submodule/esp-idf/components/bootloader/Makefile.projbuild:41:/d/lin_work/esp32_work/esp32_prj/empty_project/build/bootloader/bootloader.bin] 错误 2
请问这个问怎么解决?

离线

#2 2019-08-17 13:53:53

还能这么玩
会员
注册时间: 2019-04-14
累计积分: 78

Re: 编译esp-iot-solution的例程出现错误

是这个吗:

https://github.com/espressif/esp-iot-solution


你试一试这样:

export IOT_SOLUTION_PATH="D:/lin_work/esp32_work/esp32_prj/esp/esp-iot-solution/"

虽然 bash 识别 /d/lin_work 这种格式, 但是其他软件未必识别, 个人猜测。

离线

页脚