Page 1 of 1

Windows requires a prebuilt mconf-idf

Posted: Wed Feb 19, 2020 1:12 am
by rglissmann
Hi,

I've installed the expressif extensions from the Marketplace into Visual Studio and am trying to build one of the examples. I'm getting the following error: Windows requires a prebuilt mconf-idf for your platform on the PATH, or an MSYS2 version of gcc on the PATH to build mconf-idf.

How do I correct this?

Thanks

Re: Windows requires a prebuilt mconf-idf

Posted: Sun Feb 23, 2020 10:36 pm
by ESP_Dazz
Could you provide more information such as:
  • ESP-IDF version
  • IDF tools installer version
  • Are you building using VS Code IDF extension commands, or directly on command line?
  • Provide a copy of the error log

Re: Windows requires a prebuilt mconf-idf

Posted: Tue Mar 03, 2020 4:16 pm
by gunar.kroeger
I was able to reproduce this issue.

Code: Select all

⚠️ CMake Error at C:/Users/gunar.kroeger/esp-idf/tools/cmake/kconfig.cmake:28 (message):
  Windows requires a prebuilt mconf-idf for your platform on the PATH, or 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/gunar.kroeger/esp-idf/tools/cmake/build.cmake:160 (__kconfig_init)
  C:/Users/gunar.kroeger/esp-idf/tools/cmake/idf.cmake:43 (__build_init)
  C:/Users/gunar.kroeger/esp-idf/tools/cmake/project.cmake:7 (include)
  CMakeLists.txt:5 (include)


-- Configuring incomplete, errors occurred!
building blink example with idf 4.0 in VS Code using the ESP-IDF: Build your project command

Re: Windows requires a prebuilt mconf-idf

Posted: Tue Mar 03, 2020 4:30 pm
by gunar.kroeger
going through the ESP_IDF: Configure ESP_IDF extension solves the issue