I installed mesa 2.6 in my linux 5.2, the headers files are in
/usr/include/GL/* (including gl.h, glu.h, glut.h, etc)
but when I am making a sample program to test GL, using the command
the compiler says:
/tmp/cca002661.0:In function ‘main’
/tmp/cca002661.0 (.text+0xc); undefined reference to ‘glutInit’).
/tmp… (same thing repeated) (whatever glut func.
what is the problem? what can I do?