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. Qt 5.1.0 --- "cannot find -lGL"
Forum Updated to NodeBB v4.3 + New Features

Qt 5.1.0 --- "cannot find -lGL"

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.2k 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.
  • A Offline
    A Offline
    ApteryxOz
    wrote on last edited by
    #1

    Have move from 4.8.x to 5.1.0 and now have the following issue on comile of my application: (Ubuntu 12.04)

    Installs/Qt5//5.1.0/gcc/lib -lQt5Widgets -lQt5SerialPort -lQt5Sql -lQt5Network -lQt5Gui -lQt5Core -lGL -lpthread
    /usr/bin/ld: cannot find -lGL
    collect2: ld returned 1 exit status
    make: *** [cataps] Error 1
    09:13:09: The process "/usr/bin/make" exited with code 2.
    Error while building/deploying project catap (kit: Desktop Qt 5.1.0 GCC 32bit)
    When executing step 'Make'
    09:13:09: Elapsed time: 00:36.

    Any ideas?

    Alien Interpreter @ Area 51

    1 Reply Last reply
    0
    • A Offline
      A Offline
      ArcNexus
      wrote on last edited by
      #2

      install libgl-mesa-dev and it's solved.

      When we are one, we win

      1 Reply Last reply
      0
      • A Offline
        A Offline
        ApteryxOz
        wrote on last edited by
        #3

        Awesome thanks = installed libgl1-mesa-dev

        Alien Interpreter @ Area 51

        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