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. Ubuntu 14 QT Creator 3.1.1 compilation error “ cannot find -lGL” [SOLVED]
Forum Updated to NodeBB v4.3 + New Features

Ubuntu 14 QT Creator 3.1.1 compilation error “ cannot find -lGL” [SOLVED]

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

    I'm trying to build a default (Hello World) project in QT Creator 3.1.1 and this is the error I'm getting:

    bq. /usr/bin/ld: cannot find -lGL collect2: error: ld returned 1 exit status make: *** [App1] Error 1
    14:35:44: The process "/usr/bin/make" exited with code 2. Error while
    building/deploying project App1 (kit: Desktop Qt 5.3.0 GCC 64bit) When
    executing step 'Make'

    What am I missing ? Thanks much.

    1 Reply Last reply
    0
    • hskoglundH Offline
      hskoglundH Offline
      hskoglund
      wrote on last edited by
      #2

      Hi, you need to install the OpenGL utility library:

      sudo apt-get install libglu1-mesa-dev

      1 Reply Last reply
      0
      • N Offline
        N Offline
        nactus
        wrote on last edited by
        #3

        Fantastic, thank you so much, Mr. Herder. I'll try that, and I'll let you know if I don't succeed.

        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