Windows requires a prebuilt mconf-idf

rglissmann
Posts: 10
Joined: Wed Feb 19, 2020 1:08 am

Windows requires a prebuilt mconf-idf

Postby rglissmann » Wed Feb 19, 2020 1:12 am

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

ESP_Dazz
Posts: 308
Joined: Fri Jun 02, 2017 6:50 am

Re: Windows requires a prebuilt mconf-idf

Postby ESP_Dazz » Sun Feb 23, 2020 10:36 pm

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

User avatar
gunar.kroeger
Posts: 143
Joined: Fri Jul 27, 2018 6:48 pm

Re: Windows requires a prebuilt mconf-idf

Postby gunar.kroeger » Tue Mar 03, 2020 4:16 pm

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
"Running was invented in 1612 by Thomas Running when he tried to walk twice at the same time."

User avatar
gunar.kroeger
Posts: 143
Joined: Fri Jul 27, 2018 6:48 pm

Re: Windows requires a prebuilt mconf-idf

Postby gunar.kroeger » Tue Mar 03, 2020 4:30 pm

going through the ESP_IDF: Configure ESP_IDF extension solves the issue
"Running was invented in 1612 by Thomas Running when he tried to walk twice at the same time."

Who is online

Users browsing this forum: No registered users and 34 guests