I\'ve just started using Linux (Mint 11), and recently, I decided to take up OpenGL programming as a hobby. I\'m finding the code and techniques relatively simple enough, ho
be sure you have installed libglew-dev and freeglut3-dev with
sudo apt-get install libglew-dev freeglut3-dev
and then link to this libs in your Makefile or compile command with
-lglut -lGLEE
for example
g++ -lglut -lGLEW -o test main.cpp
(this is how I compiled your example)