PDA

View Full Version : -IGL error in CentOS 6



rawfool
20th February 2014, 12:58
I just installed Qt in CentOS 6 and when I try to compile a test project which has just QWidget to be displayed, it's throwing this error

OS: CentOS 6
Qt Version: Qt 5.2.1 (GCC 4.6.1, 32 bit)

error: cannot find -lGL

Kindly help me fix this issue.

Thank you.

Added after 22 minutes:

----- Solution ------

I found the solution. Installing the following packages worked!


yum install mesa-libGL-devel mesa-libGLU-devel

Thank you.