Hello,
I would like to start my adventure with Qt, but after I installed it on Ubuntu 14.04 it throws errors while building.
1)cannot find -lGL
2)collect2:error:ld returned 1 exit status
Can any1 help me?
THanks in advance
Hello,
I would like to start my adventure with Qt, but after I installed it on Ubuntu 14.04 it throws errors while building.
1)cannot find -lGL
2)collect2:error:ld returned 1 exit status
Can any1 help me?
THanks in advance
b06 (16th April 2015)
Do you have OpenGL development packages installed ? (something like libgl-dev, libgl1-mesa-dev or mesa-common-dev etc. I don't remember the name exactly).
THank you, I did:
and it works fine now.Qt Code:
sudo apt-get install libgl1-mesa-devTo copy to clipboard, switch view to plain text mode
Thx - worked for me too. ;-)
Bookmarks