Advertisement

protoc错误:该文件由较新版本生成

阅读量:
报错源码——来自于caffe.ph.h

怎么生成caffe.pb.h的

复制代码
    if GOOGLE_PROTOBUF_VERSION < 2004000
    #error This file was generated by a newer version of protoc which is
    #error incompatible with your Protocol Buffer headers.  Please update
    #error your headers.
    endif
    if 2004001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
    #error This file was generated by an older version of protoc which is
    #error incompatible with your Protocol Buffer headers.  Please
    #error regenerate this file with a newer version of protoc.
    endif
问题原因

caffe.pb.h这个.caffepb.h文件是由最新生成器创建的。
然而

全部评论 (0)

还没有任何评论哟~