E:\ESP-IDF>idf.py menuconfig
Executing action: menuconfig
Running cmake in directory e:\esp-idf\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DCCACHE_ENABLE=1 e:\esp-idf"...
-- The C compiler identification is Clang 14.0.0
-- The CXX compiler identification is unknown
-- The ASM compiler identification is Clang with GNU-like command-line
-- Found assembler: E:/Espressif/tools/xtensa-clang/14.0.0-38679f0333/xtensa-esp32-elf-clang/bin/clang.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: E:/Espressif/tools/xtensa-clang/14.0.0-38679f0333/xtensa-esp32-elf-clang/bin/clang.exe
-- Check for working C compiler: E:/Espressif/tools/xtensa-clang/14.0.0-38679f0333/xtensa-esp32-elf-clang/bin/clang.exe - broken
CMake Error at E:/Espressif/tools/cmake/3.24.0/share/cmake-3.24/Modules/CMakeTestCCompiler.cmake:69 (message):
The C compiler
"E:/Espressif/tools/xtensa-clang/14.0.0-38679f0333/xtensa-esp32-elf-clang/bin/clang.exe"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: E:/ESP-IDF/build/CMakeFiles/CMakeTmp
Run Build Command(s):E:/Espressif/tools/ninja/1.10.2/ninja.exe cmTC_74eee && [1/2] Building C object CMakeFiles/cmTC_74eee.dir/testCCompiler.c.obj
[2/2] Linking C executable cmTC_74eee.exe
FAILED: cmTC_74eee.exe
cmd.exe /C "cd . && E:\Espressif\tools\xtensa-clang\14.0.0-38679f0333\xtensa-esp32-elf-clang\bin\clang.exe CMakeFiles/cmTC_74eee.dir/testCCompiler.c.obj -o cmTC_74eee.exe -Wl,--out-implib,libcmTC_74eee.dll.a -Wl,--major-image-version,0,--minor-image-version,0 -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && cd ."
clang: error: unable to execute command: program not executable
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:2 (project)
CMake Error at CMakeLists.txt:2 (project):
No CMAKE_CXX_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!
See also "E:/ESP-IDF/build/CMakeFiles/CMakeOutput.log".
See also "E:/ESP-IDF/build/CMakeFiles/CMakeError.log".
cmake failed with exit code 1