Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-131438

Ninja error when trying to compile application with CMake on jetson-agx-xavier and raspberrypi5 on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.8.1, 6.9.0 FF
    • 6.5.8, 6.8.1
    • Device Creation
    • 101658bb6 (dev), 72e6ccd08 (scarthgap), 0892d298b (dev), 647c462ad (6.8)

    Description

      What:

      Ninja error when trying to build application with CMake:

      General Messages: [cmake] Running C:\Users\qt\RTA\B2Qt_6.8.1\Tools\CMake_64\bin\cmake.exe -S C:/Users/qt/RTA/B2Qt_6.8.1/Examples/Qt-6.8.1/corelib/ipc/localfortuneclient -B C:/Users/qt/RTA/B2Qt_6.8.1/Examples/Qt-6.8.1/corelib/ipc/localfortuneclient/build/Boot2Qt_6_8_1_Raspberry_Pi_Development_Boards_64bit-Debug "-DCMAKE_PREFIX_PATH:STRING=C:/Users/qt/RTA/B2Qt_6.8.1/6.8.1/Boot2Qt/raspberrypi-armv8/toolchain/sysroots/cortexa53-poky-linux/usr" "-DCMAKE_SYSROOT:PATH=C:/Users/qt/RTA/B2Qt_6.8.1/6.8.1/Boot2Qt/raspberrypi-armv8/toolchain/sysroots/cortexa53-poky-linux" "-DCMAKE_CXX_COMPILER:STRING=C:/Users/qt/RTA/B2Qt_6.8.1/6.8.1/Boot2Qt/raspberrypi-armv8/toolchain/sysroots/x86_64-w64-mingw32/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++.exe" "-DCMAKE_CXX_FLAGS_INIT:STRING=-DQT_QML_DEBUG" "-DCMAKE_TOOLCHAIN_FILE:FILEPATH=C:/Users/qt/RTA/B2Qt_6.8.1/6.8.1/Boot2Qt/raspberrypi-armv8/toolchain/sysroots/x86_64-w64-mingw32/usr/lib/cmake/Qt6/qt.toolchain.cmake" "-DCMAKE_CXX_COMPILER_TARGET:STRING=aarch64-poky-linux" "-DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=C:\Users\qt\RTA\B2Qt_6.8.1\Examples\Qt-6.8.1\corelib\ipc\localfortuneclient\build\Boot2Qt_6_8_1_Raspberry_Pi_Development_Boards_64bit-Debug/.qtc/package-manager/auto-setup.cmake" "-DCMAKE_MAKE_PROGRAM:FILEPATH=C:/Users/qt/RTA/B2Qt_6.8.1/6.8.1/Boot2Qt/raspberrypi-armv8/toolchain/sysroots/x86_64-w64-mingw32/usr/bin/ninja.exe" "-DCMAKE_BUILD_TYPE:STRING=Debug" "-DCMAKE_C_COMPILER:STRING=C:/Users/qt/RTA/B2Qt_6.8.1/6.8.1/Boot2Qt/raspberrypi-armv8/toolchain/sysroots/x86_64-w64-mingw32/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc.exe" "-DCMAKE_C_COMPILER_TARGET:STRING=aarch64-poky-linux" "-DCMAKE_GENERATOR:STRING=Ninja" "-DQT_QMAKE_EXECUTABLE:STRING=C:/Users/qt/RTA/B2Qt_6.8.1/6.8.1/Boot2Qt/raspberrypi-armv8/toolchain/sysroots/x86_64-w64-mingw32/usr/bin/qmake.exe" in C:\Users\qt\RTA\B2Qt_6.8.1\Examples\Qt-6.8.1\corelib\ipc\localfortuneclient\build\Boot2Qt_6_8_1_Raspberry_Pi_Development_Boards_64bit-Debug.
      [cmake] CMake Error at CMakeLists.txt:5 (project):
      [cmake]   Running
      [cmake] 
      [cmake]    'C:/Users/qt/RTA/B2Qt_6.8.1/6.8.1/Boot2Qt/raspberrypi-armv8/toolchain/sysroots/x86_64-w64-mingw32/usr/bin/ninja.exe' '--version'
      [cmake] 
      [cmake]   failed with:
      [cmake] 
      [cmake]    no such file or directory
      [cmake] 
      [cmake] 
      [cmake] -- Configuring incomplete, errors occurred!
      [cmake] 
      [cmake] The command "C:\Users\qt\RTA\B2Qt_6.8.1\Tools\CMake_64\bin\cmake.exe -S C:/Users/qt/RTA/B2Qt_6.8.1/Examples/Qt-6.8.1/corelib/ipc/localfortuneclient -B C:/Users/qt/RTA/B2Qt_6.8.1/Examples/Qt-6.8.1/corelib/ipc/localfortuneclient/build/Boot2Qt_6_8_1_Raspberry_Pi_Development_Boards_64bit-Debug "-DCMAKE_PREFIX_PATH:STRING=C:/Users/qt/RTA/B2Qt_6.8.1/6.8.1/Boot2Qt/raspberrypi-armv8/toolchain/sysroots/cortexa53-poky-linux/usr" "-DCMAKE_SYSROOT:PATH=C:/Users/qt/RTA/B2Qt_6.8.1/6.8.1/Boot2Qt/raspberrypi-armv8/toolchain/sysroots/cortexa53-poky-linux" "-DCMAKE_CXX_COMPILER:STRING=C:/Users/qt/RTA/B2Qt_6.8.1/6.8.1/Boot2Qt/raspberrypi-armv8/toolchain/sysroots/x86_64-w64-mingw32/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++.exe" "-DCMAKE_CXX_FLAGS_INIT:STRING=-DQT_QML_DEBUG" "-DCMAKE_TOOLCHAIN_FILE:FILEPATH=C:/Users/qt/RTA/B2Qt_6.8.1/6.8.1/Boot2Qt/raspberrypi-armv8/toolchain/sysroots/x86_64-w64-mingw32/usr/lib/cmake/Qt6/qt.toolchain.cmake" "-DCMAKE_CXX_COMPILER_TARGET:STRING=aarch64-poky-linux" "-DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=C:\Users\qt\RTA\B2Qt_6.8.1\Examples\Qt-6.8.1\corelib\ipc\localfortuneclient\build\Boot2Qt_6_8_1_Raspberry_Pi_Development_Boards_64bit-Debug/.qtc/package-manager/auto-setup.cmake" "-DCMAKE_MAKE_PROGRAM:FILEPATH=C:/Users/qt/RTA/B2Qt_6.8.1/6.8.1/Boot2Qt/raspberrypi-armv8/toolchain/sysroots/x86_64-w64-mingw32/usr/bin/ninja.exe" "-DCMAKE_BUILD_TYPE:STRING=Debug" "-DCMAKE_C_COMPILER:STRING=C:/Users/qt/RTA/B2Qt_6.8.1/6.8.1/Boot2Qt/raspberrypi-armv8/toolchain/sysroots/x86_64-w64-mingw32/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc.exe" "-DCMAKE_C_COMPILER_TARGET:STRING=aarch64-poky-linux" "-DCMAKE_GENERATOR:STRING=Ninja" "-DQT_QMAKE_EXECUTABLE:STRING=C:/Users/qt/RTA/B2Qt_6.8.1/6.8.1/Boot2Qt/raspberrypi-armv8/toolchain/sysroots/x86_64-w64-mingw32/usr/bin/qmake.exe"" terminated with exit code 1.
      [cmake] 
      [cmake] Elapsed time: 00:00. 

      Where:

      Jetson-agx-xavier and raspberrypi5 with Boot to Qt 6.8.1 (SHA1: 2358c623d686f962556e541045312870b058eca3 (meta-qt6)) on Windows

       

      Attachments

        For Gerrit Dashboard: QTBUG-131438
        # Subject Branch Project Status CR V

        Activity

          People

            sapiippo Samuli Piippo
            mipohjan Milla Pohjanheimo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes