title: Setup eclipse linker to compile and run GLFW applications - How to?
body: <p>Based on <a href="https://stackoverflow.com/questions/17768008/how-to-build-install-glfw-3-and-use-it-in-a-linux-project">this</a> question I was able to make one default cmake compilation for GLFW libraries, compile my <a href="http://www.glfw.org/docs/latest/quick.html" rel="nofollow noreferrer">GLFW App</a> and run; everything works and was made through the terminal since I'm using Ubuntu 14.04 64 bits. </p>
  
  <p>I was using this line to compile:</p>
  
  <pre><code>g++ -std=c++11 -c main.cpp
  </code></pre>
  
  <p>And this to link:</p>
  
  <pre><code>g++ main.o -o main.exec -lGL -lGLU -lglfw3 -lX11 -lXxf86vm -lXrandr -lpthread -lXi
  </code></pre>
  
  <p>After use those commands I only needed to execute main.exec. However, <em>I would like to setup eclipse to compile and run this GLFW application</em>. Include files are already settled on the project but I'm having trouble with my linkers. I was trying to track my libraries (GL, GLU, glfw3....) manually to set the folders but I couldn't find all of them. Does anyone know how could I track the libraries to set them on my linker(Project - Properties - C/C++ Build - Settings - GCC C++ Linker) or could give me some guidelines to solve this situation, please?</p>
  
  <p>Thanks in advance</p>