make menuconfig fatal error

Sierra_Nov
Posts: 5
Joined: Sun Apr 21, 2019 1:42 am

make menuconfig fatal error

Postby Sierra_Nov » Tue Jun 04, 2019 2:31 am

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.

User avatar
ESP_Roland
Posts: 263
Joined: Tue Oct 09, 2018 10:28 am

Re: make menuconfig fatal error

Postby ESP_Roland » Tue Jun 04, 2019 6:24 am

Hi Sierra_Nov.

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

Sierra_Nov
Posts: 5
Joined: Sun Apr 21, 2019 1:42 am

Re: make menuconfig fatal error

Postby Sierra_Nov » Tue Jun 04, 2019 1:37 pm

Thank you, Roland. I'll figure it out and get to work.

Who is online

Users browsing this forum: taherrera and 96 guests