Completion requirements
If you face any problems to setup the opengl in the updated version of codeblocks then please use the older version and openGl files given here
Click on Lab material (another) to open the resource.