title: Compile c++ file using external library from linux terminal
body: <p>I have the following files:</p>
  
  <pre><code>ex1.cpp    ex1.h
  GLee.cpp   GLee.h
  </code></pre>
  
  <p>and I want to make it use the library (openmesh library) on the following path:</p>
  
  <blockquote>
    <p>home/xyz/Downloads/OpenMesh-2.3/src/OpenMesh/</p>
  </blockquote>
  
  <p>I'm trying to execute it with this:</p>
  
  <pre><code>g++ -Wall -o ex1 ex1.cpp GLee.cpp -L/..path../
  </code></pre>
  
  <p>but no luck, output is:</p>
  
  <p>In file included from ex1.cpp:17:0:
  ex1.h:28:38: fatal error: OpenMesh/Core/IO/MeshIO.hh: No such file or directory
  compilation terminated.</p>
  
  <p>what is the correct way of doing this?</p>
  
  <p>Thanks!</p>