Submitted by Anonymous on Wed, 01/16/2002 - 22:01. Developers
I am running RH7.1 with XFree86 4.0.3. I
am trying to compile an example program from the OpenGL Programming for the X Windows System book. I receive the
error
paperplane.c /X11/GLw/GLwMDrawA.h File or directory does not exist.
From what I can gather this is an OpenGL widget for Motif? Anyway, can you tell me where to get this file or point me in the direction of a solution.
Thanks,
Michael
Hey There!
Did you install the openmotif developer rpm package??? then try a search for the file
find /usr/ -name "GLwMDrawA.h" -print ... or something.
think its just in the GL/ directory for linux.
then maybe you`ll have to install the MESA source with the motif extension ( -with--motif, IMPORTANT!!!, I`ve done this!), To get the motif opengl widget classes!
Good Luck!!!
/Mike
Yea, I downloaded the Mesa-3.4-13.src.rpm from RedHat. I installed the source rpm, then I went into the widgets-sgi dir and did a `make linux. It worked it build the libraries, and I just put them in the GLw direcory.
I am not having another problem. I did install the motif developer rpm. However when I try to link to -lXm I get an error saying that the linker cannot find -lXm. I cannot find the Xm directory anywhere. It looks like there are some libXm.so, libXm.so.2, and libXm.so.2.1 files in the following directory /usr/X11R6/lib. How am I to link to these?
I have noticed you have been all over the web like I have trying to find a solution for the GLw stuff.
Thanks,
Michael
The .so files are the shared-library versions, so you should be able to -L/usr/X11R6/lib -lXm and have the ilnk made properly.