Page 1 of 1

make menuconfig fatal error

Posted: Tue Jun 04, 2019 2:31 am
by Sierra_Nov
I am trying to setup a Raspberry Pi Development Environment using the ESP-IDF for the ESP32 Wrover kit. I have a Raspberry Pi 3 and have installed the Stretch OS. I followed the instructions in the Get Started Guide for installing the ESP-IDF, etc.

When I got to Step 7, Configure, I ran the make menuconfig command and it failed. I have copied the output from my terminal and have posted it below. Would someone please help me figure out what I have to fix in order to correctly execute the make menuconfig command?

Thank you.

pi@raspberrypi:~/esp/hello_world $ make menuconfig
make[1]: Entering directory '/home/pi/esp/esp-idf/tools/kconfig'
cc -c -DCURSES_LOC="<curses.h>" -DLOCALE -MMD /home/pi/esp/esp-idf/tools/kconfig/mconf.c -o mconf.o
In file included from /home/pi/esp/esp-idf/tools/kconfig/mconf.c:23:0:
/home/pi/esp/esp-idf/tools/kconfig/lxdialog/dialog.h:38:20: fatal error: curses.h: No such file or directory
#include CURSES_LOC
^
compilation terminated.
Makefile:171: recipe for target 'mconf.o' failed
make[1]: *** [mconf.o] Error 1
make[1]: Leaving directory '/home/pi/esp/esp-idf/tools/kconfig'
make: *** No rule to make target '/home/pi/esp/esp-idf/tools/kconfig/conf-idf', needed by '/home/pi/esp/esp-idf/tools/kconfig/mconf-idf'. Stop.

Re: make menuconfig fatal error

Posted: Tue Jun 04, 2019 6:24 am
by ESP_Roland
Hi Sierra_Nov.

The error indicates that you need to install the ncurses library.

Re: make menuconfig fatal error

Posted: Tue Jun 04, 2019 1:37 pm
by Sierra_Nov
Thank you, Roland. I'll figure it out and get to work.