[SOLVED] /usr/bin/ld: cannot find -lGL
-
wrote on 8 Jun 2014, 10:52 last edited by
Hello everyone!
I just did the fresh install of Qt5.3.
I'm using Linux Mint 17 and i'm trying to make my first QT Widgets project, but i'm getting an error message:
@/usr/bin/ld: cannot find -lGL@Can anyone help me, which package i must install?
-
wrote on 8 Jun 2014, 12:55 last edited by
Sorry for bad thread.
SOLVED by "@install build-essential libgl1-mesa-dev@" command. -
wrote on 8 Jun 2014, 13:14 last edited by
Hi, no need to be sorry, I think everyone who installs Qt on Ubuntu, Debian, Linux Mint etc. runs into this problem, including myself.
On Windows and on Macs, Qt usually works "out of the box" but on Linux you have to be a bit more clever :-)
-
wrote on 8 Jun 2014, 18:55 last edited by
Well, yes.
Luckily i've read "Getting started" manual. -
wrote on 21 Jan 2016, 20:08 last edited by
@kordax: no need to be sorry, indeed. Thank you for asking and for replying. I also ran into that one, too, on LinuxMint 17.3 and Qt 5.5.1, and your answer was a great help.
-
wrote on 2 Feb 2016, 23:01 last edited by
I'm having the same problem and the solution didn't work with me. I'm still receiving the same error message from the compiler, though I have installed all the suggested libraries.
I'm currently using Debian 8.2 Jessie (stable)
Thank you very much
Alberto -
Hi and welcome to devnet,
libgl1-mesa-dev should be the right package.