GLX library problem



Hi, Ihave a problem while compilin an application with
gcc using glx. I don know what library to load in
Makefile. I include apropriate header files in my
source, but something is missing in my Makefile (i
suppose :-) Here is the Makefile I use:

NDN = `gnome-config --cflags gnome --libs gtk`
NDNLIBS = -L/usr/X11R6/lib/modules/extensions -lglx

all:
        gcc -Wall -g -O0 button.c -o button $(NDN)
-lGL

Thanks in advance!


__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]