View Single Post
Old 04-25-03, 09:47 AM   #6
Registered User
Join Date: Sep 2002
Posts: 2,262

Originally posted by alien999999999
i thought that glX... functions were in the glx library? (-lglx)
am i so wrong?
There is no -lglx.

The only file on your system is in /usr/X11R6/lib/modules/extensions -- it is NOT intended to be used by user programs, only X itself.

If you try to link against that, it WILL fail with a bunch of other unresolved symbols (stuff that the X binary defines, I think). The only purpose of is to implement the GLX extension, server-side.

The glX* functions that user programs call are provided either by libX11, or by libGL.
Registered Linux User #219692
bwkaz is offline   Reply With Quote