unable to open menuconfig for aws-iot-config

madhusudan_jadhav
Posts: 28
Joined: Fri Mar 10, 2023 9:05 am

unable to open menuconfig for aws-iot-config

Postby madhusudan_jadhav » Fri Mar 17, 2023 12:42 am

  1. E:\ESP-IDF>idf.py menuconfig
  2. Executing action: menuconfig
  3. Running cmake in directory e:\esp-idf\build
  4. Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DCCACHE_ENABLE=1 e:\esp-idf"...
  5. -- The C compiler identification is Clang 14.0.0
  6. -- The CXX compiler identification is unknown
  7. -- The ASM compiler identification is Clang with GNU-like command-line
  8. -- Found assembler: E:/Espressif/tools/xtensa-clang/14.0.0-38679f0333/xtensa-esp32-elf-clang/bin/clang.exe
  9. -- Detecting C compiler ABI info
  10. -- Detecting C compiler ABI info - failed
  11. -- Check for working C compiler: E:/Espressif/tools/xtensa-clang/14.0.0-38679f0333/xtensa-esp32-elf-clang/bin/clang.exe
  12. -- Check for working C compiler: E:/Espressif/tools/xtensa-clang/14.0.0-38679f0333/xtensa-esp32-elf-clang/bin/clang.exe - broken
  13. CMake Error at E:/Espressif/tools/cmake/3.24.0/share/cmake-3.24/Modules/CMakeTestCCompiler.cmake:69 (message):
  14.   The C compiler
  15.  
  16.     "E:/Espressif/tools/xtensa-clang/14.0.0-38679f0333/xtensa-esp32-elf-clang/bin/clang.exe"
  17.  
  18.   is not able to compile a simple test program.
  19.  
  20.   It fails with the following output:
  21.  
  22.     Change Dir: E:/ESP-IDF/build/CMakeFiles/CMakeTmp
  23.  
  24.     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
  25.     [2/2] Linking C executable cmTC_74eee.exe
  26.     FAILED: cmTC_74eee.exe
  27.     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 ."
  28.     clang: error: unable to execute command: program not executable
  29.     clang: error: linker command failed with exit code 1 (use -v to see invocation)
  30.     ninja: build stopped: subcommand failed.
  31.  
  32.  
  33.  
  34.  
  35.  
  36.   CMake will not be able to correctly generate this project.
  37. Call Stack (most recent call first):
  38.   CMakeLists.txt:2 (project)
  39.  
  40.  
  41. CMake Error at CMakeLists.txt:2 (project):
  42.   No CMAKE_CXX_COMPILER could be found.
  43.  
  44.   Tell CMake where to find the compiler by setting either the environment
  45.   variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  46.   to the compiler, or to the compiler name if it is in the PATH.
  47.  
  48.  
  49. -- Configuring incomplete, errors occurred!
  50. See also "E:/ESP-IDF/build/CMakeFiles/CMakeOutput.log".
  51. See also "E:/ESP-IDF/build/CMakeFiles/CMakeError.log".
  52. cmake failed with exit code 1
I want to open menuconfig to enable aws_iot_config but not error is coming . i am using esp-ide 2.8.1 and idf 5.0.1

Who is online

Users browsing this forum: Baidu [Spider], BipinDangwal, MicroController, psparodi and 128 guests