[SOLVED] /usr/bin/ld: cannot find -lGL
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?
Sorry for bad thread.
SOLVED by "@install build-essential libgl1-mesa-dev@" command.
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 :-)
Luckily i've read "Getting started" manual.
@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.
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
Hi and welcome to devnet,
libgl1-mesa-dev should be the right package.