compilation error while compiling using using esp-idf
Posted: Mon Sep 12, 2022 8:28 am
Hello everyone,
I am getting below error while compiling the any example project: Executing task: cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 ..
-- Found Git: C:/Program Files/Git/mingw64/bin/git.exe (found version "2.37.3.windows.1")
CMake Error at C:/Users/XXX/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/XXX/esp/esp-idf/tools/cmake/build.cmake:176 (__kconfig_init)
C:/Users/XXX/esp/esp-idf/tools/cmake/idf.cmake:50 (__build_init)
C:/Users/XXX/esp/esp-idf/tools/cmake/project.cmake:12 (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.
Can anyoneplease help me to solve it?
I am getting below error while compiling the any example project: Executing task: cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 ..
-- Found Git: C:/Program Files/Git/mingw64/bin/git.exe (found version "2.37.3.windows.1")
CMake Error at C:/Users/XXX/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/XXX/esp/esp-idf/tools/cmake/build.cmake:176 (__kconfig_init)
C:/Users/XXX/esp/esp-idf/tools/cmake/idf.cmake:50 (__build_init)
C:/Users/XXX/esp/esp-idf/tools/cmake/project.cmake:12 (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.
Can anyoneplease help me to solve it?