【发布时间】:2013-08-26 17:08:10
【问题描述】:
我刚刚重新安装了 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'
(项目为空,我没有提交任何更改)
Qt Creator 2.7.2
基于 Qt 5.1.0(32 位)
Ubuntu 13.04
我该如何解决这个问题?
【问题讨论】:
-
你安装了opengl吗?
标签: c++ qt compiler-construction qt-creator ubuntu-13.04