title: caffe: error with protobuf version
body: <p>I've previously installed caffe and Fast-RCNN, so I should have all the required libraries and dependencies.</p>
  
  <p>I need to install it again for another repository(<a href="https://github.com/ronghanghu/natural-language-object-retrieval" rel="noreferrer">https://github.com/ronghanghu/natural-language-object-retrieval</a>) that uses Caffe.</p>
  
  <p>When I run </p>
  
  <pre><code>make all
  </code></pre>
  
  <p>it gives me the following error:</p>
  
  <pre><code>CXX .build_release/src/caffe/proto/caffe.pb.cc
  In file included from .build_release/src/caffe/proto/caffe.pb.cc:5:0:
  .build_release/src/caffe/proto/caffe.pb.h:12:2: error: #error This file was generated by a newer version of protoc which is
  #error This file was generated by a newer version of protoc which is
  ^
  .build_release/src/caffe/proto/caffe.pb.h:13:2: error: #error incompatible with your Protocol Buffer headers. Please update
  #error incompatible with your Protocol Buffer headers.  Please update
  ^
  .build_release/src/caffe/proto/caffe.pb.h:14:2: error: #error your headers.
  #error your headers.
  ^
  In file included from .build_release/src/caffe/proto/caffe.pb.cc:5:0:
  .build_release/src/caffe/proto/caffe.pb.h:26:55: fatal error: google/protobuf/generated_enum_reflection.h: No such file or directory
  #include &lt;google/protobuf/generated_enum_reflection.h&gt;
  
  compilation terminated.
  make: *** [.build_release/src/caffe/proto/caffe.pb.o] Error 1
  </code></pre>
  
  <p>I thought maybe protobuf has been updated, and tried</p>
  
  <pre><code>protoc --version
  </code></pre>
  
  <p>which returns </p>
  
  <pre><code>libprotoc 2.5.0
  </code></pre>
  
  <p>It seems like newer version of protobuf has been released (2.6 or up).</p>
  
  <p>So my question would be:</p>
  
  <p>1) Is there a simple way to update it?</p>
  
  <p>2) If I do update it, will it affect caffe and fast-rcnn that I previously installed, which depends on the older version of protobuf?</p>