运行idf.py menuconfig 报错

linyaqiang
Posts: 8
Joined: Thu Apr 19, 2018 12:28 am

运行idf.py menuconfig 报错

Postby linyaqiang » Mon Jul 22, 2019 3:21 am

请问我按照ESP32-IDF的编程指南操作,下载后esp-idf后,运行idf.py menuconfig后,运行报错,报错信息如下:
Administrator@DE-0011 MINGW64 /d/lin_work/esp32_work/esp/esp-idf/examples/get-started/hello_world (master)
$ idf.py menuconfig
Checking Python dependencies...
Python requirements from D:\lin_work\esp32_work\esp\esp-idf\requirements.txt are satisfied.
Executing action: menuconfig
Running ninja in directory d:\lin_work\esp32_work\esp\esp-idf\examples\get-started\hello_world\build
Executing "ninja menuconfig"...
[0/1] cmd.exe /C "cd /D D:\lin_work\esp32_work\esp\esp-idf\examples\get-started\hello_world\...output config D:/lin_work/esp32_work/esp/esp-idf/examples/get-started/hello_world/sdkconfig"
D:/lin_work/esp32_work/esp/esp-idf/components/bt/Kconfig:386: undefined variable "$IDF_PATH/components/bt/host/bluedroid/Kconfig.in"
FAILED: CMakeFiles/menuconfig
cmd.exe /C "cd /D D:\lin_work\esp32_work\esp\esp-idf\examples\get-started\hello_world\build && C:\Python27\python.exe D:/lin_work/esp32_work/esp/esp-idf/tools/kconfig_new/confgen.py --kco
nfig D:/lin_work/esp32_work/esp/esp-idf/Kconfig --config D:/lin_work/esp32_work/esp/esp-idf/examples/get-started/hello_world/sdkconfig --env-file D:/lin_work/esp32_work/esp/esp-idf/exampl
es/get-started/hello_world/build/config.env --env IDF_TARGET=esp32 --output config D:/lin_work/esp32_work/esp/esp-idf/examples/get-started/hello_world/sdkconfig && "C:\Program Files\CMake
\bin\cmake.exe" -E env "COMPONENT_KCONFIGS=D:/lin_work/esp32_work/esp/esp-idf/components/app_trace/Kconfig D:/lin_work/esp32_work/esp/esp-idf/components/bt/Kconfig D:/lin_work/esp32_work/
esp/esp-idf/components/driver/Kconfig D:/lin_work/esp32_work/esp/esp-idf/components/efuse/Kconfig D:/lin_work/esp32_work/esp/esp-idf/components/esp-tls/Kconfig D:/lin_work/esp32_work/esp/
esp-idf/components/esp32/Kconfig D:/lin_work/esp32_work/esp/esp-idf/components/esp_adc_cal/Kconfig D:/lin_work/esp32_work/esp/esp-idf/components/esp_common/Kconfig D:/lin_work/esp32_work/
esp/esp-idf/components/esp_eth/Kconfig D:/lin_work/esp32_work/esp/esp-idf/components/esp_event/Kconfig D:/lin_work/esp32_work/esp/esp-idf/components/esp_gdbstub/Kconfig D:/lin_work/esp32_
work/esp/esp-idf/components/esp_http_client/Kconfig D:/lin_work/esp32_work/esp/esp-idf/components/esp_http_server/Kconfig D:/lin_work/esp32_work/esp/esp-idf/components/esp_https_ota/Kconf
ig D:/lin_work/esp32_work/esp/esp-idf/components/esp_https_server/Kconfig D:/lin_work/esp32_work/esp/esp-idf/components/esp_wifi/Kconfig D:/lin_work/esp32_work/esp/esp-idf/components/espc
oredump/Kconfig D:/lin_work/esp32_work/esp/esp-idf/components/fatfs/Kconfig D:/lin_work/esp32_work/esp/esp-idf/components/freemodbus/Kconfig D:/lin_work/esp32_work/esp/esp-idf/components/
freertos/Kconfig D:/lin_work/esp32_work/esp/esp-idf/components/heap/Kconfig D:/lin_work/esp32_work/esp/esp-idf/components/libsodium/Kconfig D:/lin_work/esp32_work/esp/esp-idf/components/l
og/Kconfig D:/lin_work/esp32_work/esp/esp-idf/components/lwip/Kconfig D:/lin_work/esp32_work/esp/esp-idf/components/mbedtls/Kconfig D:/lin_work/esp32_work/esp/esp-idf/components/mdns/Kcon
fig D:/lin_work/esp32_work/esp/esp-idf/components/mqtt/Kconfig D:/lin_work/esp32_work/esp/esp-idf/components/newlib/Kconfig D:/lin_work/esp32_work/esp/esp-idf/components/nvs_flash/Kconfig
D:/lin_work/esp32_work/esp/esp-idf/components/openssl/Kconfig D:/lin_work/esp32_work/esp/esp-idf/components/pthread/Kconfig D:/lin_work/esp32_work/esp/esp-idf/components/spi_flash/Kconfi
g D:/lin_work/esp32_work/esp/esp-idf/components/spiffs/Kconfig D:/lin_work/esp32_work/esp/esp-idf/components/tcpip_adapter/Kconfig D:/lin_work/esp32_work/esp/esp-idf/components/unity/Kcon
fig D:/lin_work/esp32_work/esp/esp-idf/components/vfs/Kconfig D:/lin_work/esp32_work/esp/esp-idf/components/wear_levelling/Kconfig D:/lin_work/esp32_work/esp/esp-idf/components/wifi_provi
sioning/Kconfig D:/lin_work/esp32_work/esp/esp-idf/components/wpa_supplicant/Kconfig" "COMPONENT_KCONFIGS_PROJBUILD=D:/lin_work/esp32_work/esp/esp-idf/components/app_update/Kconfig.projbu
ild D:/lin_work/esp32_work/esp/esp-idf/components/bootloader/Kconfig.projbuild D:/lin_work/esp32_work/esp/esp-idf/components/esptool_py/Kconfig.projbuild D:/lin_work/esp32_work/esp/esp-id
f/components/partition_table/Kconfig.projbuild" IDF_CMAKE=y KCONFIG_CONFIG=D:/lin_work/esp32_work/esp/esp-idf/examples/get-started/hello_world/sdkconfig IDF_TARGET=esp32 "C:/Program Files
/Git/usr/bin/winpty.exe" "C:/Program Files/Espressif/ESP-IDF Tools/mconf-idf/mconf-idf.exe" D:/lin_work/esp32_work/esp/esp-idf/Kconfig && C:\Python27\python.exe D:/lin_work/esp32_work/esp
/esp-idf/tools/kconfig_new/confgen.py --kconfig D:/lin_work/esp32_work/esp/esp-idf/Kconfig --config D:/lin_work/esp32_work/esp/esp-idf/examples/get-started/hello_world/sdkconfig --env-fil
e D:/lin_work/esp32_work/esp/esp-idf/examples/get-started/hello_world/build/config.env --env IDF_TARGET=esp32 --output config D:/lin_work/esp32_work/esp/esp-idf/examples/get-started/hello
_world/sdkconfig"
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
请问这个问题怎样解决呢?按照流程试了很多遍还是报这样错误。

yy_xxecho
Posts: 5
Joined: Thu Feb 06, 2020 7:33 am

Re: 运行idf.py menuconfig 报错

Postby yy_xxecho » Sun Apr 05, 2020 1:08 pm

同问,我也遇到了,请问题主解决了吗

yy_xxecho
Posts: 5
Joined: Thu Feb 06, 2020 7:33 am

Re: 运行idf.py menuconfig 报错

Postby yy_xxecho » Tue Apr 07, 2020 6:43 am

问题解决了,是因为终端的字号设太大,无法正常显示配置页面导致

Who is online

Users browsing this forum: No registered users and 42 guests