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

Line ending issue with Mercurial or Visual Studio -

tags - Jquery Mixitup plugin help prevent handlers being destroyed -

c# - Delving into the world of XML (Windows Phone) Error I dont understand (The ' ' character, hexadecimal value 0x20, cannot be included in a name.) -