i just installed mesa on Linux Mandrake 7.0 and just to assure myself that i got it running properly i downloaded the tutorial code from the
NeHe tutorial Lesson 1 (Unix version by Richard Campbell ) and tried compiling lesson1.c. Needless to say it doesn’t compile. This is what I
$ make lesson1
gcc -Wall -I/usr/include/ -c lesson1.c -o lesson1.o
gcc -Wall -I/usr/include/ -o lesson1 -L/usr/X11R6/lib lesson1.o -lX11 -lXi -lXmu -lglut -lGL -lGLU -lm
/usr/bin/ld: cannot find -lglut
collect2: ld returned 1 exit status
make: *** [lesson1] Error 1
i appear to be missing a library. can anyone help with some pointers where i have gone wrong. i am assuming of course that the tutorial code
is correct. BTW i ran the demos
and they all run fine.
thanks for any help - hope i’m not off topic!