Re: Trouble installing GtkGlArea

2000-07-11 Thread Janne Lof
Hi, In addition to gtk libraries as given by 'gtk-config --libs' you need to link with gtkglarea and OpenGL (or MesaGL) libraries -lgtkglgtkglarea functions -lGL (or -lMesaGL)OpenGL gl* functons -lGLU (or -lMesaGLU) OpenGL glu* functions On Mon, 10 Jul 2000, jca wrot

Re: Trouble installing GtkGlArea

2000-07-10 Thread jca
Oy, one more thing, how to I compile a C program that uses the GtkGlArea widget? I made sure to install both the devel and the library rpm's, everything seems to be there including gtkglarea.h and gl.h. But all attempts to compile the simple GtkGlArea source examples fail on linking, becaus

Re: Trouble installing GtkGlArea

2000-07-10 Thread jca
> You are probably missing the Mesa library which is a free > implementation of OpenGL. > You can grab it from mesa3d.sourceforge.net. > > Wolfgang Thanks, I found the relevant files at mesa3d and it worked perfectly. :-) jca ___ gtk-list mail

Re: Trouble installing GtkGlArea

2000-07-10 Thread Wolfgang Sourdeau
> I downloaded the GtkGlArea widget from: > http://www.student.oulu.fi/~jlof/gtkglarea/index.html > > And, following the instructions, ran configure (worked fine), and then > make, and got this error: > gdkgl.c:33: GL/gl.h: No such file or directory > gdkgl.c:34: GL/glx.h: No such file or

Trouble installing GtkGlArea

2000-07-10 Thread jca
I downloaded the GtkGlArea widget from: http://www.student.oulu.fi/~jlof/gtkglarea/index.html And, following the instructions, ran configure (worked fine), and then make, and got this error: gdkgl.c:33: GL/gl.h: No such file or directory gdkgl.c:34: GL/glx.h: No such file or directory