I have correctly installed Qt Creator on my Debian virtual machine, but I'm getting error when trying to compile default Qt project: cannot find -lGL. I searched for solution on Google, but every solution I found didn't helped me, even if the problems were almost the same. I would like someone to explain me what's happening, why that library cannot be found?
I installed libglu1-mesa-dev package, but that didn't solved the problem. I spent few days to configure Qt on my machine, but really I have no idea how to solve this library problem?
This Qt: can't find -lGL error didn't solved my problem.
Output of ldconfig -p | grep GL command is:
libGLU.so.1 (libc6) => /usr/lib/i386-linux-gnu/libGLU.so.1
libGLEW.so.1.7 (libc6) => /usr/lib/i386-linux-gnu/libGLEW.so.1.7
libGL.so.1 (libc6, OS ABI: Linux 2.4.20) => /usr/lib/i386-linux-gnu/libGL.so.1