Hi,
        I think you have to include GL/glut.h in your OpenGL program & then compile 
them you may get an error that ld can not find glut hence do the following

        [anirban@anirban mesa3dprojects]$ gcc -o Teapot teapot.c -L /usr/X11R6/lib 
-lglut -lGLU -lGL -lm

Also yu can make little changes to the glmake file you have open the make file 
in a editor find following

##### MACROS #####

INCDIR = ../include
LIBDIR = ../lib

and replace it as following. ie. change LIBDIR = ../lib to       LIBDIR 
=/usr/X11R6/lib

##### MACROS #####

INCDIR = ../include
LIBDIR = /usr/X11R6/lib

But one think I do not get so it will be good for me if get any help . I am 
using MDK 9.0 & ld.so.conf contains the line /usr/X11R6/lib

but then why ld can not find glut since libglut.so is in /usr/X11R6/lib



On Friday 20 Dec 2002 03:16, anindya chakraborty wrote:
> hi,
>
>            i was trying to run a openGL program in mandrake
> 9.0.but
> inspite of installation of Mesa it was unable to find Gl/glut.h
> named file resulting in errors!....in redhat what i used to do
> was
> first build all NVIDIA rpms and install them and then install
> glut
>  from source rpm.What path should i take here.
>
> bye
> ac


--
To unsubscribe, send mail to [EMAIL PROTECTED] with the body
"unsubscribe ilug-cal" and an empty subject line.
FAQ: http://www.ilug-cal.org/node.php?id=3

Reply via email to