Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. cannot find -lGL
QtWS25 Last Chance

cannot find -lGL

Scheduled Pinned Locked Moved Unsolved General and Desktop
lgl
3 Posts 3 Posters 928 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.
  • W Offline
    W Offline
    WynnRostek
    wrote on last edited by
    #1

    I tried to build several of the serial examples using 5.12 and 4.8. All give me a cannot find -lGL. I don't see where this library is getting called to be linked in. I also have no idea what the library actually is. This is under Ubuntu 18.04. Can anybody shed any light on what be be going on?

    Wynn

    JKSHJ 1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by
      #2

      Did you try install - sudo apt-get install libglu1-mesa-dev

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      1 Reply Last reply
      3
      • W WynnRostek

        I tried to build several of the serial examples using 5.12 and 4.8. All give me a cannot find -lGL. I don't see where this library is getting called to be linked in. I also have no idea what the library actually is. This is under Ubuntu 18.04. Can anybody shed any light on what be be going on?

        Wynn

        JKSHJ Offline
        JKSHJ Offline
        JKSH
        Moderators
        wrote on last edited by
        #3

        @WynnRostek said in cannot find -lGL:

        I don't see where this library is getting called to be linked in. I also have no idea what the library actually is.

        Those are OpenGL development libraries. They are required by Qt itself.

        This is under Ubuntu 18.04. Can anybody shed any light on what be be going on?

        http://doc.qt.io/qt-5/linux.html#requirements-for-development-host

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        1 Reply Last reply
        4

        • Login

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