Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ 29%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/misc/caffe/opencv-caffe.pb.cc.o
- 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
- In file included from ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.cc: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
- 17 | #error This file was generated by an older version of protoc which is
- | ^~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:18:2: error: #error incompatible with your Protocol Buffer headers. Please
- 18 | #error incompatible with your Protocol Buffer headers. Please
- | ^~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:19:2: error: #error regenerate this file with a newer version of protoc.
- 19 | #error regenerate this file with a newer version of protoc.
- | ^~~~~
- In file included from /usr/local/include/google/protobuf/io/coded_stream.h:130,
- from ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:23,
- from ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.cc:4:
- /usr/local/include/google/protobuf/stubs/common.h:63:2: error: #error "C++ versions less than C++14 are not supported."
- 63 | #error "C++ versions less than C++14 are not supported."
- | ^~~~~
- In file included from /usr/local/include/google/protobuf/arena.h:52,
- from ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:24,
- from ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.cc:4:
- /usr/local/include/google/protobuf/arena_align.h: In member function ‘constexpr size_t google::protobuf::internal::ArenaAlign::Padded(size_t) const’:
- /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
- 154 | }
- | ^
- /usr/local/include/google/protobuf/arena_align.h: At global scope:
- /usr/local/include/google/protobuf/arena_align.h:203:18: error: ‘ArenaAlignAs’ function uses ‘auto’ type specifier without trailing return type
- 203 | inline constexpr auto ArenaAlignAs() {
- | ^~~~
- /usr/local/include/google/protobuf/arena_align.h:203:18: note: deduced return type only available with ‘-std=c++14’ or ‘-std=gnu++14’
- /usr/local/include/google/protobuf/arena_align.h:209:18: error: ‘ArenaAlignOf’ function uses ‘auto’ type specifier without trailing return type
- 209 | inline constexpr auto ArenaAlignOf() {
- | ^~~~
- /usr/local/include/google/protobuf/arena_align.h:209:18: note: deduced return type only available with ‘-std=c++14’ or ‘-std=gnu++14’
- In file included from ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:24,
- from ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.cc:4:
- /usr/local/include/google/protobuf/arena.h: In member function ‘void google::protobuf::Arena::Own(T*)’:
- /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’?
- 363 | std::conditional_t<std::is_convertible<T*, MessageLite*>::value,
- | ^~~~~~~~~~~~~
- | conditional
- /usr/local/include/google/protobuf/arena.h:366:36: error: ‘TypeToUse’ does not name a type
- 366 | impl_.AddCleanup(static_cast<TypeToUse*>(object),
- | ^~~~~~~~~
- /usr/local/include/google/protobuf/arena.h:366:45: error: expected ‘>’ before ‘*’ token
- 366 | impl_.AddCleanup(static_cast<TypeToUse*>(object),
- | ^
- /usr/local/include/google/protobuf/arena.h:366:45: error: expected ‘(’ before ‘*’ token
- /usr/local/include/google/protobuf/arena.h:366:46: error: expected primary-expression before ‘>’ token
- 366 | impl_.AddCleanup(static_cast<TypeToUse*>(object),
- | ^
- /usr/local/include/google/protobuf/arena.h:367:55: error: ‘TypeToUse’ was not declared in this scope
- 367 | &internal::arena_delete_object<TypeToUse>);
- | ^~~~~~~~~
- In file included from /usr/local/include/google/protobuf/generated_message_table_driven.h:34,
- from ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:26,
- from ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.cc:4:
- /usr/local/include/google/protobuf/map.h: At global scope:
- /usr/local/include/google/protobuf/map.h:203:31: error: ‘enable_if_t’ is not a member of ‘std’
- 203 | struct KeyForBaseImpl<T, std::enable_if_t<std::is_integral<T>::value &&
- | ^~~~~~~~~~~
- /usr/local/include/google/protobuf/map.h:203:31: note: ‘std::enable_if_t’ is only available from C++14 onwards
- /usr/local/include/google/protobuf/map.h:203:31: error: ‘enable_if_t’ is not a member of ‘std’
- /usr/local/include/google/protobuf/map.h:203:31: note: ‘std::enable_if_t’ is only available from C++14 onwards
- /usr/local/include/google/protobuf/map.h:204:62: error: type/value mismatch at argument 2 in template parameter list for ‘template<class T, class> struct google::protobuf::internal::KeyForBaseImpl’
- 204 | std::is_signed<T>::value>> {
- | ^~~~~
- /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)’
- /usr/local/include/google/protobuf/map.h:204:67: error: expected unqualified-id before ‘>’ token
- 204 | std::is_signed<T>::value>> {
- | ^~
- /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’?
- 300 | using KeyForTree = std::conditional_t<std::is_integral<T>::value, uint64_t,
- | ^~~~~~~~~~~~~
- | conditional
- /usr/local/include/google/protobuf/map.h:305:10: error: ‘conditional_t’ is not a member of ‘std’; did you mean ‘conditional’?
- 305 | std::conditional_t<std::is_integral<T>::value, uint64_t, T>>::less;
- | ^~~~~~~~~~~~~
- | conditional
- /usr/local/include/google/protobuf/map.h:305:10: error: ‘conditional_t’ is not a member of ‘std’; did you mean ‘conditional’?
- 305 | std::conditional_t<std::is_integral<T>::value, uint64_t, T>>::less;
- | ^~~~~~~~~~~~~
- | conditional
- /usr/local/include/google/protobuf/map.h:305:62: error: wrong number of template arguments (3, should be 1)
- 305 | std::conditional_t<std::is_integral<T>::value, uint64_t, T>>::less;
- | ^
- /usr/local/include/google/protobuf/map.h:214:8: note: provided for ‘template<class key_type> struct google::protobuf::internal::TransparentSupport’
- 214 | struct TransparentSupport {
- | ^~~~~~~~~~~~~~~~~~
- /usr/local/include/google/protobuf/map.h:304:30: error: expected nested-name-specifier
- 304 | using LessForTree = typename TransparentSupport<
- | ^~~~~~~~~~~~~~~~~~~
- 305 | std::conditional_t<std::is_integral<T>::value, uint64_t, T>>::less;
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/local/include/google/protobuf/map.h:309:14: error: ‘KeyForTree’ was not declared in this scope; did you mean ‘KeyForBase’?
- 309 | std::map<KeyForTree<Key>, NodeBase*, LessForTree<Key>,
- | ^~~~~~~~~~
- | KeyForBase
- /usr/local/include/google/protobuf/map.h:309:28: error: wrong number of template arguments (1, should be at least 2)
- 309 | std::map<KeyForTree<Key>, NodeBase*, LessForTree<Key>,
- | ^
- In file included from /usr/include/c++/11/map:61,
- from /usr/local/include/google/protobuf/stubs/common.h:40,
- from /usr/local/include/google/protobuf/io/coded_stream.h:130,
- from ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:23,
- from ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.cc:4:
- /usr/include/c++/11/bits/stl_map.h:100:11: note: provided for ‘template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map’
- 100 | class map
- | ^~~
- In file included from /usr/local/include/google/protobuf/generated_message_table_driven.h:34,
- from ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:26,
- from ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.cc:4:
- /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)’:
- /usr/local/include/google/protobuf/map.h:383:20: error: ‘TreeForMap’ does not name a type
- 383 | using Tree = TreeForMap<Key>;
- | ^~~~~~~~~~
- /usr/local/include/google/protobuf/map.h:384:7: error: ‘Tree’ was not declared in this scope; did you mean ‘free’?
- 384 | Tree* tree = TableEntryToTree<Tree>(table[b]);
- | ^~~~
- | free
- /usr/local/include/google/protobuf/map.h:384:13: error: ‘tree’ was not declared in this scope; did you mean ‘free’?
- 384 | Tree* tree = TableEntryToTree<Tree>(table[b]);
- | ^~~~
- | free
- /usr/local/include/google/protobuf/map.h:384:42: error: no matching function for call to ‘TableEntryToTree<Tree>(google::protobuf::internal::TableEntryPtr&)’
- 384 | Tree* tree = TableEntryToTree<Tree>(table[b]);
- | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
- /usr/local/include/google/protobuf/map.h:342:7: note: candidate: ‘template<class Tree> Tree* google::protobuf::internal::TableEntryToTree(google::protobuf::internal::TableEntryPtr)’
- 342 | Tree* TableEntryToTree(TableEntryPtr entry) {
- | ^~~~~~~~~~~~~~~~
- /usr/local/include/google/protobuf/map.h:342:7: note: template argument deduction/substitution failed:
- /usr/local/include/google/protobuf/map.h:388:32: error: ‘Tree’ is not a class, namespace, or enumeration
- 388 | (sizeof(typename Tree::value_type) + sizeof(void*) * 4);
- | ^~~~
- /usr/local/include/google/protobuf/map.h:388:48: error: expected ‘(’ before ‘)’ token
- 388 | (sizeof(typename Tree::value_type) + sizeof(void*) * 4);
- | ^
- | (
- /usr/local/include/google/protobuf/map.h: At global scope:
- /usr/local/include/google/protobuf/map.h:410:28: error: ‘std::enable_if_t’ has not been declared
- 410 | template <typename T, std::enable_if_t<std::is_integral<T>::value, int> = 0>
- | ^~~~~~~~~~~
- /usr/local/include/google/protobuf/map.h:410:39: error: expected ‘>’ before ‘<’ token
- 410 | template <typename T, std::enable_if_t<std::is_integral<T>::value, int> = 0>
- | ^
- /usr/local/include/google/protobuf/map.h:417:28: error: ‘std::enable_if_t’ has not been declared
- 417 | template <typename T, std::enable_if_t<!std::is_integral<T>::value, int> = 0>
- | ^~~~~~~~~~~
- /usr/local/include/google/protobuf/map.h:417:39: error: expected ‘>’ before ‘<’ token
- 417 | template <typename T, std::enable_if_t<!std::is_integral<T>::value, int> = 0>
- | ^
- /usr/local/include/google/protobuf/map.h:448:5: error: ‘decltype(auto)’ type specifier only available with ‘-std=c++14’ or ‘-std=gnu++14’
- 448 | decltype(auto) key() const {
- | ^~~~~~~~
- /usr/local/include/google/protobuf/map.h:458:26: error: ‘TreeForMap’ in namespace ‘google::protobuf::internal’ does not name a template type
- 458 | using Tree = internal::TreeForMap<Key>;
- | ^~~~~~~~~~
- /usr/local/include/google/protobuf/map.h:459:33: error: ‘Tree’ has not been declared
- 459 | using TreeIterator = typename Tree::iterator;
- | ^~~~
- /usr/local/include/google/protobuf/map.h:479:33: error: expected ‘)’ before ‘tree_it’
- 479 | KeyIteratorBase(TreeIterator tree_it, const KeyMapBase* m, size_type index)
- | ~ ^~~~~~~~
- | )
- /usr/local/include/google/protobuf/map.h:584:40: error: ‘TreeIterator’ has not been declared
- 584 | NodeAndBucket FindHelper(const K& k, TreeIterator* it = nullptr) const {
- | ^~~~~~~~~~~~
- /usr/local/include/google/protobuf/map.h:755:21: error: ‘Tree’ has not been declared
- 755 | void TransferTree(Tree* tree) {
- | ^~~~
- /usr/local/include/google/protobuf/map.h:794:41: error: ‘Tree’ has not been declared
- 794 | size_type CopyListToTree(size_type b, Tree* tree) {
- | ^~~~
- /usr/local/include/google/protobuf/map.h:848:20: error: ‘Tree’ has not been declared
- 848 | void DestroyTree(Tree* tree) {
- | ^~~~
- /usr/local/include/google/protobuf/map.h:894:32: error: ‘TreeIterator’ has not been declared
- 894 | TreeIterator* it) const {
- | ^~~~~~~~~~~~
- /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)’:
- /usr/local/include/google/protobuf/map.h:494:11: error: ‘Tree’ was not declared in this scope; did you mean ‘free’?
- 494 | Tree* tree = TableEntryToTree<Tree>(entry);
- | ^~~~
- | free
- /usr/local/include/google/protobuf/map.h:494:17: error: ‘tree’ was not declared in this scope; did you mean ‘free’?
- 494 | Tree* tree = TableEntryToTree<Tree>(entry);
- | ^~~~
- | free
- /usr/local/include/google/protobuf/map.h:494:46: error: no matching function for call to ‘TableEntryToTree<Tree>(google::protobuf::internal::TableEntryPtr&)’
- 494 | Tree* tree = TableEntryToTree<Tree>(entry);
- | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
- /usr/local/include/google/protobuf/map.h:342:7: note: candidate: ‘template<class Tree> Tree* google::protobuf::internal::TableEntryToTree(google::protobuf::internal::TableEntryPtr)’
- 342 | Tree* TableEntryToTree(TableEntryPtr entry) {
- | ^~~~~~~~~~~~~~~~
- /usr/local/include/google/protobuf/map.h:342:7: note: template argument deduction/substitution failed:
- /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*)’:
- /usr/local/include/google/protobuf/map.h:547:5: error: ‘TreeIterator’ was not declared in this scope; did you mean ‘MapIterator’?
- 547 | TreeIterator tree_it;
- | ^~~~~~~~~~~~
- | MapIterator
- /usr/local/include/google/protobuf/map.h:548:60: error: ‘tree_it’ was not declared in this scope
- 548 | const bool is_list = revalidate_if_necessary(b, node, &tree_it);
- | ^~~~~~~
- /usr/local/include/google/protobuf/map.h:556:7: error: ‘Tree’ was not declared in this scope; did you mean ‘free’?
- 556 | Tree* tree = internal::TableEntryToTree<Tree>(this->table_[b]);
- | ^~~~
- | free
- /usr/local/include/google/protobuf/map.h:556:13: error: ‘tree’ was not declared in this scope; did you mean ‘free’?
- 556 | Tree* tree = internal::TableEntryToTree<Tree>(this->table_[b]);
- | ^~~~
- | free
- /usr/local/include/google/protobuf/map.h:556:52: error: no matching function for call to ‘TableEntryToTree<Tree>(google::protobuf::internal::TableEntryPtr&)’
- 556 | Tree* tree = internal::TableEntryToTree<Tree>(this->table_[b]);
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
- /usr/local/include/google/protobuf/map.h:342:7: note: candidate: ‘template<class Tree> Tree* google::protobuf::internal::TableEntryToTree(google::protobuf::internal::TableEntryPtr)’
- 342 | Tree* TableEntryToTree(TableEntryPtr entry) {
- | ^~~~~~~~~~~~~~~~
- /usr/local/include/google/protobuf/map.h:342:7: note: template argument deduction/substitution failed:
- /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’:
- /usr/local/include/google/protobuf/map.h:597:7: error: ‘Tree’ was not declared in this scope; did you mean ‘free’?
- 597 | Tree* tree = internal::TableEntryToTree<Tree>(table_[b]);
- | ^~~~
- | free
- /usr/local/include/google/protobuf/map.h:597:13: error: ‘tree’ was not declared in this scope; did you mean ‘free’?
- 597 | Tree* tree = internal::TableEntryToTree<Tree>(table_[b]);
- | ^~~~
- | free
- /usr/local/include/google/protobuf/map.h:597:52: error: no matching function for call to ‘TableEntryToTree<Tree>(google::protobuf::internal::TableEntryPtr&)’
- 597 | Tree* tree = internal::TableEntryToTree<Tree>(table_[b]);
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
- /usr/local/include/google/protobuf/map.h:342:7: note: candidate: ‘template<class Tree> Tree* google::protobuf::internal::TableEntryToTree(google::protobuf::internal::TableEntryPtr)’
- 342 | Tree* TableEntryToTree(TableEntryPtr entry) {
- | ^~~~~~~~~~~~~~~~
- /usr/local/include/google/protobuf/map.h:342:7: note: template argument deduction/substitution failed:
- /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*)’:
- /usr/local/include/google/protobuf/map.h:665:35: error: ‘Tree’ was not declared in this scope; did you mean ‘tree’?
- 665 | auto* tree = TableEntryToTree<Tree>(table_[b]);
- | ^~~~
- | tree
- /usr/local/include/google/protobuf/map.h: In member function ‘void google::protobuf::internal::KeyMapBase<Key>::Resize(size_t)’:
- /usr/local/include/google/protobuf/map.h:739:39: error: ‘Tree’ was not declared in this scope; did you mean ‘free’?
- 739 | TransferTree(TableEntryToTree<Tree>(old_table[i]));
- | ^~~~
- | free
- /usr/local/include/google/protobuf/map.h: In member function ‘void google::protobuf::internal::KeyMapBase<Key>::TransferTree(int*)’:
- /usr/local/include/google/protobuf/map.h:756:24: error: request for member ‘begin’ in ‘tree->’, which is of non-class type ‘int’
- 756 | auto* node = tree->begin()->second;
- | ^~~~~
- /usr/local/include/google/protobuf/map.h: In member function ‘void google::protobuf::internal::KeyMapBase<Key>::TreeConvert(google::protobuf::internal::KeyMapBase<Key>::size_type)’:
- /usr/local/include/google/protobuf/map.h:776:5: error: ‘Tree’ was not declared in this scope; did you mean ‘free’?
- 776 | Tree* tree =
- | ^~~~
- | free
- /usr/local/include/google/protobuf/map.h:776:11: error: ‘tree’ was not declared in this scope; did you mean ‘free’?
- 776 | Tree* tree =
- | ^~~~
- | free
- /usr/local/include/google/protobuf/map.h:777:54: error: ‘Tree’ is not a class, namespace, or enumeration
- 777 | Arena::Create<Tree>(alloc_.arena(), typename Tree::key_compare(),
- | ^~~~
- /usr/local/include/google/protobuf/map.h:778:38: error: ‘Tree’ is not a class, namespace, or enumeration
- 778 | typename Tree::allocator_type(alloc_));
- | ^~~~
- /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*)’:
- /usr/local/include/google/protobuf/map.h:798:13: error: request for member ‘insert’ in ‘tree->’, which is of non-class type ‘int’
- 798 | tree->insert({static_cast<KeyNode*>(node)->key(), node});
- | ^~~~~~
- /usr/local/include/google/protobuf/map.h: At global scope:
- /usr/local/include/google/protobuf/map.h:1094:28: error: ‘TreeForMap’ in namespace ‘google::protobuf::internal’ does not name a template type
- 1094 | using Tree = internal::TreeForMap<Key>;
- | ^~~~~~~~~~
- /usr/local/include/google/protobuf/map.h:1095:35: error: ‘Tree’ has not been declared
- 1095 | using TreeIterator = typename Tree::iterator;
- | ^~~~
- /usr/local/include/google/protobuf/map.h:1097:39: error: ‘TreeIterator’ has not been declared
- 1097 | static Node* NodeFromTreeIterator(TreeIterator it) {
- | ^~~~~~~~~~~~
- /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)’:
- /usr/local/include/google/protobuf/map.h:1101:35: error: base operand of ‘->’ is not a pointer
- 1101 | return static_cast<Node*>(it->second);
- | ^~
- /usr/local/include/google/protobuf/map.h: In member function ‘void google::protobuf::Map<Key, T>::InnerMap::clear()’:
- /usr/local/include/google/protobuf/map.h:1144:11: error: ‘Tree’ was not declared in this scope; did you mean ‘free’?
- 1144 | Tree* tree = internal::TableEntryToTree<Tree>(this->table_[b]);
- | ^~~~
- | free
- /usr/local/include/google/protobuf/map.h:1144:17: error: ‘tree’ was not declared in this scope; did you mean ‘free’?
- 1144 | Tree* tree = internal::TableEntryToTree<Tree>(this->table_[b]);
- | ^~~~
- | free
- In file included from ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:26,
- from ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.cc:4:
- /usr/local/include/google/protobuf/generated_message_table_driven.h: At global scope:
- /usr/local/include/google/protobuf/generated_message_table_driven.h:287:25: error: ‘MapEntryHelper’ does not name a type; did you mean ‘MapEntryLite’?
- 287 | bool operator()(const MapEntryHelper<T>& a,
- | ^~~~~~~~~~~~~~
- | MapEntryLite
- /usr/local/include/google/protobuf/generated_message_table_driven.h:287:39: error: expected ‘,’ or ‘...’ before ‘<’ token
- 287 | bool operator()(const MapEntryHelper<T>& a,
- | ^
- /usr/local/include/google/protobuf/generated_message_table_driven.h: In member function ‘bool google::protobuf::internal::CompareMapKey::operator()(int) const’:
- /usr/local/include/google/protobuf/generated_message_table_driven.h:289:20: error: ‘a’ was not declared in this scope
- 289 | return Compare(a.key_, b.key_);
- | ^
- /usr/local/include/google/protobuf/generated_message_table_driven.h:289:28: error: ‘b’ was not declared in this scope
- 289 | return Compare(a.key_, b.key_);
- | ^
- /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*)’:
- /usr/local/include/google/protobuf/generated_message_table_driven.h:300:11: error: ‘MapEntryHelper’ does not name a type; did you mean ‘MapEntryLite’?
- 300 | typedef MapEntryHelper<typename MapFieldType::EntryTypeTrait> Entry;
- | ^~~~~~~~~~~~~~
- | MapEntryLite
- /usr/local/include/google/protobuf/generated_message_table_driven.h:311:7: error: ‘Entry’ was not declared in this scope; did you mean ‘MapEntry’?
- 311 | Entry map_entry(*it);
- | ^~~~~
- | MapEntry
- /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’?
- 313 | output->WriteVarint32(map_entry._cached_size_);
- | ^~~~~~~~~
- | MapEntry
- /usr/local/include/google/protobuf/generated_message_table_driven.h:318:17: error: ‘Entry’ was not declared in this scope; did you mean ‘MapEntry’?
- 318 | std::vector<Entry> v;
- | ^~~~~
- | MapEntry
- /usr/local/include/google/protobuf/generated_message_table_driven.h:318:22: error: template argument 1 is invalid
- 318 | std::vector<Entry> v;
- | ^
- /usr/local/include/google/protobuf/generated_message_table_driven.h:318:22: error: template argument 2 is invalid
- /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’
- 321 | v.push_back(Entry(*it));
- | ^~~~~~~~~
- /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’
- 323 | std::sort(v.begin(), v.end(), CompareMapKey());
- | ^~~~~
- /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’
- 323 | std::sort(v.begin(), v.end(), CompareMapKey());
- | ^~~
- /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’
- 324 | for (int i = 0; i < v.size(); i++) {
- | ^~~~
- /usr/local/include/google/protobuf/generated_message_table_driven.h:326:30: error: invalid types ‘int[int]’ for array subscript
- 326 | output->WriteVarint32(v[i]._cached_size_);
- | ^
- /usr/local/include/google/protobuf/generated_message_table_driven.h:327:58: error: invalid types ‘int[int]’ for array subscript
- 327 | SerializeInternal(reinterpret_cast<const uint8*>(&v[i]), t->field_table,
- | ^
- In file included from ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.cc:4:
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h: At global scope:
- ....../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’
- 365 | inline bool PriorBoxParameter_CodeType_Parse(
- | ^~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:366:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’
- 366 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PriorBoxParameter_CodeType* value) {
- | ^~~~~~~~~~~~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:366:79: error: expected primary-expression before ‘*’ token
- 366 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PriorBoxParameter_CodeType* value) {
- | ^
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:366:81: error: ‘value’ was not declared in this scope
- 366 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PriorBoxParameter_CodeType* value) {
- | ^~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:366:86: error: expression list treated as compound expression in initializer [-fpermissive]
- 366 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PriorBoxParameter_CodeType* value) {
- | ^
- ....../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’
- 389 | inline bool FillerParameter_VarianceNorm_Parse(
- | ^~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:390:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’
- 390 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FillerParameter_VarianceNorm* value) {
- | ^~~~~~~~~~~~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:390:81: error: expected primary-expression before ‘*’ token
- 390 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FillerParameter_VarianceNorm* value) {
- | ^
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:390:83: error: ‘value’ was not declared in this scope
- 390 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FillerParameter_VarianceNorm* value) {
- | ^~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:390:88: error: expression list treated as compound expression in initializer [-fpermissive]
- 390 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FillerParameter_VarianceNorm* value) {
- | ^
- ....../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’
- 412 | inline bool SolverParameter_SnapshotFormat_Parse(
- | ^~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:413:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’
- 413 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SolverParameter_SnapshotFormat* value) {
- | ^~~~~~~~~~~~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:413:83: error: expected primary-expression before ‘*’ token
- 413 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SolverParameter_SnapshotFormat* value) {
- | ^
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:413:85: error: ‘value’ was not declared in this scope
- 413 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SolverParameter_SnapshotFormat* value) {
- | ^~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:413:90: error: expression list treated as compound expression in initializer [-fpermissive]
- 413 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SolverParameter_SnapshotFormat* value) {
- | ^
- ....../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’
- 435 | inline bool SolverParameter_SolverMode_Parse(
- | ^~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:436:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’
- 436 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SolverParameter_SolverMode* value) {
- | ^~~~~~~~~~~~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:436:79: error: expected primary-expression before ‘*’ token
- 436 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SolverParameter_SolverMode* value) {
- | ^
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:436:81: error: ‘value’ was not declared in this scope
- 436 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SolverParameter_SolverMode* value) {
- | ^~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:436:86: error: expression list treated as compound expression in initializer [-fpermissive]
- 436 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SolverParameter_SolverMode* value) {
- | ^
- ....../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’
- 462 | inline bool SolverParameter_SolverType_Parse(
- | ^~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:463:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’
- 463 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SolverParameter_SolverType* value) {
- | ^~~~~~~~~~~~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:463:79: error: expected primary-expression before ‘*’ token
- 463 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SolverParameter_SolverType* value) {
- | ^
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:463:81: error: ‘value’ was not declared in this scope
- 463 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SolverParameter_SolverType* value) {
- | ^~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:463:86: error: expression list treated as compound expression in initializer [-fpermissive]
- 463 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SolverParameter_SolverType* value) {
- | ^
- ....../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’
- 485 | inline bool ParamSpec_DimCheckMode_Parse(
- | ^~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:486:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’
- 486 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ParamSpec_DimCheckMode* value) {
- | ^~~~~~~~~~~~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:486:75: error: expected primary-expression before ‘*’ token
- 486 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ParamSpec_DimCheckMode* value) {
- | ^
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:486:77: error: ‘value’ was not declared in this scope
- 486 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ParamSpec_DimCheckMode* value) {
- | ^~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:486:82: error: expression list treated as compound expression in initializer [-fpermissive]
- 486 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ParamSpec_DimCheckMode* value) {
- | ^
- ....../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’
- 510 | inline bool LossParameter_NormalizationMode_Parse(
- | ^~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:511:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’
- 511 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LossParameter_NormalizationMode* value) {
- | ^~~~~~~~~~~~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:511:84: error: expected primary-expression before ‘*’ token
- 511 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LossParameter_NormalizationMode* value) {
- | ^
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:511:86: error: ‘value’ was not declared in this scope
- 511 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LossParameter_NormalizationMode* value) {
- | ^~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:511:91: error: expression list treated as compound expression in initializer [-fpermissive]
- 511 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LossParameter_NormalizationMode* value) {
- | ^
- ....../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’
- 534 | inline bool ConvolutionParameter_Engine_Parse(
- | ^~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:535:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’
- 535 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ConvolutionParameter_Engine* value) {
- | ^~~~~~~~~~~~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:535:80: error: expected primary-expression before ‘*’ token
- 535 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ConvolutionParameter_Engine* value) {
- | ^
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:535:82: error: ‘value’ was not declared in this scope
- 535 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ConvolutionParameter_Engine* value) {
- | ^~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:535:87: error: expression list treated as compound expression in initializer [-fpermissive]
- 535 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ConvolutionParameter_Engine* value) {
- | ^
- ....../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’
- 557 | inline bool DataParameter_DB_Parse(
- | ^~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:558:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’
- 558 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DataParameter_DB* value) {
- | ^~~~~~~~~~~~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:558:69: error: expected primary-expression before ‘*’ token
- 558 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DataParameter_DB* value) {
- | ^
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:558:71: error: ‘value’ was not declared in this scope
- 558 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DataParameter_DB* value) {
- | ^~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:558:76: error: expression list treated as compound expression in initializer [-fpermissive]
- 558 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DataParameter_DB* value) {
- | ^
- ....../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’
- 581 | inline bool EltwiseParameter_EltwiseOp_Parse(
- | ^~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:582:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’
- 582 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EltwiseParameter_EltwiseOp* value) {
- | ^~~~~~~~~~~~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:582:79: error: expected primary-expression before ‘*’ token
- 582 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EltwiseParameter_EltwiseOp* value) {
- | ^
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:582:81: error: ‘value’ was not declared in this scope
- 582 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EltwiseParameter_EltwiseOp* value) {
- | ^~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:582:86: error: expression list treated as compound expression in initializer [-fpermissive]
- 582 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EltwiseParameter_EltwiseOp* value) {
- | ^
- ....../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’
- 604 | inline bool HingeLossParameter_Norm_Parse(
- | ^~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:605:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’
- 605 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, HingeLossParameter_Norm* value) {
- | ^~~~~~~~~~~~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:605:76: error: expected primary-expression before ‘*’ token
- 605 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, HingeLossParameter_Norm* value) {
- | ^
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:605:78: error: ‘value’ was not declared in this scope
- 605 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, HingeLossParameter_Norm* value) {
- | ^~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:605:83: error: expression list treated as compound expression in initializer [-fpermissive]
- 605 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, HingeLossParameter_Norm* value) {
- | ^
- ....../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’
- 627 | inline bool LRNParameter_NormRegion_Parse(
- | ^~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:628:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’
- 628 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LRNParameter_NormRegion* value) {
- | ^~~~~~~~~~~~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:628:76: error: expected primary-expression before ‘*’ token
- 628 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LRNParameter_NormRegion* value) {
- | ^
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:628:78: error: ‘value’ was not declared in this scope
- 628 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LRNParameter_NormRegion* value) {
- | ^~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:628:83: error: expression list treated as compound expression in initializer [-fpermissive]
- 628 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LRNParameter_NormRegion* value) {
- | ^
- ....../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’
- 651 | inline bool LRNParameter_Engine_Parse(
- | ^~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:652:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’
- 652 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LRNParameter_Engine* value) {
- | ^~~~~~~~~~~~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:652:72: error: expected primary-expression before ‘*’ token
- 652 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LRNParameter_Engine* value) {
- | ^
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:652:74: error: ‘value’ was not declared in this scope
- 652 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LRNParameter_Engine* value) {
- | ^~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:652:79: error: expression list treated as compound expression in initializer [-fpermissive]
- 652 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LRNParameter_Engine* value) {
- | ^
- ....../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’
- 675 | inline bool PoolingParameter_PoolMethod_Parse(
- | ^~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:676:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’
- 676 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PoolingParameter_PoolMethod* value) {
- | ^~~~~~~~~~~~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:676:80: error: expected primary-expression before ‘*’ token
- 676 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PoolingParameter_PoolMethod* value) {
- | ^
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:676:82: error: ‘value’ was not declared in this scope
- 676 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PoolingParameter_PoolMethod* value) {
- | ^~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:676:87: error: expression list treated as compound expression in initializer [-fpermissive]
- 676 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PoolingParameter_PoolMethod* value) {
- | ^
- ....../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’
- 699 | inline bool PoolingParameter_Engine_Parse(
- | ^~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:700:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’
- 700 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PoolingParameter_Engine* value) {
- | ^~~~~~~~~~~~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:700:76: error: expected primary-expression before ‘*’ token
- 700 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PoolingParameter_Engine* value) {
- | ^
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:700:78: error: ‘value’ was not declared in this scope
- 700 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PoolingParameter_Engine* value) {
- | ^~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:700:83: error: expression list treated as compound expression in initializer [-fpermissive]
- 700 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PoolingParameter_Engine* value) {
- | ^
- ....../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’
- 724 | inline bool ReductionParameter_ReductionOp_Parse(
- | ^~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:725:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’
- 725 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ReductionParameter_ReductionOp* value) {
- | ^~~~~~~~~~~~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:725:83: error: expected primary-expression before ‘*’ token
- 725 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ReductionParameter_ReductionOp* value) {
- | ^
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:725:85: error: ‘value’ was not declared in this scope
- 725 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ReductionParameter_ReductionOp* value) {
- | ^~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:725:90: error: expression list treated as compound expression in initializer [-fpermissive]
- 725 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ReductionParameter_ReductionOp* value) {
- | ^
- ....../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’
- 748 | inline bool ReLUParameter_Engine_Parse(
- | ^~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:749:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’
- 749 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ReLUParameter_Engine* value) {
- | ^~~~~~~~~~~~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:749:73: error: expected primary-expression before ‘*’ token
- 749 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ReLUParameter_Engine* value) {
- | ^
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:749:75: error: ‘value’ was not declared in this scope
- 749 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ReLUParameter_Engine* value) {
- | ^~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:749:80: error: expression list treated as compound expression in initializer [-fpermissive]
- 749 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ReLUParameter_Engine* value) {
- | ^
- ....../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’
- 772 | inline bool SigmoidParameter_Engine_Parse(
- | ^~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:773:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’
- 773 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SigmoidParameter_Engine* value) {
- | ^~~~~~~~~~~~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:773:76: error: expected primary-expression before ‘*’ token
- 773 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SigmoidParameter_Engine* value) {
- | ^
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:773:78: error: ‘value’ was not declared in this scope
- 773 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SigmoidParameter_Engine* value) {
- | ^~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:773:83: error: expression list treated as compound expression in initializer [-fpermissive]
- 773 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SigmoidParameter_Engine* value) {
- | ^
- ....../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’
- 796 | inline bool SoftmaxParameter_Engine_Parse(
- | ^~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:797:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’
- 797 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SoftmaxParameter_Engine* value) {
- | ^~~~~~~~~~~~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:797:76: error: expected primary-expression before ‘*’ token
- 797 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SoftmaxParameter_Engine* value) {
- | ^
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:797:78: error: ‘value’ was not declared in this scope
- 797 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SoftmaxParameter_Engine* value) {
- | ^~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:797:83: error: expression list treated as compound expression in initializer [-fpermissive]
- 797 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SoftmaxParameter_Engine* value) {
- | ^
- ....../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’
- 820 | inline bool TanHParameter_Engine_Parse(
- | ^~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:821:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’
- 821 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TanHParameter_Engine* value) {
- | ^~~~~~~~~~~~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:821:73: error: expected primary-expression before ‘*’ token
- 821 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TanHParameter_Engine* value) {
- | ^
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:821:75: error: ‘value’ was not declared in this scope
- 821 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TanHParameter_Engine* value) {
- | ^~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:821:80: error: expression list treated as compound expression in initializer [-fpermissive]
- 821 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TanHParameter_Engine* value) {
- | ^
- ....../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’
- 844 | inline bool SPPParameter_PoolMethod_Parse(
- | ^~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:845:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’
- 845 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SPPParameter_PoolMethod* value) {
- | ^~~~~~~~~~~~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:845:76: error: expected primary-expression before ‘*’ token
- 845 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SPPParameter_PoolMethod* value) {
- | ^
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:845:78: error: ‘value’ was not declared in this scope
- 845 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SPPParameter_PoolMethod* value) {
- | ^~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:845:83: error: expression list treated as compound expression in initializer [-fpermissive]
- 845 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SPPParameter_PoolMethod* value) {
- | ^
- ....../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’
- 868 | inline bool SPPParameter_Engine_Parse(
- | ^~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:869:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’
- 869 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SPPParameter_Engine* value) {
- | ^~~~~~~~~~~~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:869:72: error: expected primary-expression before ‘*’ token
- 869 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SPPParameter_Engine* value) {
- | ^
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:869:74: error: ‘value’ was not declared in this scope
- 869 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SPPParameter_Engine* value) {
- | ^~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:869:79: error: expression list treated as compound expression in initializer [-fpermissive]
- 869 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SPPParameter_Engine* value) {
- | ^
- ....../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’
- 929 | inline bool V1LayerParameter_LayerType_Parse(
- | ^~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:930:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’
- 930 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, V1LayerParameter_LayerType* value) {
- | ^~~~~~~~~~~~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:930:79: error: expected primary-expression before ‘*’ token
- 930 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, V1LayerParameter_LayerType* value) {
- | ^
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:930:81: error: ‘value’ was not declared in this scope
- 930 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, V1LayerParameter_LayerType* value) {
- | ^~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:930:86: error: expression list treated as compound expression in initializer [-fpermissive]
- 930 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, V1LayerParameter_LayerType* value) {
- | ^
- ....../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’
- 952 | inline bool V1LayerParameter_DimCheckMode_Parse(
- | ^~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:953:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’
- 953 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, V1LayerParameter_DimCheckMode* value) {
- | ^~~~~~~~~~~~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:953:82: error: expected primary-expression before ‘*’ token
- 953 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, V1LayerParameter_DimCheckMode* value) {
- | ^
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:953:84: error: ‘value’ was not declared in this scope
- 953 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, V1LayerParameter_DimCheckMode* value) {
- | ^~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:953:89: error: expression list treated as compound expression in initializer [-fpermissive]
- 953 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, V1LayerParameter_DimCheckMode* value) {
- | ^
- ....../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’
- 976 | inline bool V0LayerParameter_PoolMethod_Parse(
- | ^~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:977:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’
- 977 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, V0LayerParameter_PoolMethod* value) {
- | ^~~~~~~~~~~~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:977:80: error: expected primary-expression before ‘*’ token
- 977 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, V0LayerParameter_PoolMethod* value) {
- | ^
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:977:82: error: ‘value’ was not declared in this scope
- 977 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, V0LayerParameter_PoolMethod* value) {
- | ^~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:977:87: error: expression list treated as compound expression in initializer [-fpermissive]
- 977 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, V0LayerParameter_PoolMethod* value) {
- | ^
- ....../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’
- 1002 | inline bool Type_Parse(
- | ^~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:1003:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’
- 1003 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Type* value) {
- | ^~~~~~~~~~~~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:1003:57: error: expected primary-expression before ‘*’ token
- 1003 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Type* value) {
- | ^
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:1003:59: error: ‘value’ was not declared in this scope
- 1003 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Type* value) {
- | ^~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:1003:64: error: expression list treated as compound expression in initializer [-fpermissive]
- 1003 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Type* value) {
- | ^
- ....../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’
- 1025 | inline bool Phase_Parse(
- | ^~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:1026:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’
- 1026 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Phase* value) {
- | ^~~~~~~~~~~~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:1026:58: error: expected primary-expression before ‘*’ token
- 1026 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Phase* value) {
- | ^
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:1026:60: error: ‘value’ was not declared in this scope
- 1026 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Phase* value) {
- | ^~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:1026:65: error: expression list treated as compound expression in initializer [-fpermissive]
- 1026 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Phase* value) {
- | ^
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:1140:35: error: ‘StringPiece’ in namespace ‘google::protobuf’ does not name a type
- 1140 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- | ^~~~~~~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:1307:35: error: ‘StringPiece’ in namespace ‘google::protobuf’ does not name a type
- 1307 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- | ^~~~~~~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:1661:35: error: ‘StringPiece’ in namespace ‘google::protobuf’ does not name a type
- 1661 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- | ^~~~~~~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:1823:35: error: ‘StringPiece’ in namespace ‘google::protobuf’ does not name a type
- 1823 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- | ^~~~~~~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:1989:35: error: ‘StringPiece’ in namespace ‘google::protobuf’ does not name a type
- 1989 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- | ^~~~~~~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:2197:35: error: ‘StringPiece’ in namespace ‘google::protobuf’ does not name a type
- 2197 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- | ^~~~~~~~~~~
- ....../opencv/modules/dnn/misc/caffe/opencv-caffe.pb.h:2240:62: error: ‘google::protobuf::ConstStringParam’ has not been declared
- 2240 | static inline bool CodeType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
- | ^~~~~~~~~~~~~~~~
- ^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
- make[1]: *** [CMakeFiles/Makefile2:4200: modules/dnn/CMakeFiles/opencv_dnn.dir/all] Interrupt
- make: *** [Makefile:169: all] Interrupt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement