JDAI-CV / dabnn

dabnn is an accelerated binary neural networks inference framework for mobile platform
Other
769 stars 102 forks source link

build-onnx2bnn编译出错 #78

Closed wayy13 closed 3 years ago

wayy13 commented 3 years ago

In file included from /home/wql/program/dabnn/build-onnx2bnn/third_party/onnx/onnx/onnx_onnx_bnn-ml.pb.cc:4:0: /home/wql/program/dabnn/build-onnx2bnn/third_party/onnx/onnx/onnx_onnx_bnn-ml.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

^ /home/wql/program/dabnn/build-onnx2bnn/third_party/onnx/onnx/onnx_onnx_bnn-ml.pb.h:18:2: error: #error incompatible with your Protocol Buffer headers. Please

error incompatible with your Protocol Buffer headers. Please

^ /home/wql/program/dabnn/build-onnx2bnn/third_party/onnx/onnx/onnx_onnx_bnn-ml.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.

^ In file included from /home/wql/program/dabnn/build-onnx2bnn/third_party/onnx/onnx/onnx_onnx_bnn-ml.pb.cc:4:0: /home/wql/program/dabnn/build-onnx2bnn/third_party/onnx/onnx/onnx_onnx_bnn-ml.pb.h:28:50: fatal error: google/protobuf/inlined_string_field.h: No such file or directory compilation terminated. third_party/onnx/CMakeFiles/onnx_proto.dir/build.make:97: recipe for target 'third_party/onnx/CMakeFiles/onnx_proto.dir/onnx/onnx_onnx_bnn-ml.pb.cc.o' failed make[2]: [third_party/onnx/CMakeFiles/onnx_proto.dir/onnx/onnx_onnx_bnn-ml.pb.cc.o] Error 1 CMakeFiles/Makefile2:334: recipe for target 'third_party/onnx/CMakeFiles/onnx_proto.dir/all' failed make[1]: [third_party/onnx/CMakeFiles/onnx_proto.dir/all] Error 2 Makefile:155: recipe for target 'all' failed make: *** [all] Error 2

wayy13 commented 3 years ago

protoc安装位置出错