You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[variant] Loaded new set of variants[kit] Successfully loaded 10 kits from C:\Users\li1gu\AppData\Local\CMakeTools\cmake-tools-kits.json[proc] Executing command: C:\Users\li1gu\.espressif\tools\riscv32-esp-elf\esp-2021r1-8.4.0\riscv32-esp-elf\bin\riscv32-esp-elf-gcc.exe -v[main] Configuring folder: sample_project [proc] Executing command: C:\Users\li1gu\.espressif\tools\cmake\3.20.3\bin\cmake.EXE --no-warn-unused-cli -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_C_COMPILER:FILEPATH=C:\Users\li1gu\.espressif\tools\riscv32-esp-elf\esp-2021r1-8.4.0\riscv32-esp-elf\bin\riscv32-esp-elf-gcc.exe -DCMAKE_CXX_COMPILER:FILEPATH=C:\Users\li1gu\.espressif\tools\riscv32-esp-elf\esp-2021r1-8.4.0\riscv32-esp-elf\bin\riscv32-esp-elf-g++.exe -Hc:/Users/li1gu/esp/sample_project -Bc:/Users/li1gu/esp/sample_project/build -G Ninja[cmake] Not searching for unused variables given on the command line.[cmake] -- Found Git: C:/Users/li1gu/.espressif/tools/idf-git/2.34.2/cmd/git.exe (found version "2.34.1.windows.1") [cmake] -- IDF_TARGET not set, using default target: esp32[cmake] -- The C compiler identification is unknown[cmake] -- The CXX compiler identification is unknown[cmake] -- The ASM compiler identification is unknown[cmake] -- Found assembler: C:/ProgramData/nodemcu-prebuilt-toolchains-master/esp32/bin/xtensa-esp32-elf-gcc[cmake] -- Detecting C compiler ABI info[cmake] -- Detecting C compiler ABI info - failed[cmake] -- Check for working C compiler: C:/ProgramData/nodemcu-prebuilt-toolchains-master/esp32/bin/xtensa-esp32-elf-gcc[cmake] -- Check for working C compiler: C:/ProgramData/nodemcu-prebuilt-toolchains-master/esp32/bin/xtensa-esp32-elf-gcc - broken[cmake] CMake Error at C:/Users/li1gu/.espressif/tools/cmake/3.20.3/share/cmake-3.20/Modules/CMakeTestCCompiler.cmake:66 (message):[cmake] The C compiler[cmake] [cmake] "C:/ProgramData/nodemcu-prebuilt-toolchains-master/esp32/bin/xtensa-esp32-elf-gcc"[cmake] [cmake] is not able to compile a simple test program.[cmake] [cmake] It fails with the following output:[cmake] [cmake] Change Dir: C:/Users/li1gu/esp/sample_project/build/CMakeFiles/CMakeTmp[cmake] [cmake] Run Build Command(s):C:/Users/li1gu/.espressif/tools/ninja/1.10.2/ninja.exe cmTC_bef14 && [cmake] CreateProcess failed. Command attempted:[cmake] "C:\ProgramData\nodemcu-prebuilt-toolchains-master\esp32\bin\xtensa-esp32-elf-gcc -mlongcalls -Wno-frame-address -o CMakeFiles\cmTC_bef14.dir\testCCompiler.c.obj -c testCCompiler.c"[cmake] ninja: fatal: CreateProcess: %1 不是有效的 Win32 应用程序。[cmake] [cmake] [cmake] [cmake] [cmake] [cmake] [cmake] CMake will not be able to correctly generate this project.[cmake] Call Stack (most recent call first):[cmake] C:/Users/li1gu/Desktop/esp-idf/tools/cmake/project.cmake:311 (__project)[cmake] CMakeLists.txt:8 (project)[cmake] [cmake] [cmake] -- Configuring incomplete, errors occurred![cmake] See also "C:/Users/li1gu/esp/sample_project/build/CMakeFiles/CMakeOutput.log".[cmake] See also "C:/Users/li1gu/esp/sample_project/build/CMakeFiles/CMakeError.log".
It about nodemcu-prebuilt-toolchains
The following is the error file
CMakeError.log
CMakeOutput.log
Does anyone know how to fix this?
The text was updated successfully, but these errors were encountered: