c++ - Qt: can't find -lGL error -


i reinstalled qtcreator, created new project (qt application) got after compilation:

/usr/bin/ld: **cannot find -lgl** collect2: error: ld returned 1 exit status make: *** [untitled1] error 1 18:07:41: process "/usr/bin/make" exited code 2. error while building/deploying project untitled1 (kit: desktop qt 5.1.0 gcc 32bit) when executing step 'make' 

(project empty, did'n commit changes)

qt creator 2.7.2
based on qt 5.1.0 (32 bit)
ubuntu 13.04

how solve problem?

install package "libgl1-mesa-dev":

sudo apt-get install libgl1-mesa-dev 

Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -