View Full Version : GLwMDrawA header file

01-15-2002, 09:56 AM
I am trying to compile an example program from the book "OpenGL Programming for the X Window System". I keep getting the error:

paperplane.c: X11/GLw/GLwMDrawA.h: No such file or directory.

I am Running RH7.1 and was hoping someone could tell me where to find the OpenGL widgets.


01-15-2002, 01:57 PM
I have encounterd the same problem on
both RedHat 7.1 and Mandrake 8.0. What
happened to GLw??? I've done an extensive
net search, and this topic is the only
really relevant and new mention I can find on
the topic.

01-16-2002, 11:23 PM
Isnt the file located in "GL/GLwMDrawA.h"
I've got a standard RH7.2 system.

Try a search:
find /usr/ -name "GLwMDrawA.h" -print

...I changed the path but I cant campile anyway I get this problem:

gui_init.o: In function `main':
gui_init.o(.text+0x620): undefined reference to `glwMDrawingAreaWidgetClass'
collect2: ld returned 1 exit status

hmm...anyone??? guess that you need the Motif Toolkit to compile the examples...think its possible to install lesstif....

01-21-2002, 03:09 AM
this may be due to Mesa (mangle) or Nvidia,
one of them, but i don't think this is a standard in OpenGL.

01-21-2002, 08:46 PM
The error message is a link error. Do you link to libMesaGLw.a with -lMesaGLw?