Qt Creator on Linux - GL Library
Unsolved
General and Desktop
-
I installed Qt Creator onto Linux Mint 18.1 using the website download.
Creating a standard desktop widget app gives a compile failure which basically boils down to the GL library not being found (-lGL flag). I managed to work around it by opening the Makefile and removing -lGL .
My questions are :-
- What is the GL library ? (I'm guessing graphics library)
- Why wasn't it installed if it's included in the build config by default?
- How can I install it?
Thanks in advance
-
Hi,
- The OpenGL libraries
- Because it's a system level dependency and in your case each Linux distribution provides it from possibly different sources depending partly on your graphic stack. Other OSs might provide them natively (e.g. macOS).
- Use your distribution package manager
PS: this question has already been asked numerous times, please take the time to use the forum search.