PANIC, Problems with GLw library!

When Im trying to compile a example (glw.c) from Mark Kirkegaards
book “OpenGL for the X Window System” my compiler reports that
‘-lGLw’ cannot be found.

Why is that??? I know that I got the GLwMDrawA.h header file.
( /usr/include/GL/GLwMDrawA.h )

Im compiling with the command:

cc -o glw glw.c -L/usr/X11R6/lib/ -lGLw -lGLU -lGL -lXm -lXt -lXmu -lXext -lX11

… how do I get this lib file???

Im running RH7.2 with Motif/Motif-Dev package installed. Is there anything
more that I need to install???


If you are looking into the header file do you see that it is from Mesa. Use -lMesaGLw instead.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.