Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-28280

QTC is unable to find compiler for AutoGenerated MCU Kits

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • Qt Creator 8.0.2
    • MCU Support
    • None

    Description

      Qul version - 2.3.0

      Host OS - windows

      The Compiler path is not correctly configured for the auto-generated kits for MCU.
      Adding Screenshots for kits and General Messages below for the same.

       

      Logging in and fetching licenses ...
      Qt for MCUs: Warning for target Qt for MCUs 2.3 - MIMXRT1050-EVK-BAREMETAL 16bpp (ARMGCC): missing CMake toolchain file expected at C:\Qt_2.3.0_DC_Enterprise\Tools\QtCreator\bin\%{Qul_ROOT}\lib\cmake\Qul\toolchain\armgcc.cmake.
      Qt for MCUs: Warning for target Qt for MCUs 2.3 - MIMXRT1050-EVK-BAREMETAL 16bpp (IAR): missing CMake toolchain file expected at C:\Qt_2.3.0_DC_Enterprise\Tools\QtCreator\bin\%{Qul_ROOT}\lib\cmake\Qul\toolchain\iar.cmake.
      Qt for MCUs: Warning for target Qt for MCUs 2.3 - MIMXRT1050-EVK-FREERTOS 16bpp (ARMGCC): missing CMake toolchain file expected at C:\Qt_2.3.0_DC_Enterprise\Tools\QtCreator\bin\%{Qul_ROOT}\lib\cmake\Qul\toolchain\armgcc.cmake.
      Qt for MCUs: Warning for target Qt for MCUs 2.3 - MIMXRT1050-EVK-FREERTOS 16bpp (IAR): missing CMake toolchain file expected at C:\Qt_2.3.0_DC_Enterprise\Tools\QtCreator\bin\%{Qul_ROOT}\lib\cmake\Qul\toolchain\iar.cmake.
      Checking for updated license succeeded (1 licenses fetched)
      Running C:\Qt_2.3.0_DC_Enterprise\Tools\CMake_64\bin\cmake.exe -S C:/Qt_2.3.0_DC_Enterprise/QtMCUs/2.3.0/examples/minimal -B C:/Qt_2.3.0_DC_Enterprise/QtMCUs/2.3.0/examples/build-minimal-Qt_for_MCUs_2_3_Desktop_32bpp-Debug "-DCMAKE_GENERATOR:STRING=Ninja" "-DCMAKE_BUILD_TYPE:STRING=Debug" "-DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=C:/Qt_2.3.0_DC_Enterprise/Tools/QtCreator/share/qtcreator/package-manager/auto-setup.cmake" "-DCMAKE_CXX_COMPILER:STRING=" "-DCMAKE_C_COMPILER:STRING=" "-DQUL_COLOR_DEPTH:STRING=32" "-DQUL_GENERATORS:STRING=C:/Qt_2.3.0_DC_Enterprise/QtMCUs/2.3.0/lib/cmake/Qul/QulGenerators.cmake" "-DQUL_PLATFORM:STRING=Qt" "-DQul_ROOT:STRING=C:\Qt_2.3.0_DC_Enterprise\QtMCUs\2.3.0" in C:\Qt_2.3.0_DC_Enterprise\QtMCUs\2.3.0\examples\build-minimal-Qt_for_MCUs_2_3_Desktop_32bpp-Debug.
      -- The C compiler identification is unknown
      -- The CXX compiler identification is unknown
      -- The ASM compiler identification is unknown
      -- Didn't find assembler
      CMake Error at CMakeLists.txt:3 (project):
        No CMAKE_C_COMPILER could be found.  Tell CMake where to find the compiler by setting either the environment
        variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
        the compiler, or to the compiler name if it is in the PATH.
      CMake Error at CMakeLists.txt:3 (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.
      CMake Error at CMakeLists.txt:3 (project):
        No CMAKE_ASM_COMPILER could be found.  Tell CMake where to find the compiler by setting either the environment
        variable "ASM" or the CMake cache entry CMAKE_ASM_COMPILER to the full path
        to the compiler, or to the compiler name if it is in the PATH.
      -- Warning: Did not find file Compiler/-ASM
      -- Configuring incomplete, errors occurred!
      See also "C:/Qt_2.3.0_DC_Enterprise/QtMCUs/2.3.0/examples/build-minimal-Qt_for_MCUs_2_3_Desktop_32bpp-Debug/CMakeFiles/CMakeOutput.log".
      See also "C:/Qt_2.3.0_DC_Enterprise/QtMCUs/2.3.0/examples/build-minimal-Qt_for_MCUs_2_3_Desktop_32bpp-Debug/CMakeFiles/CMakeError.log".
      CMake process exited with exit code 1.Elapsed time: 00:01.
      

      Attachments

        Activity

          People

            ylopes Yoann Lopes
            argupta Aritra Gupta
            Yoann Lopes Yoann Lopes
            Ilkka Kellokoski Ilkka Kellokoski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: