Re: [Plib-users] New user, GL includes not being found
Brought to you by:
sjbaker
|
From: Steve B. <sjb...@ai...> - 2000-05-20 04:40:25
|
the...@ex... wrote:
>
> Hi,
>
> I'm trying to install PLIB in order to install FlightGear. When I run
> configure and make, it's not finding gl.h and other files in GL. gl.h is
> present in /usr/X11R6/include/GL, but I'm not sure how to tell the compiler
> to find it there. Any help would be appreciated.
>
> FYI I am running RH 6.2 distribution.
RedHat have installed gl.h in the wrong place. The standard
is defined by section 4 of this document:
http://oss.sgi.com/projects/ogl-sample/ABI
So OpenGL headers should be in /usr/include/GL/gl.h and glu.h
(GLUT headers should be in the same place).
The libraries should be in /usr/lib/libGL.so and libGLU.so - with
GLUT in /usr/lib/libglut.so
The simplest thing is to create a couple of symbolic links pointing
from the correct place to wherever RH dropped them.
--
Steve Baker http://web2.airmail.net/sjbaker1
sjb...@ai... (home) http://www.woodsoup.org/~sbaker
sj...@ht... (work)
|