title: How to run c++ program written in eclipse, from terminal
body: <p>I'm using Ubuntu and I have written my c++ code in Eclipse Neon.
  My workspace contain 4 projects. The main project is called BaseCppProjectRun (it contains main.cpp file) and I have other projects with these names: Encoders, frmwrk, NetworkLayer - the BaseCppProjectRun using each one of them.</p>
  
  <p>If I running my program directly from eclipse everything works.
  But I want to running my program from terminal - and I can't.
  Because When I'm trying to run my progrm like this:</p>
  
  <pre><code>root@ubuntu:/builds/BaseCppProject/BaseCppProjectRun# ./Debug/BaseCppProjectRun
  </code></pre>
  
  <p>I'm getting this error:</p>
  
  <pre><code>./Debug/BaseCppProjectRun: error while loading shared libraries: libfrmwrk.so: cannot open shared object file: No such file or directory
  </code></pre>
  
  <p>As I said before, if I'm running it directly from eclipse everything works.</p>
  
  <p>How can I run my program from terminal?</p>