1. cmake - could not fine protobuf compiler
ans:
$ sudo apt-get install libprotobuf-dev protobuf-compiler
delete the build file and recreate it, then cmake again;
2. You should manually point CMake variable OpenCV_DIR to your build of OpenCV
library
ans:
cmake .. -DOpenCV_DIR=/usr/share/OpenCV