PDA

View Full Version : I'm looking for GL/gl.h ...



Zalbor
November 2nd, 2006, 09:44 PM
I need to use Glut for some programming, and as a result I need the include/GL/gl.h file as well. Why the package that contains it isn't a dependency of freeglut-dev, I don't know, but I can't find that package either. Can anyone tell me which one it is?
I'm currently using Dapper, but I plan to upgrade to Edgy. So if it is a different one in Edgy, please tell me that too. Thank you.

crumja
November 2nd, 2006, 09:58 PM
You need to install xorg-devel too.

Zalbor
November 2nd, 2006, 10:24 PM
You mean xorg-dev, right? I installed that, the file I need still isn't there...

Zalbor
November 2nd, 2006, 11:31 PM
Aha, I found the answer here: http://ubuntuforums.org/showthread.php?t=235000
(strange, I did make a search for gl.h but it returned no results).

I needed to reinstall mesa-common-dev.

WW
January 24th, 2007, 11:03 PM
I had the same problem reported here and in the thread that Zalbor linked to. I had mesa-common-dev installed, but the header files were missing. After reinstalling, the files were installed. (I am using Ubuntu 6.06.)