安装IDF Espressif使menuconfig出现致命错误

时间:2018-07-22 17:58:23

标签: makefile arduino raspberry-pi esp32

我想在我的Raspberry PI 3上安装Espressif IDF。

我遵循了一个教程来克隆github文件,所以一个...

我必须执行“ make menuconfig”操作,但出现致命错误。 致命错误消息是:

pi@raspberrypi:~/ESP32/premier $ make menuconfig

make[1]: Entering directory '/home/pi/ESP32/esp-idf/tools/kconfig'
cc  -D_GNU_SOURCE -D_DEFAULT_SOURCE -DCURSES_LOC="<ncurses.h>" -DLOCALE -MD   -c -o mconf.o mconf.c
mconf.c:1047:1: fatal error: opening dependency file mconf.d: Permission denied
 }
 ^
compilation terminated.
<builtin>: recipe for target 'mconf.o' failed
make[1]: *** [mconf.o] Error 1
make[1]: Leaving directory '/home/pi/ESP32/esp-idf/tools/kconfig'
make: *** No rule to make target '/home/pi/ESP32/esp-idf/tools/kconfig/conf', needed by '/home/pi/ESP32/esp-idf/tools/kconfig/mconf'.  Stop.

有人会遇到这个问题吗???

1 个答案:

答案 0 :(得分:0)

基于权限的问题,可能是: *如评论中所述,通过不偏离方向重新启动教程,或者 *在您的“家”情况下修复权限(否则/ opt /...)

chmod -R 777 /home/pi/ESP32/esp-idf/