Advertisement
jiapei100

Failed2BuildOpenCV_Protobuf23.2

Jun 13th, 2023
1,140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 69.59 KB | Source Code | 0 0
  1. [ 29%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/misc/caffe/opencv-caffe.pb.cc.o
  2. cd ....../opencv/build/modules/dnn && /usr/bin/ccache /usr/bin/c++ -DCVAPI_EXPORTS -DCV_CUDA4DNN=1 -DENABLE_PLUGINS -DHAVE_FLATBUFFERS=1 -DHAVE_PROTOBUF=1 -DOPENCV_DNN_EXTERNAL_PROTOBUF=1 -DVK_NO_PROTOTYPES -D_USE_MATH_DEFINES -D__OPENCV_BUILD=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I....../opencv/build/3rdparty/ippicv/ippicv_lnx/icv/include -I....../opencv/build/3rdparty/ippicv/ippicv_lnx/iw/include -I....../opencv/build -I....../opencv/3rdparty/include -I....../opencv/modules/dnn/include -I....../opencv/build/modules/dnn -I....../opencv_contrib/modules/cudev/include -I....../opencv/modules/core/include -I....../opencv/modules/imgproc/include -I....../opencv/modules/dnn/misc/caffe -I....../opencv/modules/dnn/misc/tensorflow -I....../opencv/modules/dnn/misc/onnx -I....../opencv/modules/dnn/misc/tflite -isystem /usr/local/cuda/include -isystem /usr/include/eigen3 -isystem ....../opencv/3rdparty/flatbuffers/include -std=c++17   -fsigned-char -ffast-math -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Winit-self -Wpointer-arith -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fno-omit-frame-pointer -pg -g  -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -Wno-deprecated -Wno-missing-declarations -Wno-shadow -Wno-unused-parameter -Wno-sign-compare -Wno-undef -Wno-invalid-offsetof -O3 -DNDEBUG  -DNDEBUG -std=c++11 -fPIC -Wno-suggest-override -Wno-array-bounds -MD -MT modules/dnn/CMakeFiles/opencv_dnn.dir/misc/caffe/opencv-caffe.pb.cc.o -MF CMakeFiles/opencv_dnn.dir/misc/caffe/opencv-caffe.pb.cc.o.d -o CMakeFiles/opencv_dnn.dir/misc/caffe/opencv-caffe.pb.cc.o -c ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.cc
  3. In file included from ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.cc:4:
  4. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:17:2: error: #error This file was generated by an older version of protoc which is
  5.    17 | #error This file was generated by an older version of protoc which is
  6.       |  ^~~~~
  7. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:18:2: error: #error incompatible with your Protocol Buffer headers. Please
  8.    18 | #error incompatible with your Protocol Buffer headers. Please
  9.       |  ^~~~~
  10. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:19:2: error: #error regenerate this file with a newer version of protoc.
  11.    19 | #error regenerate this file with a newer version of protoc.
  12.       |  ^~~~~
  13. In file included from /usr/local/include/google/protobuf/io/coded_stream.h:130,
  14.                  from ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:23,
  15.                  from ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.cc:4:
  16. /usr/local/include/google/protobuf/stubs/common.h:63:2: error: #error "C++ versions less than C++14 are not supported."
  17.    63 | #error "C++ versions less than C++14 are not supported."
  18.       |  ^~~~~
  19. In file included from /usr/local/include/google/protobuf/arena.h:52,
  20.                  from ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:24,
  21.                  from ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.cc:4:
  22. /usr/local/include/google/protobuf/arena_align.h: In member function ‘constexpr size_t google::protobuf::internal::ArenaAlign::Padded(size_t) const:
  23. /usr/local/include/google/protobuf/arena_align.h:154:3: error: body of ‘constexpr’ function ‘constexpr size_t google::protobuf::internal::ArenaAlign::Padded(size_t) const’ not a return-statement
  24.   154 |   }
  25.       |   ^
  26. /usr/local/include/google/protobuf/arena_align.h: At global scope:
  27. /usr/local/include/google/protobuf/arena_align.h:203:18: error: ‘ArenaAlignAs’ function uses ‘auto’ type specifier without trailing return type
  28.   203 | inline constexpr auto ArenaAlignAs() {
  29.       |                  ^~~~
  30. /usr/local/include/google/protobuf/arena_align.h:203:18: note: deduced return type only available with ‘-std=c++14’ or ‘-std=gnu++14
  31. /usr/local/include/google/protobuf/arena_align.h:209:18: error: ‘ArenaAlignOf’ function uses ‘auto’ type specifier without trailing return type
  32.   209 | inline constexpr auto ArenaAlignOf() {
  33.       |                  ^~~~
  34. /usr/local/include/google/protobuf/arena_align.h:209:18: note: deduced return type only available with ‘-std=c++14’ or ‘-std=gnu++14
  35. In file included from ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:24,
  36.                  from ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.cc:4:
  37. /usr/local/include/google/protobuf/arena.h: In member function ‘void google::protobuf::Arena::Own(T*):
  38. /usr/local/include/google/protobuf/arena.h:363:14: error: ‘conditional_t’ in namespace ‘std’ does not name a template type; did you mean ‘conditional’?
  39.   363 |         std::conditional_t<std::is_convertible<T*, MessageLite*>::value,
  40.       |              ^~~~~~~~~~~~~
  41.       |              conditional
  42. /usr/local/include/google/protobuf/arena.h:366:36: error: ‘TypeToUse’ does not name a type
  43.   366 |       impl_.AddCleanup(static_cast<TypeToUse*>(object),
  44.       |                                    ^~~~~~~~~
  45. /usr/local/include/google/protobuf/arena.h:366:45: error: expected ‘>’ before ‘*’ token
  46.   366 |       impl_.AddCleanup(static_cast<TypeToUse*>(object),
  47.       |                                             ^
  48. /usr/local/include/google/protobuf/arena.h:366:45: error: expected ‘(’ before ‘*’ token
  49. /usr/local/include/google/protobuf/arena.h:366:46: error: expected primary-expression before ‘>’ token
  50.   366 |       impl_.AddCleanup(static_cast<TypeToUse*>(object),
  51.       |                                              ^
  52. /usr/local/include/google/protobuf/arena.h:367:55: error: ‘TypeToUse’ was not declared in this scope
  53.   367 |                        &internal::arena_delete_object<TypeToUse>);
  54.       |                                                       ^~~~~~~~~
  55. In file included from /usr/local/include/google/protobuf/generated_message_table_driven.h:34,
  56.                  from ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:26,
  57.                  from ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.cc:4:
  58. /usr/local/include/google/protobuf/map.h: At global scope:
  59. /usr/local/include/google/protobuf/map.h:203:31: error: ‘enable_if_t’ is not a member of ‘std’
  60.   203 | struct KeyForBaseImpl<T, std::enable_if_t<std::is_integral<T>::value &&
  61.       |                               ^~~~~~~~~~~
  62. /usr/local/include/google/protobuf/map.h:203:31: note: ‘std::enable_if_t’ is only available from C++14 onwards
  63. /usr/local/include/google/protobuf/map.h:203:31: error: ‘enable_if_t’ is not a member of ‘std’
  64. /usr/local/include/google/protobuf/map.h:203:31: note: ‘std::enable_if_t’ is only available from C++14 onwards
  65. /usr/local/include/google/protobuf/map.h:204:62: error: type/value mismatch at argument 2 in template parameter list fortemplate<class T, class> struct google::protobuf::internal::KeyForBaseImpl
  66.   204 |                                           std::is_signed<T>::value>> {
  67.       |                                                              ^~~~~
  68. /usr/local/include/google/protobuf/map.h:204:62: note:   expected a type, got ‘((<expression error> < std::is_integral<_Tp>::value) && std::is_signed<_Tp>::value)
  69. /usr/local/include/google/protobuf/map.h:204:67: error: expected unqualified-id before ‘>’ token
  70.   204 |                                           std::is_signed<T>::value>> {
  71.       |                                                                   ^~
  72. /usr/local/include/google/protobuf/map.h:300:25: error: ‘conditional_t’ in namespace ‘std’ does not name a template type; did you mean ‘conditional’?
  73.   300 | using KeyForTree = std::conditional_t<std::is_integral<T>::value, uint64_t,
  74.       |                         ^~~~~~~~~~~~~
  75.       |                         conditional
  76. /usr/local/include/google/protobuf/map.h:305:10: error: ‘conditional_t’ is not a member of ‘std’; did you mean ‘conditional’?
  77.   305 |     std::conditional_t<std::is_integral<T>::value, uint64_t, T>>::less;
  78.       |          ^~~~~~~~~~~~~
  79.       |          conditional
  80. /usr/local/include/google/protobuf/map.h:305:10: error: ‘conditional_t’ is not a member of ‘std’; did you mean ‘conditional’?
  81.   305 |     std::conditional_t<std::is_integral<T>::value, uint64_t, T>>::less;
  82.       |          ^~~~~~~~~~~~~
  83.       |          conditional
  84. /usr/local/include/google/protobuf/map.h:305:62: error: wrong number of template arguments (3, should be 1)
  85.   305 |     std::conditional_t<std::is_integral<T>::value, uint64_t, T>>::less;
  86.       |                                                              ^
  87. /usr/local/include/google/protobuf/map.h:214:8: note: provided fortemplate<class key_type> struct google::protobuf::internal::TransparentSupport
  88.   214 | struct TransparentSupport {
  89.       |        ^~~~~~~~~~~~~~~~~~
  90. /usr/local/include/google/protobuf/map.h:304:30: error: expected nested-name-specifier
  91.   304 | using LessForTree = typename TransparentSupport<
  92.       |                              ^~~~~~~~~~~~~~~~~~~
  93.   305 |     std::conditional_t<std::is_integral<T>::value, uint64_t, T>>::less;
  94.       |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  95. /usr/local/include/google/protobuf/map.h:309:14: error: ‘KeyForTree’ was not declared in this scope; did you mean ‘KeyForBase’?
  96.   309 |     std::map<KeyForTree<Key>, NodeBase*, LessForTree<Key>,
  97.       |              ^~~~~~~~~~
  98.       |              KeyForBase
  99. /usr/local/include/google/protobuf/map.h:309:28: error: wrong number of template arguments (1, should be at least 2)
  100.   309 |     std::map<KeyForTree<Key>, NodeBase*, LessForTree<Key>,
  101.       |                            ^
  102. In file included from /usr/include/c++/11/map:61,
  103.                  from /usr/local/include/google/protobuf/stubs/common.h:40,
  104.                  from /usr/local/include/google/protobuf/io/coded_stream.h:130,
  105.                  from ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:23,
  106.                  from ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.cc:4:
  107. /usr/include/c++/11/bits/stl_map.h:100:11: note: provided fortemplate<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
  108.   100 |     class map
  109.       |           ^~~
  110. In file included from /usr/local/include/google/protobuf/generated_message_table_driven.h:34,
  111.                  from ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:26,
  112.                  from ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.cc:4:
  113. /usr/local/include/google/protobuf/map.h: In function ‘size_t google::protobuf::internal::SpaceUsedInTable(google::protobuf::internal::TableEntryPtr*, size_t, size_t, size_t):
  114. /usr/local/include/google/protobuf/map.h:383:20: error: ‘TreeForMap’ does not name a type
  115.   383 |       using Tree = TreeForMap<Key>;
  116.       |                    ^~~~~~~~~~
  117. /usr/local/include/google/protobuf/map.h:384:7: error: ‘Tree’ was not declared in this scope; did you mean ‘free?
  118.   384 |       Tree* tree = TableEntryToTree<Tree>(table[b]);
  119.       |       ^~~~
  120.       |       free
  121. /usr/local/include/google/protobuf/map.h:384:13: error: ‘tree’ was not declared in this scope; did you mean ‘free?
  122.   384 |       Tree* tree = TableEntryToTree<Tree>(table[b]);
  123.       |             ^~~~
  124.       |             free
  125. /usr/local/include/google/protobuf/map.h:384:42: error: no matching function for call to ‘TableEntryToTree<Tree>(google::protobuf::internal::TableEntryPtr&)
  126.   384 |       Tree* tree = TableEntryToTree<Tree>(table[b]);
  127.       |                    ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
  128. /usr/local/include/google/protobuf/map.h:342:7: note: candidate:template<class Tree> Tree* google::protobuf::internal::TableEntryToTree(google::protobuf::internal::TableEntryPtr)
  129.   342 | Tree* TableEntryToTree(TableEntryPtr entry) {
  130.       |       ^~~~~~~~~~~~~~~~
  131. /usr/local/include/google/protobuf/map.h:342:7: note:   template argument deduction/substitution failed:
  132. /usr/local/include/google/protobuf/map.h:388:32: error: ‘Tree’ is not a class, namespace, or enumeration
  133.   388 |               (sizeof(typename Tree::value_type) + sizeof(void*) * 4);
  134.       |                                ^~~~
  135. /usr/local/include/google/protobuf/map.h:388:48: error: expected ‘(’ before ‘)’ token
  136.   388 |               (sizeof(typename Tree::value_type) + sizeof(void*) * 4);
  137.       |                                                ^
  138.       |                                                (
  139. /usr/local/include/google/protobuf/map.h: At global scope:
  140. /usr/local/include/google/protobuf/map.h:410:28: error: ‘std::enable_if_t’ has not been declared
  141.   410 | template <typename T, std::enable_if_t<std::is_integral<T>::value, int> = 0>
  142.       |                            ^~~~~~~~~~~
  143. /usr/local/include/google/protobuf/map.h:410:39: error: expected ‘>’ before ‘<’ token
  144.   410 | template <typename T, std::enable_if_t<std::is_integral<T>::value, int> = 0>
  145.       |                                       ^
  146. /usr/local/include/google/protobuf/map.h:417:28: error: ‘std::enable_if_t’ has not been declared
  147.   417 | template <typename T, std::enable_if_t<!std::is_integral<T>::value, int> = 0>
  148.       |                            ^~~~~~~~~~~
  149. /usr/local/include/google/protobuf/map.h:417:39: error: expected ‘>’ before ‘<’ token
  150.   417 | template <typename T, std::enable_if_t<!std::is_integral<T>::value, int> = 0>
  151.       |                                       ^
  152. /usr/local/include/google/protobuf/map.h:448:5: error: ‘decltype(auto)’ type specifier only available with ‘-std=c++14’ or ‘-std=gnu++14
  153.   448 |     decltype(auto) key() const {
  154.       |     ^~~~~~~~
  155. /usr/local/include/google/protobuf/map.h:458:26: error: ‘TreeForMap’ in namespace ‘google::protobuf::internal’ does not name a template type
  156.   458 |   using Tree = internal::TreeForMap<Key>;
  157.       |                          ^~~~~~~~~~
  158. /usr/local/include/google/protobuf/map.h:459:33: error: ‘Tree’ has not been declared
  159.   459 |   using TreeIterator = typename Tree::iterator;
  160.       |                                 ^~~~
  161. /usr/local/include/google/protobuf/map.h:479:33: error: expected ‘)’ before ‘tree_it’
  162.   479 |     KeyIteratorBase(TreeIterator tree_it, const KeyMapBase* m, size_type index)
  163.       |                    ~            ^~~~~~~~
  164.       |                                 )
  165. /usr/local/include/google/protobuf/map.h:584:40: error: ‘TreeIterator’ has not been declared
  166.   584 |   NodeAndBucket FindHelper(const K& k, TreeIterator* it = nullptr) const {
  167.       |                                        ^~~~~~~~~~~~
  168. /usr/local/include/google/protobuf/map.h:755:21: error: ‘Tree’ has not been declared
  169.   755 |   void TransferTree(Tree* tree) {
  170.       |                     ^~~~
  171. /usr/local/include/google/protobuf/map.h:794:41: error: ‘Tree’ has not been declared
  172.   794 |   size_type CopyListToTree(size_type b, Tree* tree) {
  173.       |                                         ^~~~
  174. /usr/local/include/google/protobuf/map.h:848:20: error: ‘Tree’ has not been declared
  175.   848 |   void DestroyTree(Tree* tree) {
  176.       |                    ^~~~
  177. /usr/local/include/google/protobuf/map.h:894:32: error: ‘TreeIterator’ has not been declared
  178.   894 |                                TreeIterator* it) const {
  179.       |                                ^~~~~~~~~~~~
  180. /usr/local/include/google/protobuf/map.h: In member function ‘void google::protobuf::internal::KeyMapBase<Key>::KeyIteratorBase::SearchFrom(google::protobuf::internal::KeyMapBase<Key>::size_type):
  181. /usr/local/include/google/protobuf/map.h:494:11: error: ‘Tree’ was not declared in this scope; did you mean ‘free?
  182.   494 |           Tree* tree = TableEntryToTree<Tree>(entry);
  183.       |           ^~~~
  184.       |           free
  185. /usr/local/include/google/protobuf/map.h:494:17: error: ‘tree’ was not declared in this scope; did you mean ‘free?
  186.   494 |           Tree* tree = TableEntryToTree<Tree>(entry);
  187.       |                 ^~~~
  188.       |                 free
  189. /usr/local/include/google/protobuf/map.h:494:46: error: no matching function for call to ‘TableEntryToTree<Tree>(google::protobuf::internal::TableEntryPtr&)
  190.   494 |           Tree* tree = TableEntryToTree<Tree>(entry);
  191.       |                        ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
  192. /usr/local/include/google/protobuf/map.h:342:7: note: candidate:template<class Tree> Tree* google::protobuf::internal::TableEntryToTree(google::protobuf::internal::TableEntryPtr)
  193.   342 | Tree* TableEntryToTree(TableEntryPtr entry) {
  194.       |       ^~~~~~~~~~~~~~~~
  195. /usr/local/include/google/protobuf/map.h:342:7: note:   template argument deduction/substitution failed:
  196. /usr/local/include/google/protobuf/map.h: In member function ‘void google::protobuf::internal::KeyMapBase<Key>::erase_no_destroy(google::protobuf::internal::KeyMapBase<Key>::size_type, google::protobuf::internal::KeyMapBase<Key>::KeyNode*):
  197. /usr/local/include/google/protobuf/map.h:547:5: error: ‘TreeIterator’ was not declared in this scope; did you mean ‘MapIterator’?
  198.   547 |     TreeIterator tree_it;
  199.       |     ^~~~~~~~~~~~
  200.       |     MapIterator
  201. /usr/local/include/google/protobuf/map.h:548:60: error: ‘tree_it’ was not declared in this scope
  202.   548 |     const bool is_list = revalidate_if_necessary(b, node, &tree_it);
  203.       |                                                            ^~~~~~~
  204. /usr/local/include/google/protobuf/map.h:556:7: error: ‘Tree’ was not declared in this scope; did you mean ‘free?
  205.   556 |       Tree* tree = internal::TableEntryToTree<Tree>(this->table_[b]);
  206.       |       ^~~~
  207.       |       free
  208. /usr/local/include/google/protobuf/map.h:556:13: error: ‘tree’ was not declared in this scope; did you mean ‘free?
  209.   556 |       Tree* tree = internal::TableEntryToTree<Tree>(this->table_[b]);
  210.       |             ^~~~
  211.       |             free
  212. /usr/local/include/google/protobuf/map.h:556:52: error: no matching function for call to ‘TableEntryToTree<Tree>(google::protobuf::internal::TableEntryPtr&)
  213.   556 |       Tree* tree = internal::TableEntryToTree<Tree>(this->table_[b]);
  214.       |                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
  215. /usr/local/include/google/protobuf/map.h:342:7: note: candidate:template<class Tree> Tree* google::protobuf::internal::TableEntryToTree(google::protobuf::internal::TableEntryPtr)
  216.   342 | Tree* TableEntryToTree(TableEntryPtr entry) {
  217.       |       ^~~~~~~~~~~~~~~~
  218. /usr/local/include/google/protobuf/map.h:342:7: note:   template argument deduction/substitution failed:
  219. /usr/local/include/google/protobuf/map.h: In member function ‘google::protobuf::internal::KeyMapBase<Key>::NodeAndBucket google::protobuf::internal::KeyMapBase<Key>::FindHelper(const K&, int*) const:
  220. /usr/local/include/google/protobuf/map.h:597:7: error: ‘Tree’ was not declared in this scope; did you mean ‘free?
  221.   597 |       Tree* tree = internal::TableEntryToTree<Tree>(table_[b]);
  222.       |       ^~~~
  223.       |       free
  224. /usr/local/include/google/protobuf/map.h:597:13: error: ‘tree’ was not declared in this scope; did you mean ‘free?
  225.   597 |       Tree* tree = internal::TableEntryToTree<Tree>(table_[b]);
  226.       |             ^~~~
  227.       |             free
  228. /usr/local/include/google/protobuf/map.h:597:52: error: no matching function for call to ‘TableEntryToTree<Tree>(google::protobuf::internal::TableEntryPtr&)
  229.   597 |       Tree* tree = internal::TableEntryToTree<Tree>(table_[b]);
  230.       |                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
  231. /usr/local/include/google/protobuf/map.h:342:7: note: candidate:template<class Tree> Tree* google::protobuf::internal::TableEntryToTree(google::protobuf::internal::TableEntryPtr)
  232.   342 | Tree* TableEntryToTree(TableEntryPtr entry) {
  233.       |       ^~~~~~~~~~~~~~~~
  234. /usr/local/include/google/protobuf/map.h:342:7: note:   template argument deduction/substitution failed:
  235. /usr/local/include/google/protobuf/map.h: In member function ‘void google::protobuf::internal::KeyMapBase<Key>::InsertUniqueInTree(google::protobuf::internal::KeyMapBase<Key>::size_type, google::protobuf::internal::KeyMapBase<Key>::KeyNode*):
  236. /usr/local/include/google/protobuf/map.h:665:35: error: ‘Tree’ was not declared in this scope; did you mean ‘tree’?
  237.   665 |     auto* tree = TableEntryToTree<Tree>(table_[b]);
  238.       |                                   ^~~~
  239.       |                                   tree
  240. /usr/local/include/google/protobuf/map.h: In member function ‘void google::protobuf::internal::KeyMapBase<Key>::Resize(size_t):
  241. /usr/local/include/google/protobuf/map.h:739:39: error: ‘Tree’ was not declared in this scope; did you mean ‘free?
  242.   739 |         TransferTree(TableEntryToTree<Tree>(old_table[i]));
  243.       |                                       ^~~~
  244.       |                                       free
  245. /usr/local/include/google/protobuf/map.h: In member function ‘void google::protobuf::internal::KeyMapBase<Key>::TransferTree(int*):
  246. /usr/local/include/google/protobuf/map.h:756:24: error: request for member ‘begin’ in ‘tree->’, which is of non-class type ‘int
  247.   756 |     auto* node = tree->begin()->second;
  248.       |                        ^~~~~
  249. /usr/local/include/google/protobuf/map.h: In member function ‘void google::protobuf::internal::KeyMapBase<Key>::TreeConvert(google::protobuf::internal::KeyMapBase<Key>::size_type):
  250. /usr/local/include/google/protobuf/map.h:776:5: error: ‘Tree’ was not declared in this scope; did you mean ‘free?
  251.   776 |     Tree* tree =
  252.       |     ^~~~
  253.       |     free
  254. /usr/local/include/google/protobuf/map.h:776:11: error: ‘tree’ was not declared in this scope; did you mean ‘free?
  255.   776 |     Tree* tree =
  256.       |           ^~~~
  257.       |           free
  258. /usr/local/include/google/protobuf/map.h:777:54: error: ‘Tree’ is not a class, namespace, or enumeration
  259.   777 |         Arena::Create<Tree>(alloc_.arena(), typename Tree::key_compare(),
  260.       |                                                      ^~~~
  261. /usr/local/include/google/protobuf/map.h:778:38: error: ‘Tree’ is not a class, namespace, or enumeration
  262.   778 |                             typename Tree::allocator_type(alloc_));
  263.       |                                      ^~~~
  264. /usr/local/include/google/protobuf/map.h: In member function ‘google::protobuf::internal::KeyMapBase<Key>::size_type google::protobuf::internal::KeyMapBase<Key>::CopyListToTree(google::protobuf::internal::KeyMapBase<Key>::size_type, int*):
  265. /usr/local/include/google/protobuf/map.h:798:13: error: request for member ‘insert’ in ‘tree->’, which is of non-class type ‘int
  266.   798 |       tree->insert({static_cast<KeyNode*>(node)->key(), node});
  267.       |             ^~~~~~
  268. /usr/local/include/google/protobuf/map.h: At global scope:
  269. /usr/local/include/google/protobuf/map.h:1094:28: error: ‘TreeForMap’ in namespace ‘google::protobuf::internal’ does not name a template type
  270.  1094 |     using Tree = internal::TreeForMap<Key>;
  271.       |                            ^~~~~~~~~~
  272. /usr/local/include/google/protobuf/map.h:1095:35: error: ‘Tree’ has not been declared
  273.  1095 |     using TreeIterator = typename Tree::iterator;
  274.       |                                   ^~~~
  275. /usr/local/include/google/protobuf/map.h:1097:39: error: ‘TreeIterator’ has not been declared
  276.  1097 |     static Node* NodeFromTreeIterator(TreeIterator it) {
  277.       |                                       ^~~~~~~~~~~~
  278. /usr/local/include/google/protobuf/map.h: In static member function ‘static google::protobuf::Map<Key, T>::InnerMap::Node* google::protobuf::Map<Key, T>::InnerMap::NodeFromTreeIterator(int):
  279. /usr/local/include/google/protobuf/map.h:1101:35: error: base operand of ‘->’ is not a pointer
  280.  1101 |       return static_cast<Node*>(it->second);
  281.       |                                   ^~
  282. /usr/local/include/google/protobuf/map.h: In member function ‘void google::protobuf::Map<Key, T>::InnerMap::clear():
  283. /usr/local/include/google/protobuf/map.h:1144:11: error: ‘Tree’ was not declared in this scope; did you mean ‘free?
  284.  1144 |           Tree* tree = internal::TableEntryToTree<Tree>(this->table_[b]);
  285.       |           ^~~~
  286.       |           free
  287. /usr/local/include/google/protobuf/map.h:1144:17: error: ‘tree’ was not declared in this scope; did you mean ‘free?
  288.  1144 |           Tree* tree = internal::TableEntryToTree<Tree>(this->table_[b]);
  289.       |                 ^~~~
  290.       |                 free
  291. In file included from ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:26,
  292.                  from ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.cc:4:
  293. /usr/local/include/google/protobuf/generated_message_table_driven.h: At global scope:
  294. /usr/local/include/google/protobuf/generated_message_table_driven.h:287:25: error: ‘MapEntryHelper’ does not name a type; did you mean ‘MapEntryLite’?
  295.   287 |   bool operator()(const MapEntryHelper<T>& a,
  296.       |                         ^~~~~~~~~~~~~~
  297.       |                         MapEntryLite
  298. /usr/local/include/google/protobuf/generated_message_table_driven.h:287:39: error: expected ‘,’ or ‘...’ before ‘<’ token
  299.   287 |   bool operator()(const MapEntryHelper<T>& a,
  300.       |                                       ^
  301. /usr/local/include/google/protobuf/generated_message_table_driven.h: In member function ‘bool google::protobuf::internal::CompareMapKey::operator()(int) const:
  302. /usr/local/include/google/protobuf/generated_message_table_driven.h:289:20: error: ‘a’ was not declared in this scope
  303.   289 |     return Compare(a.key_, b.key_);
  304.       |                    ^
  305. /usr/local/include/google/protobuf/generated_message_table_driven.h:289:28: error: ‘b’ was not declared in this scope
  306.   289 |     return Compare(a.key_, b.key_);
  307.       |                            ^
  308. /usr/local/include/google/protobuf/generated_message_table_driven.h: In function ‘void google::protobuf::internal::MapFieldSerializer(const uint8*, google::protobuf::uint32, google::protobuf::uint32, google::protobuf::uint32, google::protobuf::io::CodedOutputStream*):
  309. /usr/local/include/google/protobuf/generated_message_table_driven.h:300:11: error: ‘MapEntryHelper’ does not name a type; did you mean ‘MapEntryLite’?
  310.   300 |   typedef MapEntryHelper<typename MapFieldType::EntryTypeTrait> Entry;
  311.       |           ^~~~~~~~~~~~~~
  312.       |           MapEntryLite
  313. /usr/local/include/google/protobuf/generated_message_table_driven.h:311:7: error: ‘Entry’ was not declared in this scope; did you mean ‘MapEntry’?
  314.   311 |       Entry map_entry(*it);
  315.       |       ^~~~~
  316.       |       MapEntry
  317. /usr/local/include/google/protobuf/generated_message_table_driven.h:313:29: error: ‘map_entry’ was not declared in this scope; did you mean ‘MapEntry’?
  318.   313 |       output->WriteVarint32(map_entry._cached_size_);
  319.       |                             ^~~~~~~~~
  320.       |                             MapEntry
  321. /usr/local/include/google/protobuf/generated_message_table_driven.h:318:17: error: ‘Entry’ was not declared in this scope; did you mean ‘MapEntry’?
  322.   318 |     std::vector<Entry> v;
  323.       |                 ^~~~~
  324.       |                 MapEntry
  325. /usr/local/include/google/protobuf/generated_message_table_driven.h:318:22: error: template argument 1 is invalid
  326.   318 |     std::vector<Entry> v;
  327.       |                      ^
  328. /usr/local/include/google/protobuf/generated_message_table_driven.h:318:22: error: template argument 2 is invalid
  329. /usr/local/include/google/protobuf/generated_message_table_driven.h:321:9: error: request for member ‘push_back’ in ‘v’, which is of non-class type ‘int
  330.   321 |       v.push_back(Entry(*it));
  331.       |         ^~~~~~~~~
  332. /usr/local/include/google/protobuf/generated_message_table_driven.h:323:17: error: request for member ‘begin’ in ‘v’, which is of non-class type ‘int
  333.   323 |     std::sort(v.begin(), v.end(), CompareMapKey());
  334.       |                 ^~~~~
  335. /usr/local/include/google/protobuf/generated_message_table_driven.h:323:28: error: request for member ‘end’ in ‘v’, which is of non-class type ‘int
  336.   323 |     std::sort(v.begin(), v.end(), CompareMapKey());
  337.       |                            ^~~
  338. /usr/local/include/google/protobuf/generated_message_table_driven.h:324:27: error: request for member ‘size’ in ‘v’, which is of non-class type ‘int
  339.   324 |     for (int i = 0; i < v.size(); i++) {
  340.       |                           ^~~~
  341. /usr/local/include/google/protobuf/generated_message_table_driven.h:326:30: error: invalid types ‘int[int]for array subscript
  342.   326 |       output->WriteVarint32(v[i]._cached_size_);
  343.       |                              ^
  344. /usr/local/include/google/protobuf/generated_message_table_driven.h:327:58: error: invalid types ‘int[int]for array subscript
  345.   327 |       SerializeInternal(reinterpret_cast<const uint8*>(&v[i]), t->field_table,
  346.       |                                                          ^
  347. In file included from ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.cc:4:
  348. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h: At global scope:
  349. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:365:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17
  350.   365 | inline bool PriorBoxParameter_CodeType_Parse(
  351.       | ^~~~~~
  352. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:366:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf
  353.   366 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PriorBoxParameter_CodeType* value) {
  354.       |                              ^~~~~~~~~~~~~~~~
  355. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:366:79: error: expected primary-expression before ‘*’ token
  356.   366 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PriorBoxParameter_CodeType* value) {
  357.       |                                                                               ^
  358. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:366:81: error: ‘value’ was not declared in this scope
  359.   366 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PriorBoxParameter_CodeType* value) {
  360.       |                                                                                 ^~~~~
  361. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:366:86: error: expression list treated as compound expression in initializer [-fpermissive]
  362.   366 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PriorBoxParameter_CodeType* value) {
  363.       |                                                                                      ^
  364. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:389:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17
  365.   389 | inline bool FillerParameter_VarianceNorm_Parse(
  366.       | ^~~~~~
  367. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:390:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf
  368.   390 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FillerParameter_VarianceNorm* value) {
  369.       |                              ^~~~~~~~~~~~~~~~
  370. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:390:81: error: expected primary-expression before ‘*’ token
  371.   390 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FillerParameter_VarianceNorm* value) {
  372.       |                                                                                 ^
  373. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:390:83: error: ‘value’ was not declared in this scope
  374.   390 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FillerParameter_VarianceNorm* value) {
  375.       |                                                                                   ^~~~~
  376. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:390:88: error: expression list treated as compound expression in initializer [-fpermissive]
  377.   390 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FillerParameter_VarianceNorm* value) {
  378.       |                                                                                        ^
  379. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:412:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17
  380.   412 | inline bool SolverParameter_SnapshotFormat_Parse(
  381.       | ^~~~~~
  382. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:413:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf
  383.   413 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SolverParameter_SnapshotFormat* value) {
  384.       |                              ^~~~~~~~~~~~~~~~
  385. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:413:83: error: expected primary-expression before ‘*’ token
  386.   413 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SolverParameter_SnapshotFormat* value) {
  387.       |                                                                                   ^
  388. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:413:85: error: ‘value’ was not declared in this scope
  389.   413 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SolverParameter_SnapshotFormat* value) {
  390.       |                                                                                     ^~~~~
  391. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:413:90: error: expression list treated as compound expression in initializer [-fpermissive]
  392.   413 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SolverParameter_SnapshotFormat* value) {
  393.       |                                                                                          ^
  394. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:435:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17
  395.   435 | inline bool SolverParameter_SolverMode_Parse(
  396.       | ^~~~~~
  397. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:436:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf
  398.   436 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SolverParameter_SolverMode* value) {
  399.       |                              ^~~~~~~~~~~~~~~~
  400. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:436:79: error: expected primary-expression before ‘*’ token
  401.   436 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SolverParameter_SolverMode* value) {
  402.       |                                                                               ^
  403. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:436:81: error: ‘value’ was not declared in this scope
  404.   436 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SolverParameter_SolverMode* value) {
  405.       |                                                                                 ^~~~~
  406. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:436:86: error: expression list treated as compound expression in initializer [-fpermissive]
  407.   436 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SolverParameter_SolverMode* value) {
  408.       |                                                                                      ^
  409. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:462:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17
  410.   462 | inline bool SolverParameter_SolverType_Parse(
  411.       | ^~~~~~
  412. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:463:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf
  413.   463 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SolverParameter_SolverType* value) {
  414.       |                              ^~~~~~~~~~~~~~~~
  415. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:463:79: error: expected primary-expression before ‘*’ token
  416.   463 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SolverParameter_SolverType* value) {
  417.       |                                                                               ^
  418. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:463:81: error: ‘value’ was not declared in this scope
  419.   463 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SolverParameter_SolverType* value) {
  420.       |                                                                                 ^~~~~
  421. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:463:86: error: expression list treated as compound expression in initializer [-fpermissive]
  422.   463 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SolverParameter_SolverType* value) {
  423.       |                                                                                      ^
  424. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:485:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17
  425.   485 | inline bool ParamSpec_DimCheckMode_Parse(
  426.       | ^~~~~~
  427. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:486:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf
  428.   486 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ParamSpec_DimCheckMode* value) {
  429.       |                              ^~~~~~~~~~~~~~~~
  430. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:486:75: error: expected primary-expression before ‘*’ token
  431.   486 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ParamSpec_DimCheckMode* value) {
  432.       |                                                                           ^
  433. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:486:77: error: ‘value’ was not declared in this scope
  434.   486 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ParamSpec_DimCheckMode* value) {
  435.       |                                                                             ^~~~~
  436. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:486:82: error: expression list treated as compound expression in initializer [-fpermissive]
  437.   486 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ParamSpec_DimCheckMode* value) {
  438.       |                                                                                  ^
  439. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:510:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17
  440.   510 | inline bool LossParameter_NormalizationMode_Parse(
  441.       | ^~~~~~
  442. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:511:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf
  443.   511 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LossParameter_NormalizationMode* value) {
  444.       |                              ^~~~~~~~~~~~~~~~
  445. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:511:84: error: expected primary-expression before ‘*’ token
  446.   511 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LossParameter_NormalizationMode* value) {
  447.       |                                                                                    ^
  448. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:511:86: error: ‘value’ was not declared in this scope
  449.   511 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LossParameter_NormalizationMode* value) {
  450.       |                                                                                      ^~~~~
  451. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:511:91: error: expression list treated as compound expression in initializer [-fpermissive]
  452.   511 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LossParameter_NormalizationMode* value) {
  453.       |                                                                                           ^
  454. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:534:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17
  455.   534 | inline bool ConvolutionParameter_Engine_Parse(
  456.       | ^~~~~~
  457. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:535:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf
  458.   535 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ConvolutionParameter_Engine* value) {
  459.       |                              ^~~~~~~~~~~~~~~~
  460. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:535:80: error: expected primary-expression before ‘*’ token
  461.   535 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ConvolutionParameter_Engine* value) {
  462.       |                                                                                ^
  463. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:535:82: error: ‘value’ was not declared in this scope
  464.   535 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ConvolutionParameter_Engine* value) {
  465.       |                                                                                  ^~~~~
  466. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:535:87: error: expression list treated as compound expression in initializer [-fpermissive]
  467.   535 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ConvolutionParameter_Engine* value) {
  468.       |                                                                                       ^
  469. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:557:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17
  470.   557 | inline bool DataParameter_DB_Parse(
  471.       | ^~~~~~
  472. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:558:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf
  473.   558 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DataParameter_DB* value) {
  474.       |                              ^~~~~~~~~~~~~~~~
  475. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:558:69: error: expected primary-expression before ‘*’ token
  476.   558 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DataParameter_DB* value) {
  477.       |                                                                     ^
  478. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:558:71: error: ‘value’ was not declared in this scope
  479.   558 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DataParameter_DB* value) {
  480.       |                                                                       ^~~~~
  481. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:558:76: error: expression list treated as compound expression in initializer [-fpermissive]
  482.   558 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DataParameter_DB* value) {
  483.       |                                                                            ^
  484. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:581:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17
  485.   581 | inline bool EltwiseParameter_EltwiseOp_Parse(
  486.       | ^~~~~~
  487. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:582:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf
  488.   582 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EltwiseParameter_EltwiseOp* value) {
  489.       |                              ^~~~~~~~~~~~~~~~
  490. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:582:79: error: expected primary-expression before ‘*’ token
  491.   582 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EltwiseParameter_EltwiseOp* value) {
  492.       |                                                                               ^
  493. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:582:81: error: ‘value’ was not declared in this scope
  494.   582 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EltwiseParameter_EltwiseOp* value) {
  495.       |                                                                                 ^~~~~
  496. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:582:86: error: expression list treated as compound expression in initializer [-fpermissive]
  497.   582 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EltwiseParameter_EltwiseOp* value) {
  498.       |                                                                                      ^
  499. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:604:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17
  500.   604 | inline bool HingeLossParameter_Norm_Parse(
  501.       | ^~~~~~
  502. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:605:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf
  503.   605 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, HingeLossParameter_Norm* value) {
  504.       |                              ^~~~~~~~~~~~~~~~
  505. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:605:76: error: expected primary-expression before ‘*’ token
  506.   605 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, HingeLossParameter_Norm* value) {
  507.       |                                                                            ^
  508. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:605:78: error: ‘value’ was not declared in this scope
  509.   605 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, HingeLossParameter_Norm* value) {
  510.       |                                                                              ^~~~~
  511. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:605:83: error: expression list treated as compound expression in initializer [-fpermissive]
  512.   605 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, HingeLossParameter_Norm* value) {
  513.       |                                                                                   ^
  514. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:627:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17
  515.   627 | inline bool LRNParameter_NormRegion_Parse(
  516.       | ^~~~~~
  517. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:628:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf
  518.   628 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LRNParameter_NormRegion* value) {
  519.       |                              ^~~~~~~~~~~~~~~~
  520. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:628:76: error: expected primary-expression before ‘*’ token
  521.   628 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LRNParameter_NormRegion* value) {
  522.       |                                                                            ^
  523. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:628:78: error: ‘value’ was not declared in this scope
  524.   628 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LRNParameter_NormRegion* value) {
  525.       |                                                                              ^~~~~
  526. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:628:83: error: expression list treated as compound expression in initializer [-fpermissive]
  527.   628 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LRNParameter_NormRegion* value) {
  528.       |                                                                                   ^
  529. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:651:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17
  530.   651 | inline bool LRNParameter_Engine_Parse(
  531.       | ^~~~~~
  532. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:652:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf
  533.   652 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LRNParameter_Engine* value) {
  534.       |                              ^~~~~~~~~~~~~~~~
  535. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:652:72: error: expected primary-expression before ‘*’ token
  536.   652 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LRNParameter_Engine* value) {
  537.       |                                                                        ^
  538. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:652:74: error: ‘value’ was not declared in this scope
  539.   652 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LRNParameter_Engine* value) {
  540.       |                                                                          ^~~~~
  541. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:652:79: error: expression list treated as compound expression in initializer [-fpermissive]
  542.   652 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LRNParameter_Engine* value) {
  543.       |                                                                               ^
  544. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:675:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17
  545.   675 | inline bool PoolingParameter_PoolMethod_Parse(
  546.       | ^~~~~~
  547. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:676:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf
  548.   676 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PoolingParameter_PoolMethod* value) {
  549.       |                              ^~~~~~~~~~~~~~~~
  550. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:676:80: error: expected primary-expression before ‘*’ token
  551.   676 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PoolingParameter_PoolMethod* value) {
  552.       |                                                                                ^
  553. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:676:82: error: ‘value’ was not declared in this scope
  554.   676 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PoolingParameter_PoolMethod* value) {
  555.       |                                                                                  ^~~~~
  556. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:676:87: error: expression list treated as compound expression in initializer [-fpermissive]
  557.   676 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PoolingParameter_PoolMethod* value) {
  558.       |                                                                                       ^
  559. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:699:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17
  560.   699 | inline bool PoolingParameter_Engine_Parse(
  561.       | ^~~~~~
  562. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:700:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf
  563.   700 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PoolingParameter_Engine* value) {
  564.       |                              ^~~~~~~~~~~~~~~~
  565. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:700:76: error: expected primary-expression before ‘*’ token
  566.   700 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PoolingParameter_Engine* value) {
  567.       |                                                                            ^
  568. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:700:78: error: ‘value’ was not declared in this scope
  569.   700 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PoolingParameter_Engine* value) {
  570.       |                                                                              ^~~~~
  571. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:700:83: error: expression list treated as compound expression in initializer [-fpermissive]
  572.   700 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PoolingParameter_Engine* value) {
  573.       |                                                                                   ^
  574. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:724:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17
  575.   724 | inline bool ReductionParameter_ReductionOp_Parse(
  576.       | ^~~~~~
  577. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:725:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf
  578.   725 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ReductionParameter_ReductionOp* value) {
  579.       |                              ^~~~~~~~~~~~~~~~
  580. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:725:83: error: expected primary-expression before ‘*’ token
  581.   725 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ReductionParameter_ReductionOp* value) {
  582.       |                                                                                   ^
  583. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:725:85: error: ‘value’ was not declared in this scope
  584.   725 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ReductionParameter_ReductionOp* value) {
  585.       |                                                                                     ^~~~~
  586. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:725:90: error: expression list treated as compound expression in initializer [-fpermissive]
  587.   725 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ReductionParameter_ReductionOp* value) {
  588.       |                                                                                          ^
  589. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:748:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17
  590.   748 | inline bool ReLUParameter_Engine_Parse(
  591.       | ^~~~~~
  592. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:749:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf
  593.   749 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ReLUParameter_Engine* value) {
  594.       |                              ^~~~~~~~~~~~~~~~
  595. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:749:73: error: expected primary-expression before ‘*’ token
  596.   749 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ReLUParameter_Engine* value) {
  597.       |                                                                         ^
  598. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:749:75: error: ‘value’ was not declared in this scope
  599.   749 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ReLUParameter_Engine* value) {
  600.       |                                                                           ^~~~~
  601. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:749:80: error: expression list treated as compound expression in initializer [-fpermissive]
  602.   749 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ReLUParameter_Engine* value) {
  603.       |                                                                                ^
  604. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:772:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17
  605.   772 | inline bool SigmoidParameter_Engine_Parse(
  606.       | ^~~~~~
  607. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:773:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf
  608.   773 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SigmoidParameter_Engine* value) {
  609.       |                              ^~~~~~~~~~~~~~~~
  610. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:773:76: error: expected primary-expression before ‘*’ token
  611.   773 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SigmoidParameter_Engine* value) {
  612.       |                                                                            ^
  613. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:773:78: error: ‘value’ was not declared in this scope
  614.   773 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SigmoidParameter_Engine* value) {
  615.       |                                                                              ^~~~~
  616. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:773:83: error: expression list treated as compound expression in initializer [-fpermissive]
  617.   773 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SigmoidParameter_Engine* value) {
  618.       |                                                                                   ^
  619. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:796:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17
  620.   796 | inline bool SoftmaxParameter_Engine_Parse(
  621.       | ^~~~~~
  622. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:797:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf
  623.   797 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SoftmaxParameter_Engine* value) {
  624.       |                              ^~~~~~~~~~~~~~~~
  625. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:797:76: error: expected primary-expression before ‘*’ token
  626.   797 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SoftmaxParameter_Engine* value) {
  627.       |                                                                            ^
  628. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:797:78: error: ‘value’ was not declared in this scope
  629.   797 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SoftmaxParameter_Engine* value) {
  630.       |                                                                              ^~~~~
  631. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:797:83: error: expression list treated as compound expression in initializer [-fpermissive]
  632.   797 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SoftmaxParameter_Engine* value) {
  633.       |                                                                                   ^
  634. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:820:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17
  635.   820 | inline bool TanHParameter_Engine_Parse(
  636.       | ^~~~~~
  637. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:821:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf
  638.   821 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TanHParameter_Engine* value) {
  639.       |                              ^~~~~~~~~~~~~~~~
  640. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:821:73: error: expected primary-expression before ‘*’ token
  641.   821 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TanHParameter_Engine* value) {
  642.       |                                                                         ^
  643. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:821:75: error: ‘value’ was not declared in this scope
  644.   821 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TanHParameter_Engine* value) {
  645.       |                                                                           ^~~~~
  646. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:821:80: error: expression list treated as compound expression in initializer [-fpermissive]
  647.   821 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TanHParameter_Engine* value) {
  648.       |                                                                                ^
  649. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:844:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17
  650.   844 | inline bool SPPParameter_PoolMethod_Parse(
  651.       | ^~~~~~
  652. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:845:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf
  653.   845 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SPPParameter_PoolMethod* value) {
  654.       |                              ^~~~~~~~~~~~~~~~
  655. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:845:76: error: expected primary-expression before ‘*’ token
  656.   845 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SPPParameter_PoolMethod* value) {
  657.       |                                                                            ^
  658. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:845:78: error: ‘value’ was not declared in this scope
  659.   845 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SPPParameter_PoolMethod* value) {
  660.       |                                                                              ^~~~~
  661. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:845:83: error: expression list treated as compound expression in initializer [-fpermissive]
  662.   845 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SPPParameter_PoolMethod* value) {
  663.       |                                                                                   ^
  664. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:868:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17
  665.   868 | inline bool SPPParameter_Engine_Parse(
  666.       | ^~~~~~
  667. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:869:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf
  668.   869 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SPPParameter_Engine* value) {
  669.       |                              ^~~~~~~~~~~~~~~~
  670. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:869:72: error: expected primary-expression before ‘*’ token
  671.   869 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SPPParameter_Engine* value) {
  672.       |                                                                        ^
  673. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:869:74: error: ‘value’ was not declared in this scope
  674.   869 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SPPParameter_Engine* value) {
  675.       |                                                                          ^~~~~
  676. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:869:79: error: expression list treated as compound expression in initializer [-fpermissive]
  677.   869 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SPPParameter_Engine* value) {
  678.       |                                                                               ^
  679. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:929:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17
  680.   929 | inline bool V1LayerParameter_LayerType_Parse(
  681.       | ^~~~~~
  682. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:930:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf
  683.   930 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, V1LayerParameter_LayerType* value) {
  684.       |                              ^~~~~~~~~~~~~~~~
  685. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:930:79: error: expected primary-expression before ‘*’ token
  686.   930 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, V1LayerParameter_LayerType* value) {
  687.       |                                                                               ^
  688. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:930:81: error: ‘value’ was not declared in this scope
  689.   930 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, V1LayerParameter_LayerType* value) {
  690.       |                                                                                 ^~~~~
  691. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:930:86: error: expression list treated as compound expression in initializer [-fpermissive]
  692.   930 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, V1LayerParameter_LayerType* value) {
  693.       |                                                                                      ^
  694. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:952:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17
  695.   952 | inline bool V1LayerParameter_DimCheckMode_Parse(
  696.       | ^~~~~~
  697. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:953:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf
  698.   953 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, V1LayerParameter_DimCheckMode* value) {
  699.       |                              ^~~~~~~~~~~~~~~~
  700. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:953:82: error: expected primary-expression before ‘*’ token
  701.   953 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, V1LayerParameter_DimCheckMode* value) {
  702.       |                                                                                  ^
  703. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:953:84: error: ‘value’ was not declared in this scope
  704.   953 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, V1LayerParameter_DimCheckMode* value) {
  705.       |                                                                                    ^~~~~
  706. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:953:89: error: expression list treated as compound expression in initializer [-fpermissive]
  707.   953 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, V1LayerParameter_DimCheckMode* value) {
  708.       |                                                                                         ^
  709. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:976:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17
  710.   976 | inline bool V0LayerParameter_PoolMethod_Parse(
  711.       | ^~~~~~
  712. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:977:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf
  713.   977 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, V0LayerParameter_PoolMethod* value) {
  714.       |                              ^~~~~~~~~~~~~~~~
  715. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:977:80: error: expected primary-expression before ‘*’ token
  716.   977 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, V0LayerParameter_PoolMethod* value) {
  717.       |                                                                                ^
  718. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:977:82: error: ‘value’ was not declared in this scope
  719.   977 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, V0LayerParameter_PoolMethod* value) {
  720.       |                                                                                  ^~~~~
  721. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:977:87: error: expression list treated as compound expression in initializer [-fpermissive]
  722.   977 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, V0LayerParameter_PoolMethod* value) {
  723.       |                                                                                       ^
  724. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:1002:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17
  725.  1002 | inline bool Type_Parse(
  726.       | ^~~~~~
  727. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:1003:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf
  728.  1003 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Type* value) {
  729.       |                              ^~~~~~~~~~~~~~~~
  730. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:1003:57: error: expected primary-expression before ‘*’ token
  731.  1003 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Type* value) {
  732.       |                                                         ^
  733. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:1003:59: error: ‘value’ was not declared in this scope
  734.  1003 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Type* value) {
  735.       |                                                           ^~~~~
  736. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:1003:64: error: expression list treated as compound expression in initializer [-fpermissive]
  737.  1003 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Type* value) {
  738.       |                                                                ^
  739. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:1025:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17
  740.  1025 | inline bool Phase_Parse(
  741.       | ^~~~~~
  742. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:1026:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf
  743.  1026 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Phase* value) {
  744.       |                              ^~~~~~~~~~~~~~~~
  745. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:1026:58: error: expected primary-expression before ‘*’ token
  746.  1026 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Phase* value) {
  747.       |                                                          ^
  748. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:1026:60: error: ‘value’ was not declared in this scope
  749.  1026 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Phase* value) {
  750.       |                                                            ^~~~~
  751. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:1026:65: error: expression list treated as compound expression in initializer [-fpermissive]
  752.  1026 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Phase* value) {
  753.       |                                                                 ^
  754. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:1140:35: error: ‘StringPiece’ in namespace ‘google::protobuf’ does not name a type
  755.  1140 |   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  756.       |                                   ^~~~~~~~~~~
  757. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:1307:35: error: ‘StringPiece’ in namespace ‘google::protobuf’ does not name a type
  758.  1307 |   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  759.       |                                   ^~~~~~~~~~~
  760. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:1661:35: error: ‘StringPiece’ in namespace ‘google::protobuf’ does not name a type
  761.  1661 |   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  762.       |                                   ^~~~~~~~~~~
  763. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:1823:35: error: ‘StringPiece’ in namespace ‘google::protobuf’ does not name a type
  764.  1823 |   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  765.       |                                   ^~~~~~~~~~~
  766. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:1989:35: error: ‘StringPiece’ in namespace ‘google::protobuf’ does not name a type
  767.  1989 |   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  768.       |                                   ^~~~~~~~~~~
  769. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:2197:35: error: ‘StringPiece’ in namespace ‘google::protobuf’ does not name a type
  770.  2197 |   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  771.       |                                   ^~~~~~~~~~~
  772. ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:2240:62: error: ‘google::protobuf::ConstStringParam’ has not been declared
  773.  2240 |   static inline bool CodeType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
  774.       |                                                              ^~~~~~~~~~~~~~~~
  775. ^Cmake[2]: *** [modules/dnn/CMakeFiles/opencv_dnn.dir/build.make:10300: modules/dnn/CMakeFiles/opencv_dnn.dir/misc/caffe/opencv-caffe.pb.cc.o] Interrupt
  776. make[1]: *** [CMakeFiles/Makefile2:4200: modules/dnn/CMakeFiles/opencv_dnn.dir/all] Interrupt
  777. make: *** [Makefile:169: all] Interrupt
  778.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement