Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Error while executing make in Qt 5.8.0 ubuntu gcc 64-bit

Error while executing make in Qt 5.8.0 ubuntu gcc 64-bit

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 532 Views 2 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

    I got this error while trying to build my application in Qt 5.8.0
    15:33:38: Running steps for project Tutor...
    15:33:38: Configuration unchanged, skipping qmake step.
    15:33:38: Starting: "/usr/bin/make"
    g++ -Wl,-rpath,/home/joshajiniran/Qt5.8.0/5.8/gcc_64/lib -o Tutor main.o imageviewer.o moc_imageviewer.o -L/home/joshajiniran/Qt5.8.0/5.8/gcc_64/lib -lQt5Widgets -lQt5Gui -lQt5Core -lGL -lpthread
    /usr/bin/ld: cannot find -lGL
    Makefile:236: recipe for target 'Tutor' failed
    collect2: error: ld returned 1 exit status
    make: *** [Tutor] Error 1
    15:33:39: The process "/usr/bin/make" exited with code 2.
    Error while building/deploying project Tutor (kit: Desktop Qt 5.8.0 GCC 64bit)
    When executing step "Make"
    15:33:39: Elapsed time: 00:01.

    Please, help with idea to fix up the mess.![alt text](/home/joshajiniran/Pictures/Screenshot from 2017-04-01 16-00-42.png)

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Please use the search function from the forum. This question has been asked and answered many times already. You are missing the OpenGL development libraries 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
      0

      • Login

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