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. XCB error during install (Linux)
Forum Update on Monday, May 27th 2025

XCB error during install (Linux)

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
8 Posts 2 Posters 2.1k Views
  • 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.
  • A Offline
    A Offline
    ajcrm125
    wrote on last edited by ajcrm125
    #1

    Hi,

    During configure I noticed that xbs_libs weren't installed so I re-ran with the -qt-xcb switch to use the xcb libs bundled with Qt.
    No problems there...

    Then during my gmake I got numerous errors that all the XCB_ATOM_* definitions were undeclared. I.E.:

    ../../../../3rdparty/xcb/xcb-util-wm/icccm.c:90:38: error: 'XCB_ATOM_WM_NAME' undeclared (first use in this function)
    ../../../../3rdparty/xcb/xcb-util-wm/icccm.c:134:38: error: 'XCB_ATOM_WM_ICON_NAME' undeclared (first use in this function)
    ../../../../3rdparty/xcb/xcb-util-wm/icccm.c:204:27: error: 'XCB_ATOM_WINDOW' undeclared (first use in this function)
    ../../../../3rdparty/xcb/xcb-util-wm/icccm.c:303:57: error: 'XCB_ATOM_STRING' undeclared (first use in this function)

    etc...

    Anything I'm missing?
    Thanks!
    -Adam

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      HI and welcome to devnet,

      Did you just re-ran configure or did you do it from a clean state ?

      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
      0
      • A Offline
        A Offline
        ajcrm125
        wrote on last edited by
        #3

        I just re-ran configure. I know if you attempt to re-run gmake you have to clean previous attempts first. Didn't think you needed to clean anything for a failed configure?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          It's always better to call configure from a clean state.

          To avoid the "cleaning part" you can use out of source builds so if something goes wrong you also have the option to just erase everything and start again.

          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
          0
          • A Offline
            A Offline
            ajcrm125
            wrote on last edited by
            #5

            Ok. Clean slate = nuke the dir and start from a fresh tarball?

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Not necessarily, IIRC, it's make confclean but I always do out of source builds. It's way simpler especially when you build for several platforms.

              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
              0
              • A Offline
                A Offline
                ajcrm125
                wrote on last edited by
                #7

                Yeah no dice. After a clean I get the same error :(

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  ajcrm125
                  wrote on last edited by
                  #8

                  Ended up installing XCB and was able to get Qt installed. Thanks for the help. ;)

                  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