[SOLVED]Issues while buiiding the project
-
My Setup:-
(OS) Ubuntu Linux
(SDK) Qt 5.2.1
(IDE) Qt creator 3.1
(Compiler) GCC 4.6.1 ,64 bit
Ram 1 GB
I am getting two issues while building my project.
when i add QT += widgets in .pro and include <QWidget> class then these issues arise.
1.:-1: error: cannot find -lGL
2.:-1: error: collect2: ld returned 1 exit status
any Reply would be appreciated...
Thanks -
Hi,
it seems you have a problem with your OpenGL libraries. Perhaps "this: ":http://ubuntuforums.org/showthread.php?t=1480282 may help? -
Install the libgl1-mesa-dev package
-