To install freeglut for LINUX-MINT
Open a terminal and enter the following commands to install the necessary libraries for OpenGL development:
1) [vinayak@localhost ~]$ su -
enter admin pasword
2)
[root@localhost ~]# sudo apt-get update
[root@localhost ~]# sudo apt-get install freeglut3
[root@localhost ~]# sudo apt-get install freeglut3-dev
[root@localhost ~]# sudo apt-get install binutils-gold
[root@localhost ~]# sudo apt-get install g++ cmake
[root@localhost ~]# sudo apt-get install libglew-dev
[root@localhost ~]# sudo apt-get install g++
[root@localhost ~]# sudo apt-get install mesa-common-dev
[root@localhost ~]# sudo apt-get install build-essential
[root@localhost ~]# sudo apt-get install libglew1.5-dev libglm-dev
[root@localhost ~]# exit
3) [vinayak@localhost ~]$ gcc prog.c -lglut -lGL -lGLU
Good Job.
ReplyDeleteThank u
Delete