title: SDL configuration in Eclipse IDE
body: <p>I am trying to get a OpenGL code run on Eclipse in Linux x86 environment (ubuntu): 
     <a href="http://nehe.gamedev.net/tutorial/vertex_buffer_objects/22002/">http://nehe.gamedev.net/tutorial/vertex_buffer_objects/22002/</a>
  The code would run properly after I input in the command line with</p>
  
  <blockquote>
    <p>g++ main.cpp error.cpp lesson45.cpp -o lesson45 -L/usr/X11R6/lib/ -lGL -lGLU <code>sdl-config --cflags --libs</code></p>
  </blockquote>
  
  <p>Which is the instruction from the make file.
  Now I'm attempting to get the code run on Eclipse, I know I must set up linker libraries GL and GLU and linker library directory /usr/X11R6/lib/. However, with respect to <code>sdl-config --cflags --libs</code>, I am not sure how to configure it within Eclipse. </p>