I am trying to install caffe on a server where I have no root access and I get the following error
make: *** [.build_release/src/caffe/proto/caffe.pb.o] Error 1
This error pointed me to https://github.com/BVLC/caffe/issues/4512
protobuf2.3.0 is installed on the server and I installed protobuf3 on my home directory and I added the locations to LD_LIBRARY_PATH, but if I do protoc --version
it still points to 2.3.0. and which protoc
says /usr/bin/protoc
I'm not allowed to delete the 2.3 version.
How can I point to my other installation?
Edit:
At the beginning of the error message is .build_release/src/caffe/proto/caffe.pb.h error: #error This file was generated by an older version of protoc which is incompatible with your Protocol Buffer headers. Please regenerate this file with a newer version of protoc.