您尚未登录。

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

LAQ
会员
注册时间: 2017-09-20
已发帖子: 38
积分: 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
已发帖子: 119
积分: 119

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 这种格式, 但是其他软件未必识别, 个人猜测。

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn