Installing GLUT is essential for those who wants to create OpenGL programs in Linux.
To install GLUT on Ubuntu, just simply go to System>Administration>Synaptic Package Manager then search for "glut". Mark freeglut3 and freeglut3-dev for installation then click on Apply button.
This will install the OpenGL header files to /usr/include/GL/ and the library object to /usr/lib/libglut.a.
when I try to mark for installation freeglut3-dev I receive this error:
ReplyDeletefreeglut3-dev:
Depends: libgl1-mesa-dev but it is not going to be installed or
libgl-dev
Depends: libglu1-mesa-dev but it is not going to be installed or
libglu-dev