Need info. What OS are you on?
In Linux you just create a codeblocks GLUT project and compile
You need to specify the $(#glut) global variable and point CB to GLUTs include and lib directories and thats about it, i had to modify one of the lib names also.
See these attached images.
[attachment deleted by admin]