[Solved] Qt Compile Error: /usr/bin/ld: cannot find -lGL

QT has just been installed, and an error is reported during compilation:/usr/bin/LD: cannot find – LGL

As shown below:

Solution:

sudo apt-get install libgl1-mesa-dev

Similar Posts: