Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. cannot find -lGL, while building in QT

cannot find -lGL, while building in QT

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
3 Posts 3 Posters 501 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.
  • M Offline
    M Offline
    Meetika
    wrote on 7 Mar 2019, 10:45 last edited by aha_1980 3 Aug 2019, 21:26
    #1

    /usr/bin/ld: cannot find -lGL
    collect2: error: ld returned 1 exit status
    make: *** [qml_location_mapviewer] Error 1
    16:15:08: The process "/usr/bin/make" exited with code 2.
    Error while building/deploying project mapviewer (kit: Desktop Qt 5.9.0 GCC 64bit)
    When executing step "Make"

    A 1 Reply Last reply 8 Mar 2019, 21:28
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 7 Mar 2019, 11:11 last edited by
      #2

      Hi and welcome to devnet,

      This question has been asked many times already, did you try to search the forum before posting it ?

      You are missing the OpenGL development package from your distribution.

      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
      4
      • M Meetika
        7 Mar 2019, 10:45

        /usr/bin/ld: cannot find -lGL
        collect2: error: ld returned 1 exit status
        make: *** [qml_location_mapviewer] Error 1
        16:15:08: The process "/usr/bin/make" exited with code 2.
        Error while building/deploying project mapviewer (kit: Desktop Qt 5.9.0 GCC 64bit)
        When executing step "Make"

        A Offline
        A Offline
        aha_1980
        Lifetime Qt Champion
        wrote on 8 Mar 2019, 21:28 last edited by
        #3

        @Meetika

        E.g. here: https://forum.qt.io/topic/96546/cannot-find-lgl

        Qt has to stay free or it will die.

        1 Reply Last reply
        1

        1/3

        7 Mar 2019, 10:45

        • Login

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