I am trying to run an OpenGL program. When I compile that program terminal, it shows an error:
fatal error: GL/glut.h: No such file or directory #include <GL/glut.h>
When I try to install freeglut, I got another error:
$ sudo apt-get install mesa-common-dev libgi-mesa-dev libglui-mesa-dev freeglut3-dev
[sudo] password for yash:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libgi-mesa-dev
E: Unable to locate package libglui-mesa-dev
Please help me to figure this out.