I'm trying to build a simple application using Qt 5.7 on CentOS 7.3. But when I try to compile it, I get the following errors:
cannot find -lGL collect2: error: ld returned 1 exit status
The application code is irrelevant because any GUI application (Qt Widgets or QtQuick) gives the same errors.
My graphics card is Intel HD4000 Graphics which comes with Intel i7-3610QM CPU.
- What can be the problem? How do I solve it?
Thanks in advance.