I have installed ESP-IDF Extension in VSCode and configure it, after that i try to build any example and receive this error:
CMake error Windows requires an MSYS2 version of gcc on the PATH to build mconf-idf
The process of instalation and configuration of VSCode was normal.
Here share the logs in terminal of VSCode
-- Found Git: C:/Program Files/Git/mingw64/bin/git.exe (found version "2.32.0.windows.1")
CMake Error at C:/Users/joel_/esp/esp-idf/tools/cmake/kconfig.cmake:30 (message):
Windows requires an MSYS2 version of gcc on the PATH to build mconf-idf.
Consult the setup docs for ESP-IDF on Windows.
Call Stack (most recent call first):
C:/Users/joel_/esp/esp-idf/tools/cmake/build.cmake:166 (__kconfig_init)
C:/Users/joel_/esp/esp-idf/tools/cmake/idf.cmake:50 (__build_init)
C:/Users/joel_/esp/esp-idf/tools/cmake/project.cmake:7 (include)
CMakeLists.txt:5 (include)
-- Configuring incomplete, errors occurred!
The terminal process "C:\Program Files\Git\bin\bash.exe '-c', 'cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 ..'" terminated with exit code: 1.
Terminal will be reused by tasks, press any key to close it.
Any suggestion to solve the issue?
Thanks.
Error building in ESP-IDF Extension for VSCode
-
- Posts: 1
- Joined: Wed Oct 27, 2021 5:57 pm
Who is online
Users browsing this forum: Bing [Bot] and 171 guests