How-To: Create a Buildable GLUT Project in Linux Mint (or Ubuntu) in CodeBlocks.
step 1:
sudo apt-get install build-essential codeblocks freeglut3-dev
(from: http://excid3.com/blog/getting-started-with-ubuntu-codeblocks-and-glut/)
and then…
sudo apt-get install libglu1-mesa-dev x11proto-core-dev x11proto-gl-dev x11proto-kb-dev libxxf86vm-dev libasound2-dev libfreetype6-dev libxpm-dev libxft-dev
(from: http://www.blitzbasic.com/Community/posts.php?topic=97917)