#error This file was generated by a newer version of protoc

pattern@pattern89:/raid0/workspace/houjun/caffe-ssd$ sudo make all -j8
PROTOC src/caffe/proto/caffe.proto
CXX src/caffe/layers/softmax_loss_layer.cpp
CXX src/caffe/layers/power_layer.cpp
CXX src/caffe/layers/accuracy_layer.cpp
CXX src/caffe/layers/threshold_layer.cpp
CXX src/caffe/layers/concat_layer.cpp
CXX src/caffe/layers/infogain_loss_layer.cpp
CXX src/caffe/layers/absval_layer.cpp
CXX src/caffe/layers/tile_layer.cpp
In file included from ./include/caffe/util/cudnn.hpp:8:0,
                 from ./include/caffe/util/device_alternate.hpp:40,
                 from ./include/caffe/common.hpp:19,
                 from ./include/caffe/blob.hpp:8,
                 from ./include/caffe/layers/concat_layer.hpp:6,
                 from src/caffe/layers/concat_layer.cpp:3:
/usr/local/include/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

 

安装protoc-2.6.1

删除/usr/local/include/caffe/下所有文件

重新编译

posted @ 2018-10-31 20:48  HOU_JUN  阅读(4113)  评论(0编辑  收藏  举报