Results 1 to 5 of 5
I recently installed scientific linux 6 and I need opengl. I need help finding the header files gl.h and glut.h on my system...that is if they are there. Can anyone ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-14-2011 #1Just Joined!
- Join Date
- Feb 2011
- Posts
- 3
need help locating file
I recently installed scientific linux 6 and I need opengl. I need help finding the header files gl.h and glut.h on my system...that is if they are there. Can anyone help?
- 03-14-2011 #2
You probably need the freeglut development files. I don't know what the packages are called in SL, but if you do a search you should be able to find them. It's probably freeglut-devel or something similar.
Code:yum search freeglut
- 03-14-2011 #3
A quick way to find files (and whether or not you have them in the first place) is to use the locate command. It depends on a database, so it may not be bang up to date, but most distros update the database daily. If the named file is anywhere on your system, its full path will be shown. If you get no output, the file is not there.
Headers are always stored under /usr/include so going there and using the find command is another option."I'm just a little old lady; don't try to dazzle me with jargon!"
- 03-14-2011 #4Just Joined!
- Join Date
- Feb 2011
- Posts
- 3
next?
well i used the yum search freeglut command and it said:
============================== Matched: freeglut ===============================
freeglut-devel.i686 : Freeglut developmental libraries and header files
freeglut.i686 : A freely licensed alternative to the GLUT library
then i searched the user/include area and there were no header files for it.
- 03-25-2011 #5Linux User
- Join Date
- Jan 2005
- Location
- Saint Paul, MN
- Posts
- 394
Of course the grand daddie of the tools to find a file is called "find" it is run from the command line. It is very powerful and hence has lots of options. Refer to the man page for it.


Reply With Quote
