PDA

View Full Version : FC5 OpenGL freeglut



brett
20th May 2006, 02:02 AM
Does anyone know how to use OpenGL and freeglut with FC5. When I try to compile programs with the header #include <GL/glut.h> or #include <GL/freeglut.h> I get the error no such file or directory. I never had this problem with FC3. :confused:

tashirosgt
20th May 2006, 06:41 AM
I would suggest gong to pbone.net and finding out which packages contain freeglut.h and glut.h. Then use rpm to see if you have installed them.

Skunk Worx
20th May 2006, 07:21 AM
# yum whatprovides freeglut.h
freeglut-devel.i386 2.4.0-4 core


# yum install freeglut-devel

ought to do it.

brett
22nd May 2006, 10:52 AM
# yum whatprovides freeglut.h
freeglut-devel.i386 2.4.0-4 core


# yum install freeglut-devel

ought to do it.
Thanks but I figured it out. There was no freeglut.h in usr/include/GL and when I downloaded and tried to re-install freeglut rpms but the system kept saying they were already installed. Anyway I finally tried while online and as root #su -c 'yum provides freeglut.h' and yum re-installed everything correctly. Working fine. Thanks....brett