Im trying to install openGL(glut) library in Kali linux but im getting some errors. First, i run this command:
Code:
root@kali:~# sudo apt-get install freeglut3 freeglut3-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package freeglut3-dev
Then i tried to run the same command without -dev:
Code:
    sudo apt-get install freeglut3 freeglut3
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    freeglut3 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I thought that i have already installed the glut library so i tried to run my first program. But when im running my program with this command:
Code:
gcc -lGL -lglut test.c -o test
im getting a fatal error:
Code:
fatal error: GL/glut.h: No such file or directory
compilation terminated.
Can anyone help me with this problem. Any ideas?