Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. No CMake configuration found
Forum Updated to NodeBB v4.3 + New Features

No CMake configuration found

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 340 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Rakesh007
    wrote on last edited by
    #1

    Hi team,
    while building the CMake project in the QtCreator I am getting the below errors.
    3.25/Modules/CMakeTestCXXCompiler.cmake:63: error: The C++ compiler "/sdkchroot/usr/bin/aarch64-linux-gnu-g++" is not able to compile a simple test program. It fails with the following output: Change Dir: /qtcreator/projects/build-Qt_Kit-Debug/CMakeFiles/CMakeScratch/TryCompile-8GjgzG Run Build Command(s):/imx8qxp-4.0.1700203526/rootfs/usr/bin/gmake -f Makefile cmTC_538f9/fast && aarch64-binfmt-P: Could not open '/lib/ld-linux-aarch64.so.1': No such file or directory

    And also I am getting warning about No CMake configuration found.

    Any suggestion on this .

    sierdzioS 1 Reply Last reply
    0
    • R Rakesh007

      Hi team,
      while building the CMake project in the QtCreator I am getting the below errors.
      3.25/Modules/CMakeTestCXXCompiler.cmake:63: error: The C++ compiler "/sdkchroot/usr/bin/aarch64-linux-gnu-g++" is not able to compile a simple test program. It fails with the following output: Change Dir: /qtcreator/projects/build-Qt_Kit-Debug/CMakeFiles/CMakeScratch/TryCompile-8GjgzG Run Build Command(s):/imx8qxp-4.0.1700203526/rootfs/usr/bin/gmake -f Makefile cmTC_538f9/fast && aarch64-binfmt-P: Could not open '/lib/ld-linux-aarch64.so.1': No such file or directory

      And also I am getting warning about No CMake configuration found.

      Any suggestion on this .

      sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      @Rakesh007 looks like you are cross-compiling, so please provide:

      • what SDK / toolchain are you using
      • what sysroot are you using
      • which Qt version
      • did you compile Qt yourself or are you using some prebuilt
      • what is your build configuration, effective cmake call etc.

      (Z(:^

      1 Reply Last reply
      0
      • hskoglundH Offline
        hskoglundH Offline
        hskoglund
        wrote on last edited by
        #3

        Hi, just a guess but maybe you need to enable the aarch64 architecture if you're crosscompiling, something like this:
        sudo dpkg --add-architecture arm64
        sudo apt install libc6:arm64

        1 Reply Last reply
        1

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved