I have Ubuntu 9.10 and I installed qt creator.
I try to learn opengl and I have such an error
Gl/gl.h files are not found.
I have found thread with similar problems, but that actions did not help me.
Thank you for help!
I have Ubuntu 9.10 and I installed qt creator.
I try to learn opengl and I have such an error
Gl/gl.h files are not found.
I have found thread with similar problems, but that actions did not help me.
Thank you for help!
Make sure you have #include <GL/gl.h> Note the uppercase GL.
Also make sure you have the necessary dev packages installed. I think libgl1-mesa-dev, libglu1-mesa-dev are two that you need.
2009
pbrane,
Thank you so much, the packages were missing. That solved my issue.
Valid for Ubuntu 12.04.2 LTS
Best regards,
Semox78
Closed, please don't bump old threads.
Bookmarks