root@DESKTOP-BPK5NIE:/mnt/d/esp/get-started# make menuconfig
make[1]: Entering directory '/mnt/d/esp/esp-mdf/esp-idf/tools/kconfig'
cc -c -DCURSES_LOC="<curses.h>" -DLOCALE -MMD /mnt/d/esp/esp-mdf/esp-idf/tools/kconfig/mconf.c -o mconf.o
<command-line>:0:12: fatal error: curses.h: No such file or directory
compilation terminated.
Makefile:171: recipe for target 'mconf.o' failed
make[1]: *** [mconf.o] Error 1
make[1]: Leaving directory '/mnt/d/esp/esp-mdf/esp-idf/tools/kconfig'
make: *** No rule to make target '/mnt/d/esp/esp-mdf/esp-idf/tools/kconfig/conf-idf', needed by '/mnt/d/esp/esp-mdf/esp-idf/tools/kconfig/mconf-idf'. Stop.
请问是缺少了某个文件吗?我下载时候输入的是
git clone --recursive https://github.com/espressif/esp-mdf.git
路径添加是这两行
export MDF_PATH=/mnt/d/esp/esp-mdf
export PATH="$PATH:/esp/xtensa-esp32-elf/bin"
请教一下,安装ESP-MDF遇到的一个问题
Re: 请教一下,安装ESP-MDF遇到的一个问题
从你的日志看由于你的编译环境没有安装好造成的, 请运行如下命令:
Code: Select all
sudo apt-get install libncurses5-dev
Who is online
Users browsing this forum: No registered users and 15 guests