title: /usr/bin/ld: cannot find -lcaffe
body: <p>I installed Caffe-cpu on my Ubuntu 18.04 via the apt-get command, as it instructs on their <a href="https://caffe.berkeleyvision.org/install_apt.html" rel="nofollow noreferrer">official website</a>:</p>
  
  <pre><code>sudo apt install caffe-cpu
  </code></pre>
  
  <p>But when trying to run a sample from a <a href="https://github.com/Pratik08/Vis-DSS" rel="nofollow noreferrer">git repo</a>, it needs the header files (<code>caffe.hpp</code>). For that, I downloaded the latest Caffe Git repo and pointed to the sources. But it also complains at the make time:</p>
  
  <pre><code>/usr/bin/ld: cannot find -lcaffe
  </code></pre>
  
  <p>My understanding of similar problems is that apparently it needs to link to <code>caffe.so</code>, but I can't find it anywhere on my machine. What's the problem? How to fix it?</p>