请教一下,安装ESP-MDF遇到的一个问题

fengzhiming
Posts: 1
Joined: Fri Aug 16, 2019 3:19 am

请教一下,安装ESP-MDF遇到的一个问题

Postby fengzhiming » Fri Aug 16, 2019 3:24 am

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"

it_zzc
Posts: 40
Joined: Mon Apr 15, 2019 1:37 pm

Re: 请教一下,安装ESP-MDF遇到的一个问题

Postby it_zzc » Mon Aug 19, 2019 6:14 am

从你的日志看由于你的编译环境没有安装好造成的, 请运行如下命令:

Code: Select all

sudo apt-get install libncurses5-dev

Who is online

Users browsing this forum: No registered users and 0 guests