Sysprogs forums › Forums › VisualGDB › ESP-IDF V5 › Reply To: ESP-IDF V5
July 28, 2022 at 03:06
#32878
Participant
Hi,
Hopefully Espressif will have an official release of ESP-IDF V5 soon.
Manually editing the toolchain.xml and bsp.xml was marginally successful, but there’s a new error related to kconfiglib.
that I’ve been unable to resolve.
Although there’s a line:
Requirement already up-to-date: kconfiglib
There’s still an error:
ModuleNotFoundError: No module named 'kconfiglib'
Full log:
Executing pre-build actions Run "pip3 install --upgrade kconfiglib" in directory "C:\Users\gojimmypi\source\repos\EmbeddedProject23" on local computer pip3 install --upgrade kconfiglib Requirement already up-to-date: kconfiglib in c:\users\gojimmypi\appdata\local\programs\python\python38-32\lib\site-packages (14.1.0) WARNING: You are using pip version 19.2.3, however version 22.2.1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command. Run "C:\Users\gojimmypi\AppData\Local\VisualGDB\CMake\bin\cmake.exe ../../.. -G "Ninja" -DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_MAKE_PROGRAM=c:/SysGCC/esp32/tools/ninja/1.10.2/ninja.exe -DESP_PLATFORM=1 -DCCACHE_ENABLE=0" in directory "C:\Users\gojimmypi\source\repos\EmbeddedProject23/build/VisualGDB/Debug" on local computer C:\Users\gojimmypi\AppData\Local\VisualGDB\CMake\bin\cmake.exe ../../.. -G "Ninja" -DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_MAKE_PROGRAM=c:/SysGCC/esp32/tools/ninja/1.10.2/ninja.exe -DESP_PLATFORM=1 -DCCACHE_ENABLE=0 -- Project is not inside a git repository, or git repository has no commits; will not use 'git describe' to determine PROJECT_VER. -- Building ESP-IDF components for target esp32 -- Checking Python dependencies... Python requirements are satisfied. Skipping the download of C:\Users\gojimmypi\.espressif\espidf.constraints.v5.0.txt because it was downloaded recently. If you believe that this is causing you trouble then remove it manually and re-run your install script. Constraint file: C:\Users\gojimmypi\.espressif\espidf.constraints.v5.0.txt Requirement files: - C:\SysGCC\esp32\esp-idf\v5.0\tools\requirements\requirements.core.txt Python being checked: C:\Users\gojimmypi\.espressif\python_env\idf5.0_py3.8_env\Scripts\python.exe -- Project sdkconfig file C:/Users/gojimmypi/source/repos/EmbeddedProject23/sdkconfig Traceback (most recent call last): File "C:/SysGCC/esp32/esp-idf/v5.0/tools/kconfig_new/confgen.py", line 23, in <module> import gen_kconfig_doc File "C:\SysGCC\esp32\esp-idf\v5.0\tools\kconfig_new\gen_kconfig_doc.py", line 27, in <module> import kconfiglib ModuleNotFoundError: No module named 'kconfiglib' CMake Error at C:/SysGCC/esp32/esp-idf/v5.0/tools/cmake/kconfig.cmake:176 (message): Failed to run confgen.py (python;C:/SysGCC/esp32/esp-idf/v5.0/tools/kconfig_new/confgen.py;--list-separator=semicolon;--kconfig;C:/SysGCC/esp32/esp-idf/v5.0/Kconfig;--sdkconfig-rename;C:/SysGCC/esp32/esp-idf/v5.0/sdkconfig.rename;--config;C:/Users/gojimmypi/source/repos/EmbeddedProject23/sdkconfig;--env-file;C:/Users/gojimmypi/source/repos/EmbeddedProject23/build/VisualGDB/Debug/config.env). Error 1 Call Stack (most recent call first): C:/SysGCC/esp32/esp-idf/v5.0/tools/cmake/build.cmake:596 (__kconfig_generate_config) C:/SysGCC/esp32/esp-idf/v5.0/tools/cmake/project.cmake:434 (idf_build_process) CMakeLists.txt:8 (project) -- Configuring incomplete, errors occurred! See also "C:/Users/gojimmypi/source/repos/EmbeddedProject23/build/VisualGDB/Debug/CMakeFiles/CMakeOutput.log". ------------------------------------------------------------- Command exited with code 1 Executable: C:\Users\gojimmypi\AppData\Local\VisualGDB\CMake\bin\cmake.exe Arguments: ../../.. -G "Ninja" -DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_MAKE_PROGRAM=c:/SysGCC/esp32/tools/ninja/1.10.2/ninja.exe -DESP_PLATFORM=1 -DCCACHE_ENABLE=0 Directory: C:\Users\gojimmypi\source\repos\EmbeddedProject23/build/VisualGDB/Debug Command-line action failed ========== Project Build Summary ========== EmbeddedProject23 built in 00:14 ========== Build: 0 Succeeded, 1 Failed, 0 Skipped ==========