Re: XFlush, etc.



Allan Adler <ara@xxxxxxxxxxxxxxxxxxxx> writes:

I was trying to compile some old software I have on my machine and was
having trouble with calls to stuff like XFlush and XDrawline, even though
header files such as Xlib.h were included. I've downloaded a current version
of the source code, which may not have the same problems. I'm just wondering:
if I had not had access to a current version to replace the old source, what
would have been the right way to deal with the problem?I kept trying to figure
out what library, e.g., to compile the source with and couldn't figure it out.
E.g. I tried -lX and -lXlib and -lX11 and none of them worked.

In the currenet version, the compilation script uses
-lm -L/usr/X11R6/lib -lX11
so that is probably the answer to my question.
--
Ignorantly,
Allan Adler <ara@xxxxxxxxxxxxxxxxxxxx>
* Disclaimer: I am a guest and *not* a member of the MIT CSAIL. My actions and
* comments do not reflect in any way on MIT. Also, I am nowhere near Boston.
.