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. Qt creator community 5.8 on ubuntu 16.04
Qt 6.11 is out! See what's new in the release blog

Qt creator community 5.8 on ubuntu 16.04

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
6 Posts 2 Posters 3.6k Views 2 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.
  • ShamzicS Offline
    ShamzicS Offline
    Shamzic
    wrote on last edited by
    #1

    Hi,

    I'm trying to install Qt creator on Ubuntu. I have set to debug a random example program to see if it works but whatever the program I wanted to debug, I get this erro message :

    22:49:19: Configuration unchanged, skipping qmake step.
    22:49:19: Starting: "/usr/bin/make" 
    g++ -Wl,-rpath,/home/shamery/Qt/5.8/gcc_64/lib -o areachart main.o   -L/home/shamery/Qt/5.8/gcc_64/lib -lQt5Charts -lQt5Widgets -lQt5Gui -lQt5Core -lGL -lpthread 
    /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libGL.so : référence indéfinie vers « drmGetDevices2 »
    Makefile:232 : la recette pour la cible « areachart » a échouée
    /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libGL.so : référence indéfinie vers « drmGetDevice2 »
    collect2: error: ld returned 1 exit status
    make: *** [areachart] Erreur 1
    22:49:19: The process "/usr/bin/make" exited with code 2.
    Error while building/deploying project areachart (kit: Desktop Qt 5.8.0 GCC 64bit)
    When executing step "Make"
    22:49:19: Elapsed time: 00:00.
    

    I precise : I'm on a dual boot with windows 10. (i don't if it can affect) and I have fond any post discuss about this problem on the net..

    Thanks for your help by advance!

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

      Hi,

      Did you had an update to libdrm recently ?

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

      ShamzicS 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Did you had an update to libdrm recently ?

        ShamzicS Offline
        ShamzicS Offline
        Shamzic
        wrote on last edited by Shamzic
        #3

        @SGaist said in Qt creator community 5.8 on ubuntu 16.04:

        pdate to libdrm

        I have made some general updates but I don't know for this specially ,what should I verify ?

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

          AFAIK, drmGetDevice2 drmGetDevices2 are from that library. It's pretty strange that these symbols become suddenly missing. One thing you can try is to add LIBS += -ldrm but it shouldn't be needed.

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

          ShamzicS 1 Reply Last reply
          1
          • SGaistS SGaist

            AFAIK, drmGetDevice2 drmGetDevices2 are from that library. It's pretty strange that these symbols become suddenly missing. One thing you can try is to add LIBS += -ldrm but it shouldn't be needed.

            ShamzicS Offline
            ShamzicS Offline
            Shamzic
            wrote on last edited by Shamzic
            #5

            @SGaist Your solution is working... Thank you.
            However I don't get why I need to add this, Qt isn't supposed to make the link by itself ?

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

              It does, however there might have been a change in the dependencies in which case Qt may not yet be aware of that.

              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

              • Login

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