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. Cannot cross compile xcb error
Forum Updated to NodeBB v4.3 + New Features

Cannot cross compile xcb error

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 458 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.
  • S Offline
    S Offline
    SilentWolf
    wrote on last edited by
    #1

    Hello,

    I'm trying to cross-compile from x84_64 to aarch64 but got somes errors

    My environment:

    1/ Host PC:

    Ubuntu 20.04

    x86_64

    QT 5.14.2

    libxcb, libxkbcommon was found in sysroot/usr/lib/aarch64-linux-gnu/

    2/ AI Box

    Ubuntu 20.04

    Jetson Xavier NX

    arm64 (aarch64)

    libxcb, libxkbcommon was found in /usr/lib/aarch64-linux-gnu/

    When I run configure for cross compilation:

    victor@victor-G7-7588:/media/victor/VicDrive/Projects/QT/Cross-Compile/Build_Qt_Arm/build$ ../qt-everywhere-src-5.14.2/configure release -opensource -confirm-license -force-debug-info -xplatform linux-aarch64-gnu-g++ -device-option CROSS_COMPILE=/opt/Build_Qt_Arm/gcc-linaro-7.5.0-2019.12-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu -sysroot /opt/Build_Qt_Arm/sysroot -skip qtwebengine -skip qtscript -skip wayland -skip qtlocation -skip qtdatavis3d -nomake examples -nomake tests -qpa xcb -xcb -no-opengl -v

    I got errors:
    ERROR: Feature 'xcb' was enabled, but the pre-condition 'features.thread && features.xkbcommon && libs.xcb' failed.

    Could you help me to fix it?

    SGaistS 1 Reply Last reply
    0
    • S SilentWolf

      Hello,

      I'm trying to cross-compile from x84_64 to aarch64 but got somes errors

      My environment:

      1/ Host PC:

      Ubuntu 20.04

      x86_64

      QT 5.14.2

      libxcb, libxkbcommon was found in sysroot/usr/lib/aarch64-linux-gnu/

      2/ AI Box

      Ubuntu 20.04

      Jetson Xavier NX

      arm64 (aarch64)

      libxcb, libxkbcommon was found in /usr/lib/aarch64-linux-gnu/

      When I run configure for cross compilation:

      victor@victor-G7-7588:/media/victor/VicDrive/Projects/QT/Cross-Compile/Build_Qt_Arm/build$ ../qt-everywhere-src-5.14.2/configure release -opensource -confirm-license -force-debug-info -xplatform linux-aarch64-gnu-g++ -device-option CROSS_COMPILE=/opt/Build_Qt_Arm/gcc-linaro-7.5.0-2019.12-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu -sysroot /opt/Build_Qt_Arm/sysroot -skip qtwebengine -skip qtscript -skip wayland -skip qtlocation -skip qtdatavis3d -nomake examples -nomake tests -qpa xcb -xcb -no-opengl -v

      I got errors:
      ERROR: Feature 'xcb' was enabled, but the pre-condition 'features.thread && features.xkbcommon && libs.xcb' failed.

      Could you help me to fix it?

      SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      The library is one thing but do you have the development version of these dependencies in the sysroot ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      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