Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. meta-qt6 build for x11 fails with qglxconvenience.cpp:282: undefined reference to `glXGetFBConfigAttrib'
Forum Updated to NodeBB v4.3 + New Features

meta-qt6 build for x11 fails with qglxconvenience.cpp:282: undefined reference to `glXGetFBConfigAttrib'

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 218 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.
  • P Offline
    P Offline
    petero3
    wrote on last edited by
    #1

    Hi, meta-qt6 yocto build fails with qglxconvenience.cpp:282: undefined reference to `glXGetFBConfigAttrib'

    local.conf
    DISTRO ?= 'fslc-x11'
    QT_EDITION = "commercial"
    CORE_IMAGE_EXTRA_INSTALL:pn-core-image-minimal += "qtbase"

    bitbake core-image-minimal

    | /workdir/fslckqt/build/tmp/work/cortexa35-mx8-fslc-linux/qtbase/6.4.1-r0/recipe-sysroot-native/usr/bin/aarch64-fslc-linux/../../libexec/aarch64-fslc-linux/gcc/aarch64-fslc-linux/11.3.0/ld.bfd: src/gui/CMakeFiles/Gui.dir/opengl/platform/unix/qglxconvenience.cpp.o: in function `qglx_surfaceFormatFromGLXFBConfig(QSurfaceFormat*, _XDisplay*, __GLXFBConfigRec*, int)':
    | /usr/src/debug/qtbase/6.4.1-r0/git/src/gui/opengl/platform/unix/qglxconvenience.cpp:282: undefined reference to `glXGetFBConfigAttrib'
    

    similar for meta-qt6 6.2.7
    when using distro fslc-x11 or distro poky

    see also
    https://forum.qt.io/topic/141153/meta-qt6-fails-with-src-gui-opengl-platform-unix-qglxconvenience-cpp-282-undefined-reference-to-glxgetfbconfigattrib/6

    Thank you
    -- Peter

    1 Reply Last reply
    0

    • Login

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