像搭建一个IDF2.1版本在MSYS32上面,但是make失败了
Posted: 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.
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.