相关疑难解决方法(0)

Qt:找不到-lGL错误

我刚刚重新安装了QtCreator,创建了新项目(Qt Application),编译后得到了这个:

/usr/bin/ld: **cannot find -lGL**
collect2: error: ld returned 1 exit status
make: *** [untitled1] Error 1
18:07:41: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project untitled1 (kit: Desktop Qt 5.1.0 GCC 32bit)
When executing step 'Make'
Run Code Online (Sandbox Code Playgroud)

(项目是空的,我没有做出任何改变)

Qt Creator 2.7.2
基于Qt 5.1.0(32位)
Ubuntu 13.04

我该如何解决这个问题?

c++ compiler-construction qt qt-creator ubuntu-13.04

101
推荐指数
2
解决办法
8万
查看次数