Submitted by Mike_S on Sat, 11/24/2001 - 14:14. Developers
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????
/Joda
Even I am facing a similar problem, I have seen in a website a soln for this , I have not tried it yet .The address is http//www.hpcc.nectec.or.th/hpcc/publication/manual/node82.html go there and he has an explanation try it you just might be lucky
kiran
I have got another solution for it, which has actually worked for me.Download the Mesa4.0 version from mesa3d.org (it comes in zip format).
Now Unzip it and then once again unzip Mesa4.0 (there is another zip file in it).Now enter the Mesa4.0 directory and type the command make linux.
The libraries will be created ,but not in /usr/X11R6/lib.Now copy the libraries to the reqd directory.