OAID on Hikey960


#1

I am getting the following error after the make command. Can someone please help me fix this problem
g++ -std=c++11 pkg-config caffe-hrt --cflags -DCPU_ONLY=1 -Wno-sign-compare pkg-config --cflags opencv -Wall -g -I./include -DMODEL_DIR="/home/sony/FaceRecognition-master/models" -c detect/caffe_mtcnn.cpp -o build/detect/caffe_mtcnn.o
In file included from /usr/local/AID/Caffe-HRT/include/caffe/blob.hpp:9:0,
from /usr/local/AID/Caffe-HRT/include/caffe/caffe.hpp:13,
from ./include/caffe_mtcnn.hpp:7,
from detect/caffe_mtcnn.cpp:5:
/usr/local/AID/Caffe-HRT/include/caffe/proto/caffe.pb.h:17:2: error: #error This file was generated by an older version of protoc which is
#error This file was generated by an older version of protoc which is
^
/usr/local/AID/Caffe-HRT/include/caffe/proto/caffe.pb.h:18:2: error: #error incompatible with your Protocol Buffer headers. Please
#error incompatible with your Protocol Buffer headers. Please
^
/usr/local/AID/Caffe-HRT/include/caffe/proto/caffe.pb.h:19:2: error: #error regenerate this file with a newer version of protoc.
#error regenerate this file with a newer version of protoc.
^
Makefile:71: recipe for target ‘build/detect/caffe_mtcnn.o’ failed
make: *** [build/detect/caffe_mtcnn.o] Error 1


#2

Are you following @Mani’s recent blog post (in particular the bit about recompiling a new version of protoc)?