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. Getting an error: cannot find -lGL while building
Qt 6.11 is out! See what's new in the release blog

Getting an error: cannot find -lGL while building

Scheduled Pinned Locked Moved Qt Creator and other tools
3 Posts 3 Posters 1.0k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Please help I am getting the error cannot find -lGL while building the qt project in QtCreator using Ubuntu 12.04 LTS , kindly provide some solution.

    Thanks

    1 Reply Last reply
    0
    • ZlatomirZ Offline
      ZlatomirZ Offline
      Zlatomir
      wrote on last edited by
      #2

      You need the development package for OpenGl, you can install it by running this command in terminal:
      @sudo apt-get install libgl1-mesa-dev@

      https://forum.qt.io/category/41/romanian

      1 Reply Last reply
      0
      • IamSumitI Offline
        IamSumitI Offline
        IamSumit
        wrote on last edited by
        #3

        hi and welcome to devnet..
        same problem asked many times.

        "find here":http://qt-project.org/forums/viewthread/42116/

        Be Cute

        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