hi i did locate gl.h and nothing comes back. so i reinstall XFree86-devel and Mesa-common-devel and it still says the same thing. GL/gl.h ad GL/glu.h : no suck directory or file.
manually i found the file gl.h and glu.h at /usr/X11R6/include/GL/ so why isn’t it finding those files? do i need to specify something in the PATH? thanks.
ok. now when i type gcc -o -I/usr/X11R6/include/ -lGL -lGLU -lglut file.c it gave me the following error message:
/usr/bin/ld : cannot find -lGL
collect2: ld return exit status
so how do i fix this? thanks.[/b]
um…did you remove the -L… path that you had in your above post? and if you didn’t, then locate where libGL<bla>.so/a libraries are and just give gcc -Lpathname to it…
or you might want to make a sym link to the gl directories from the well known include/lib directories.