title: Setting up OpenGL in CodeBlocks
body: <p>I am having trouble getting the right setings in order to use OpenGl in CodeBlocks. </p>
  
  <p>I have used the instructions from this tutorial: <a href="http://www.sci.brooklyn.cuny.edu/~goetz/codeblocks/glut/" rel="nofollow">GLUT</a> but for my project to run I need the following flags: -lGL -lGLU -lglut which I can set in the Other linker options tab from Build options. When I do this, the compiler says <code>cannot find -lGL -lGLU -lglut</code>. What do I have to install in order for these libraries to work? GL.h GLU.h glut.h? and if yes how can I link them to the project? By adding them  in the Link libraries tab? And also from the project tree which appears in Build options does the name of the project have to be selected when I install these libraries, or Debug or Release?</p>
  
  <p>In Build options, if I select the name of the project, at Link libraries I have the following: glut32, opengl32, glu32, winmm, gdi32 but I don't remember giving a path for them. Are they correct or do I have to change them as well?</p>
  
  <p>I would like to mention that the created project is a GLUT project and that I am using Windows 7.</p>