![msys2 cmake command not found msys2 cmake command not found](https://i.stack.imgur.com/BgBsB.png)
Building C object CMakeFiles/cmTC_214b0.dir/testCCompiler.c.objĬmd.exe /C "cd. Is not able to compile a simple test program.Ĭhange Dir: C:/tools/esp32-latest/esp/hello_world/build/CMakeFiles/CMakeTmp Check for working C compiler: C:/tools/esp32-latest/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe - brokenĬMake Error at C:/tools/esp32-latest/tools/cmake/3.13.4/share/cmake-3.13/Modules/CMakeTestCCompiler.cmake:52 (message): Check for working C compiler: C:/tools/esp32-latest/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe The CXX compiler identification is GNU 8.2.0 The C compiler identification is GNU 8.2.0 IDF_TARGET not set, using default target: esp32 Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.23.0.windows.1") Environment IDF_PATH will be used for the build.Ĭ:/tools/esp32-latest/esp/esp-idf/tools/cmake/project.cmake:7 (include) IDF_PATH environment variable is different from inferred IDF_PATH.Ĭheck if your project's top-level CMakeLists.txt includes the rightĬMake files. Running cmake in directory c:\tools\esp32-latest\esp\hello_world\buildĮxecuting "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -warn-uninitialized -DCCACHE_ENABLE=0 c:\tools\esp32-latest\esp\hello_world".ĬMake Warning at C:/tools/esp32-latest/esp/esp-idf/tools/cmake/idf.cmake:14 (message):
![msys2 cmake command not found msys2 cmake command not found](https://i.stack.imgur.com/bKxTD.png)
![msys2 cmake command not found msys2 cmake command not found](https://support.snapmaker.com/hc/article_attachments/360054330314/mceclip5.png)
Python requirements from c:\tools\esp32-latest\esp\esp-idf\requirements.txt are satisfied. c:\users\\.espressif: contains dist, python_env, and tools folders.Ĭ:\tools\esp32-latest\esp\hello_world>idf.py menuconfig.IDF_TOOLS_PATH: c:\tools\esp32-latest (not set by me, including before installation).IDF_PATH: c:\tools\esp32-latest\esp\esp-idf (I chose v4 release in the installer).Also has idf_cmd_init.bat and a few other files. Root directory: c:\tools\esp32-latest, has folders dist, python_env, and tools (along with an esp directory that I added).Hopefully someone can help me work through this. This is my second time through the installer, and I've worked through a few issues, but still run into this same error in menuconfig. I'm having trouble with the latest toolchain installation, and I'm running into a problem running menuconfig in the hello_world sample (copied to another directory). That way, none of the values would conflict with latest. For stable, I did not set any global environment variables - instead I set the values in the. I have stable working fine, in as much as I can run menuconfig and build/flash/monitor the hello_world app.
#Msys2 cmake command not found windows 10#
I'm trying to get side-by-side stable and latest toolchains configured on my Windows 10 PC.