像搭建一个IDF2.1版本在MSYS32上面,但是make失败了

esp_user
Posts: 1
Joined: Tue May 04, 2021 5:18 am

像搭建一个IDF2.1版本在MSYS32上面,但是make失败了

Postby esp_user » Tue May 04, 2021 5:22 am

想要在MSYS32上面搭建IDF2.1版本,在hello_world文件夹中输入命令make menuconfig,发现报错了,我应该在哪里下载wordexp这个文件?
6. # make menuconfig
7. make[1]: 进入目录“/home/Administrator/esp/esp-idf/tools/kconfig”
8. cc -I/usr/include/ncursesw -DCURSES_LOC="<curses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -c -o zconf.tab.o zconf.tab.c
9. In file included from zconf.tab.c:2419:
10. zconf.lex.c:1076:10: fatal error: wordexp.h: No such file or directory
11. 1076 | #include <wordexp.h>
12. | ^~~~~~~~~~~
13. compilation terminated.
14. make[1]: *** [<内置>:zconf.tab.o] 错误 1
15. make[1]: 离开目录“/home/Administrator/esp/esp-idf/tools/kconfig”
16. make[1]: 进入目录“/home/Administrator/esp/esp-idf/tools/kconfig”
17. cc -I/usr/include/ncursesw -DCURSES_LOC="<curses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -c -o zconf.tab.o zconf.tab.c
18. In file included from zconf.tab.c:2419:
19. zconf.lex.c:1076:10: fatal error: wordexp.h: No such file or directory
20. 1076 | #include <wordexp.h>
21. | ^~~~~~~~~~~
22. compilation terminated.
23. make[1]: *** [<内置>:zconf.tab.o] 错误 1
24. make[1]: 离开目录“/home/Administrator/esp/esp-idf/tools/kconfig”
25. make: *** [/home/Administrator/esp/esp-idf/make/project_config.mk:20:/home/Administrator/esp/esp-idf/tools/kconfig/mconf] 错误 2
26.

ESP_Gargamel
Posts: 786
Joined: Wed Nov 14, 2018 8:45 am

Re: 像搭建一个IDF2.1版本在MSYS32上面,但是make失败了

Postby ESP_Gargamel » Thu May 06, 2021 2:06 am

IDF 2.1 太老了,建议用最新的 v4.2.1 或更新版本。

https://docs.espressif.com/projects/esp ... index.html

可以用这里提供的在线或离线工具搭建环境:https://dl.espressif.com/dl/esp-idf/

Who is online

Users browsing this forum: No registered users and 84 guests