In file included from /usr/include/caffe/blob.hpp:9, from /usr/include/caffe/caffe.hpp:7, from test.cpp:2: /usr/include/caffe/proto/caffe.pb.h:49:51: error: ‘AuxiliaryParseTableField’ in namespace ‘google::protobuf::internal’ does not name a type; did you mean ‘AuxillaryParseTableField’? 49 | static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] | ^~~~~~~~~~~~~~~~~~~~~~~~ | AuxillaryParseTableField /usr/include/caffe/proto/caffe.pb.h:336:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’ 336 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FillerParameter_VarianceNorm* value) { | ^~~~~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h:336:81: error: expected primary-expression before ‘*’ token 336 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FillerParameter_VarianceNorm* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:336:83: error: ‘value’ was not declared in this scope 336 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FillerParameter_VarianceNorm* value) { | ^~~~~ /usr/include/caffe/proto/caffe.pb.h:336:88: error: expression list treated as compound expression in initializer [-fpermissive] 336 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FillerParameter_VarianceNorm* value) { | ^ In file included from /usr/include/caffe/blob.hpp:9, from /usr/include/caffe/caffe.hpp:7, from test.cpp:2: /usr/include/caffe/proto/caffe.pb.h:359:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’ 359 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SolverParameter_SnapshotFormat* value) { | ^~~~~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h:359:83: error: expected primary-expression before ‘*’ token 359 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SolverParameter_SnapshotFormat* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:359:85: error: ‘value’ was not declared in this scope 359 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SolverParameter_SnapshotFormat* value) { | ^~~~~ /usr/include/caffe/proto/caffe.pb.h:359:90: error: expression list treated as compound expression in initializer [-fpermissive] 359 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SolverParameter_SnapshotFormat* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:382:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’ 382 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SolverParameter_SolverMode* value) { | ^~~~~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h:382:79: error: expected primary-expression before ‘*’ token 382 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SolverParameter_SolverMode* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:382:81: error: ‘value’ was not declared in this scope 382 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SolverParameter_SolverMode* value) { | ^~~~~ /usr/include/caffe/proto/caffe.pb.h:382:86: error: expression list treated as compound expression in initializer [-fpermissive] 382 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SolverParameter_SolverMode* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:409:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’ 409 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SolverParameter_SolverType* value) { | ^~~~~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h:409:79: error: expected primary-expression before ‘*’ token 409 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SolverParameter_SolverType* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:409:81: error: ‘value’ was not declared in this scope 409 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SolverParameter_SolverType* value) { | ^~~~~ /usr/include/caffe/proto/caffe.pb.h:409:86: error: expression list treated as compound expression in initializer [-fpermissive] 409 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SolverParameter_SolverType* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:432:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’ 432 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ParamSpec_DimCheckMode* value) { | ^~~~~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h:432:75: error: expected primary-expression before ‘*’ token 432 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ParamSpec_DimCheckMode* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:432:77: error: ‘value’ was not declared in this scope 432 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ParamSpec_DimCheckMode* value) { | ^~~~~ /usr/include/caffe/proto/caffe.pb.h:432:82: error: expression list treated as compound expression in initializer [-fpermissive] 432 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ParamSpec_DimCheckMode* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:457:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’ 457 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LossParameter_NormalizationMode* value) { | ^~~~~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h:457:84: error: expected primary-expression before ‘*’ token 457 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LossParameter_NormalizationMode* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:457:86: error: ‘value’ was not declared in this scope 457 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LossParameter_NormalizationMode* value) { | ^~~~~ /usr/include/caffe/proto/caffe.pb.h:457:91: error: expression list treated as compound expression in initializer [-fpermissive] 457 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LossParameter_NormalizationMode* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:481:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’ 481 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ConvolutionParameter_Engine* value) { | ^~~~~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h:481:80: error: expected primary-expression before ‘*’ token 481 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ConvolutionParameter_Engine* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:481:82: error: ‘value’ was not declared in this scope 481 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ConvolutionParameter_Engine* value) { | ^~~~~ /usr/include/caffe/proto/caffe.pb.h:481:87: error: expression list treated as compound expression in initializer [-fpermissive] 481 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ConvolutionParameter_Engine* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:504:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’ 504 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DataParameter_DB* value) { | ^~~~~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h:504:69: error: expected primary-expression before ‘*’ token 504 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DataParameter_DB* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:504:71: error: ‘value’ was not declared in this scope 504 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DataParameter_DB* value) { | ^~~~~ /usr/include/caffe/proto/caffe.pb.h:504:76: error: expression list treated as compound expression in initializer [-fpermissive] 504 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DataParameter_DB* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:528:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’ 528 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EltwiseParameter_EltwiseOp* value) { | ^~~~~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h:528:79: error: expected primary-expression before ‘*’ token 528 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EltwiseParameter_EltwiseOp* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:528:81: error: ‘value’ was not declared in this scope 528 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EltwiseParameter_EltwiseOp* value) { | ^~~~~ /usr/include/caffe/proto/caffe.pb.h:528:86: error: expression list treated as compound expression in initializer [-fpermissive] 528 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EltwiseParameter_EltwiseOp* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:551:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’ 551 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, HingeLossParameter_Norm* value) { | ^~~~~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h:551:76: error: expected primary-expression before ‘*’ token 551 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, HingeLossParameter_Norm* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:551:78: error: ‘value’ was not declared in this scope 551 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, HingeLossParameter_Norm* value) { | ^~~~~ /usr/include/caffe/proto/caffe.pb.h:551:83: error: expression list treated as compound expression in initializer [-fpermissive] 551 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, HingeLossParameter_Norm* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:574:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’ 574 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LRNParameter_NormRegion* value) { | ^~~~~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h:574:76: error: expected primary-expression before ‘*’ token 574 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LRNParameter_NormRegion* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:574:78: error: ‘value’ was not declared in this scope 574 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LRNParameter_NormRegion* value) { | ^~~~~ /usr/include/caffe/proto/caffe.pb.h:574:83: error: expression list treated as compound expression in initializer [-fpermissive] 574 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LRNParameter_NormRegion* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:598:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’ 598 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LRNParameter_Engine* value) { | ^~~~~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h:598:72: error: expected primary-expression before ‘*’ token 598 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LRNParameter_Engine* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:598:74: error: ‘value’ was not declared in this scope 598 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LRNParameter_Engine* value) { | ^~~~~ /usr/include/caffe/proto/caffe.pb.h:598:79: error: expression list treated as compound expression in initializer [-fpermissive] 598 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LRNParameter_Engine* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:622:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’ 622 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PoolingParameter_PoolMethod* value) { | ^~~~~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h:622:80: error: expected primary-expression before ‘*’ token 622 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PoolingParameter_PoolMethod* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:622:82: error: ‘value’ was not declared in this scope 622 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PoolingParameter_PoolMethod* value) { | ^~~~~ /usr/include/caffe/proto/caffe.pb.h:622:87: error: expression list treated as compound expression in initializer [-fpermissive] 622 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PoolingParameter_PoolMethod* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:646:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’ 646 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PoolingParameter_Engine* value) { | ^~~~~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h:646:76: error: expected primary-expression before ‘*’ token 646 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PoolingParameter_Engine* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:646:78: error: ‘value’ was not declared in this scope 646 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PoolingParameter_Engine* value) { | ^~~~~ /usr/include/caffe/proto/caffe.pb.h:646:83: error: expression list treated as compound expression in initializer [-fpermissive] 646 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PoolingParameter_Engine* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:669:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’ 669 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PoolingParameter_RoundMode* value) { | ^~~~~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h:669:79: error: expected primary-expression before ‘*’ token 669 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PoolingParameter_RoundMode* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:669:81: error: ‘value’ was not declared in this scope 669 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PoolingParameter_RoundMode* value) { | ^~~~~ /usr/include/caffe/proto/caffe.pb.h:669:86: error: expression list treated as compound expression in initializer [-fpermissive] 669 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PoolingParameter_RoundMode* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:694:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’ 694 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ReductionParameter_ReductionOp* value) { | ^~~~~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h:694:83: error: expected primary-expression before ‘*’ token 694 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ReductionParameter_ReductionOp* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:694:85: error: ‘value’ was not declared in this scope 694 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ReductionParameter_ReductionOp* value) { | ^~~~~ /usr/include/caffe/proto/caffe.pb.h:694:90: error: expression list treated as compound expression in initializer [-fpermissive] 694 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ReductionParameter_ReductionOp* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:718:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’ 718 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ReLUParameter_Engine* value) { | ^~~~~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h:718:73: error: expected primary-expression before ‘*’ token 718 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ReLUParameter_Engine* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:718:75: error: ‘value’ was not declared in this scope 718 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ReLUParameter_Engine* value) { | ^~~~~ /usr/include/caffe/proto/caffe.pb.h:718:80: error: expression list treated as compound expression in initializer [-fpermissive] 718 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ReLUParameter_Engine* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:742:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’ 742 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SigmoidParameter_Engine* value) { | ^~~~~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h:742:76: error: expected primary-expression before ‘*’ token 742 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SigmoidParameter_Engine* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:742:78: error: ‘value’ was not declared in this scope 742 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SigmoidParameter_Engine* value) { | ^~~~~ /usr/include/caffe/proto/caffe.pb.h:742:83: error: expression list treated as compound expression in initializer [-fpermissive] 742 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SigmoidParameter_Engine* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:766:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’ 766 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SoftmaxParameter_Engine* value) { | ^~~~~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h:766:76: error: expected primary-expression before ‘*’ token 766 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SoftmaxParameter_Engine* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:766:78: error: ‘value’ was not declared in this scope 766 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SoftmaxParameter_Engine* value) { | ^~~~~ /usr/include/caffe/proto/caffe.pb.h:766:83: error: expression list treated as compound expression in initializer [-fpermissive] 766 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SoftmaxParameter_Engine* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:790:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’ 790 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TanHParameter_Engine* value) { | ^~~~~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h:790:73: error: expected primary-expression before ‘*’ token 790 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TanHParameter_Engine* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:790:75: error: ‘value’ was not declared in this scope 790 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TanHParameter_Engine* value) { | ^~~~~ /usr/include/caffe/proto/caffe.pb.h:790:80: error: expression list treated as compound expression in initializer [-fpermissive] 790 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TanHParameter_Engine* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:814:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’ 814 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SPPParameter_PoolMethod* value) { | ^~~~~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h:814:76: error: expected primary-expression before ‘*’ token 814 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SPPParameter_PoolMethod* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:814:78: error: ‘value’ was not declared in this scope 814 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SPPParameter_PoolMethod* value) { | ^~~~~ /usr/include/caffe/proto/caffe.pb.h:814:83: error: expression list treated as compound expression in initializer [-fpermissive] 814 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SPPParameter_PoolMethod* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:838:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’ 838 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SPPParameter_Engine* value) { | ^~~~~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h:838:72: error: expected primary-expression before ‘*’ token 838 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SPPParameter_Engine* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:838:74: error: ‘value’ was not declared in this scope 838 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SPPParameter_Engine* value) { | ^~~~~ /usr/include/caffe/proto/caffe.pb.h:838:79: error: expression list treated as compound expression in initializer [-fpermissive] 838 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SPPParameter_Engine* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:899:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’ 899 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, V1LayerParameter_LayerType* value) { | ^~~~~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h:899:79: error: expected primary-expression before ‘*’ token 899 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, V1LayerParameter_LayerType* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:899:81: error: ‘value’ was not declared in this scope 899 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, V1LayerParameter_LayerType* value) { | ^~~~~ /usr/include/caffe/proto/caffe.pb.h:899:86: error: expression list treated as compound expression in initializer [-fpermissive] 899 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, V1LayerParameter_LayerType* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:922:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’ 922 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, V1LayerParameter_DimCheckMode* value) { | ^~~~~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h:922:82: error: expected primary-expression before ‘*’ token 922 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, V1LayerParameter_DimCheckMode* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:922:84: error: ‘value’ was not declared in this scope 922 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, V1LayerParameter_DimCheckMode* value) { | ^~~~~ /usr/include/caffe/proto/caffe.pb.h:922:89: error: expression list treated as compound expression in initializer [-fpermissive] 922 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, V1LayerParameter_DimCheckMode* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:946:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’ 946 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, V0LayerParameter_PoolMethod* value) { | ^~~~~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h:946:80: error: expected primary-expression before ‘*’ token 946 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, V0LayerParameter_PoolMethod* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:946:82: error: ‘value’ was not declared in this scope 946 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, V0LayerParameter_PoolMethod* value) { | ^~~~~ /usr/include/caffe/proto/caffe.pb.h:946:87: error: expression list treated as compound expression in initializer [-fpermissive] 946 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, V0LayerParameter_PoolMethod* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:969:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’ 969 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Phase* value) { | ^~~~~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h:969:58: error: expected primary-expression before ‘*’ token 969 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Phase* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:969:60: error: ‘value’ was not declared in this scope 969 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Phase* value) { | ^~~~~ /usr/include/caffe/proto/caffe.pb.h:969:65: error: expression list treated as compound expression in initializer [-fpermissive] 969 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Phase* value) { | ^ /usr/include/caffe/proto/caffe.pb.h:1999:41: error: ‘google::protobuf::ConstStringParam’ has not been declared 1999 | static inline bool VarianceNorm_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, | ^~ /usr/include/caffe/proto/caffe.pb.h: In static member function ‘static bool caffe::FillerParameter::VarianceNorm_Parse(int, caffe::FillerParameter::VarianceNorm*)’: /usr/include/caffe/proto/caffe.pb.h:2001:46: error: ‘caffe::FillerParameter_VarianceNorm_Parse’ cannot be used as a function 2001 | return FillerParameter_VarianceNorm_Parse(name, value); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h: At global scope: /usr/include/caffe/proto/caffe.pb.h:2609:43: error: ‘google::protobuf::ConstStringParam’ has not been declared 2609 | static inline bool SnapshotFormat_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, | ^~ /usr/include/caffe/proto/caffe.pb.h:2639:39: error: ‘google::protobuf::ConstStringParam’ has not been declared 2639 | static inline bool SolverMode_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, | ^~ /usr/include/caffe/proto/caffe.pb.h:2677:39: error: ‘google::protobuf::ConstStringParam’ has not been declared 2677 | static inline bool SolverType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, | ^~ /usr/include/caffe/proto/caffe.pb.h: In static member function ‘static bool caffe::SolverParameter::SnapshotFormat_Parse(int, caffe::SolverParameter::SnapshotFormat*)’: /usr/include/caffe/proto/caffe.pb.h:2611:48: error: ‘caffe::SolverParameter_SnapshotFormat_Parse’ cannot be used as a function 2611 | return SolverParameter_SnapshotFormat_Parse(name, value); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h: In static member function ‘static bool caffe::SolverParameter::SolverMode_Parse(int, caffe::SolverParameter::SolverMode*)’: /usr/include/caffe/proto/caffe.pb.h:2641:44: error: ‘caffe::SolverParameter_SolverMode_Parse’ cannot be used as a function 2641 | return SolverParameter_SolverMode_Parse(name, value); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h: In static member function ‘static bool caffe::SolverParameter::SolverType_Parse(int, caffe::SolverParameter::SolverType*)’: /usr/include/caffe/proto/caffe.pb.h:2679:44: error: ‘caffe::SolverParameter_SolverType_Parse’ cannot be used as a function 2679 | return SolverParameter_SolverType_Parse(name, value); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h: At global scope: /usr/include/caffe/proto/caffe.pb.h:4211:41: error: ‘google::protobuf::ConstStringParam’ has not been declared 4211 | static inline bool DimCheckMode_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, | ^~ /usr/include/caffe/proto/caffe.pb.h: In static member function ‘static bool caffe::ParamSpec::DimCheckMode_Parse(int, caffe::ParamSpec::DimCheckMode*)’: /usr/include/caffe/proto/caffe.pb.h:4213:40: error: ‘caffe::ParamSpec_DimCheckMode_Parse’ cannot be used as a function 4213 | return ParamSpec_DimCheckMode_Parse(name, value); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h: At global scope: /usr/include/caffe/proto/caffe.pb.h:6054:46: error: ‘google::protobuf::ConstStringParam’ has not been declared 6054 | static inline bool NormalizationMode_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, | ^~ /usr/include/caffe/proto/caffe.pb.h: In static member function ‘static bool caffe::LossParameter::NormalizationMode_Parse(int, caffe::LossParameter::NormalizationMode*)’: /usr/include/caffe/proto/caffe.pb.h:6056:49: error: ‘caffe::LossParameter_NormalizationMode_Parse’ cannot be used as a function 6056 | return LossParameter_NormalizationMode_Parse(name, value); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h: At global scope: /usr/include/caffe/proto/caffe.pb.h:7481:35: error: ‘google::protobuf::ConstStringParam’ has not been declared 7481 | static inline bool Engine_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, | ^~ /usr/include/caffe/proto/caffe.pb.h: In static member function ‘static bool caffe::ConvolutionParameter::Engine_Parse(int, caffe::ConvolutionParameter::Engine*)’: /usr/include/caffe/proto/caffe.pb.h:7483:45: error: ‘caffe::ConvolutionParameter_Engine_Parse’ cannot be used as a function 7483 | return ConvolutionParameter_Engine_Parse(name, value); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h: At global scope: /usr/include/caffe/proto/caffe.pb.h:8134:31: error: ‘google::protobuf::ConstStringParam’ has not been declared 8134 | static inline bool DB_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, | ^~ /usr/include/caffe/proto/caffe.pb.h: In static member function ‘static bool caffe::DataParameter::DB_Parse(int, caffe::DataParameter::DB*)’: /usr/include/caffe/proto/caffe.pb.h:8136:34: error: ‘caffe::DataParameter_DB_Parse’ cannot be used as a function 8136 | return DataParameter_DB_Parse(name, value); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h: At global scope: /usr/include/caffe/proto/caffe.pb.h:8882:38: error: ‘google::protobuf::ConstStringParam’ has not been declared 8882 | static inline bool EltwiseOp_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, | ^~ /usr/include/caffe/proto/caffe.pb.h: In static member function ‘static bool caffe::EltwiseParameter::EltwiseOp_Parse(int, caffe::EltwiseParameter::EltwiseOp*)’: /usr/include/caffe/proto/caffe.pb.h:8884:44: error: ‘caffe::EltwiseParameter_EltwiseOp_Parse’ cannot be used as a function 8884 | return EltwiseParameter_EltwiseOp_Parse(name, value); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h: At global scope: /usr/include/caffe/proto/caffe.pb.h:10153:33: error: ‘google::protobuf::ConstStringParam’ has not been declared 10153 | static inline bool Norm_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, | ^~ /usr/include/caffe/proto/caffe.pb.h: In static member function ‘static bool caffe::HingeLossParameter::Norm_Parse(int, caffe::HingeLossParameter::Norm*)’: /usr/include/caffe/proto/caffe.pb.h:10155:41: error: ‘caffe::HingeLossParameter_Norm_Parse’ cannot be used as a function 10155 | return HingeLossParameter_Norm_Parse(name, value); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h: At global scope: /usr/include/caffe/proto/caffe.pb.h:11404:39: error: ‘google::protobuf::ConstStringParam’ has not been declared 11404 | static inline bool NormRegion_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, | ^~ /usr/include/caffe/proto/caffe.pb.h:11436:35: error: ‘google::protobuf::ConstStringParam’ has not been declared 11436 | static inline bool Engine_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, | ^~ /usr/include/caffe/proto/caffe.pb.h: In static member function ‘static bool caffe::LRNParameter::NormRegion_Parse(int, caffe::LRNParameter::NormRegion*)’: /usr/include/caffe/proto/caffe.pb.h:11406:41: error: ‘caffe::LRNParameter_NormRegion_Parse’ cannot be used as a function 11406 | return LRNParameter_NormRegion_Parse(name, value); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h: In static member function ‘static bool caffe::LRNParameter::Engine_Parse(int, caffe::LRNParameter::Engine*)’: /usr/include/caffe/proto/caffe.pb.h:11438:37: error: ‘caffe::LRNParameter_Engine_Parse’ cannot be used as a function 11438 | return LRNParameter_Engine_Parse(name, value); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h: At global scope: /usr/include/caffe/proto/caffe.pb.h:12219:39: error: ‘google::protobuf::ConstStringParam’ has not been declared 12219 | static inline bool PoolMethod_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, | ^~ /usr/include/caffe/proto/caffe.pb.h:12251:35: error: ‘google::protobuf::ConstStringParam’ has not been declared 12251 | static inline bool Engine_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, | ^~ /usr/include/caffe/proto/caffe.pb.h:12281:38: error: ‘google::protobuf::ConstStringParam’ has not been declared 12281 | static inline bool RoundMode_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, | ^~ /usr/include/caffe/proto/caffe.pb.h: In static member function ‘static bool caffe::PoolingParameter::PoolMethod_Parse(int, caffe::PoolingParameter::PoolMethod*)’: /usr/include/caffe/proto/caffe.pb.h:12221:45: error: ‘caffe::PoolingParameter_PoolMethod_Parse’ cannot be used as a function 12221 | return PoolingParameter_PoolMethod_Parse(name, value); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h: In static member function ‘static bool caffe::PoolingParameter::Engine_Parse(int, caffe::PoolingParameter::Engine*)’: /usr/include/caffe/proto/caffe.pb.h:12253:41: error: ‘caffe::PoolingParameter_Engine_Parse’ cannot be used as a function 12253 | return PoolingParameter_Engine_Parse(name, value); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h: In static member function ‘static bool caffe::PoolingParameter::RoundMode_Parse(int, caffe::PoolingParameter::RoundMode*)’: /usr/include/caffe/proto/caffe.pb.h:12283:44: error: ‘caffe::PoolingParameter_RoundMode_Parse’ cannot be used as a function 12283 | return PoolingParameter_RoundMode_Parse(name, value); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h: At global scope: /usr/include/caffe/proto/caffe.pb.h:13257:40: error: ‘google::protobuf::ConstStringParam’ has not been declared 13257 | static inline bool ReductionOp_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, | ^~ /usr/include/caffe/proto/caffe.pb.h: In static member function ‘static bool caffe::ReductionParameter::ReductionOp_Parse(int, caffe::ReductionParameter::ReductionOp*)’: /usr/include/caffe/proto/caffe.pb.h:13259:48: error: ‘caffe::ReductionParameter_ReductionOp_Parse’ cannot be used as a function 13259 | return ReductionParameter_ReductionOp_Parse(name, value); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h: At global scope: /usr/include/caffe/proto/caffe.pb.h:13468:35: error: ‘google::protobuf::ConstStringParam’ has not been declared 13468 | static inline bool Engine_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, | ^~ /usr/include/caffe/proto/caffe.pb.h: In static member function ‘static bool caffe::ReLUParameter::Engine_Parse(int, caffe::ReLUParameter::Engine*)’: /usr/include/caffe/proto/caffe.pb.h:13470:38: error: ‘caffe::ReLUParameter_Engine_Parse’ cannot be used as a function 13470 | return ReLUParameter_Engine_Parse(name, value); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h: At global scope: /usr/include/caffe/proto/caffe.pb.h:14067:35: error: ‘google::protobuf::ConstStringParam’ has not been declared 14067 | static inline bool Engine_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, | ^~ /usr/include/caffe/proto/caffe.pb.h: In static member function ‘static bool caffe::SigmoidParameter::Engine_Parse(int, caffe::SigmoidParameter::Engine*)’: /usr/include/caffe/proto/caffe.pb.h:14069:41: error: ‘caffe::SigmoidParameter_Engine_Parse’ cannot be used as a function 14069 | return SigmoidParameter_Engine_Parse(name, value); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h: At global scope: /usr/include/caffe/proto/caffe.pb.h:14436:35: error: ‘google::protobuf::ConstStringParam’ has not been declared 14436 | static inline bool Engine_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, | ^~ /usr/include/caffe/proto/caffe.pb.h: In static member function ‘static bool caffe::SoftmaxParameter::Engine_Parse(int, caffe::SoftmaxParameter::Engine*)’: /usr/include/caffe/proto/caffe.pb.h:14438:41: error: ‘caffe::SoftmaxParameter_Engine_Parse’ cannot be used as a function 14438 | return SoftmaxParameter_Engine_Parse(name, value); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h: At global scope: /usr/include/caffe/proto/caffe.pb.h:14781:35: error: ‘google::protobuf::ConstStringParam’ has not been declared 14781 | static inline bool Engine_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, | ^~ /usr/include/caffe/proto/caffe.pb.h: In static member function ‘static bool caffe::TanHParameter::Engine_Parse(int, caffe::TanHParameter::Engine*)’: /usr/include/caffe/proto/caffe.pb.h:14783:38: error: ‘caffe::TanHParameter_Engine_Parse’ cannot be used as a function 14783 | return TanHParameter_Engine_Parse(name, value); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h: At global scope: /usr/include/caffe/proto/caffe.pb.h:15635:39: error: ‘google::protobuf::ConstStringParam’ has not been declared 15635 | static inline bool PoolMethod_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, | ^~ /usr/include/caffe/proto/caffe.pb.h:15667:35: error: ‘google::protobuf::ConstStringParam’ has not been declared 15667 | static inline bool Engine_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, | ^~ /usr/include/caffe/proto/caffe.pb.h: In static member function ‘static bool caffe::SPPParameter::PoolMethod_Parse(int, caffe::SPPParameter::PoolMethod*)’: /usr/include/caffe/proto/caffe.pb.h:15637:41: error: ‘caffe::SPPParameter_PoolMethod_Parse’ cannot be used as a function 15637 | return SPPParameter_PoolMethod_Parse(name, value); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h: In static member function ‘static bool caffe::SPPParameter::Engine_Parse(int, caffe::SPPParameter::Engine*)’: /usr/include/caffe/proto/caffe.pb.h:15669:37: error: ‘caffe::SPPParameter_Engine_Parse’ cannot be used as a function 15669 | return SPPParameter_Engine_Parse(name, value); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h: At global scope: /usr/include/caffe/proto/caffe.pb.h:15952:38: error: ‘google::protobuf::ConstStringParam’ has not been declared 15952 | static inline bool LayerType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, | ^~ /usr/include/caffe/proto/caffe.pb.h:15982:41: error: ‘google::protobuf::ConstStringParam’ has not been declared 15982 | static inline bool DimCheckMode_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, | ^~ /usr/include/caffe/proto/caffe.pb.h: In static member function ‘static bool caffe::V1LayerParameter::LayerType_Parse(int, caffe::V1LayerParameter::LayerType*)’: /usr/include/caffe/proto/caffe.pb.h:15954:44: error: ‘caffe::V1LayerParameter_LayerType_Parse’ cannot be used as a function 15954 | return V1LayerParameter_LayerType_Parse(name, value); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h: In static member function ‘static bool caffe::V1LayerParameter::DimCheckMode_Parse(int, caffe::V1LayerParameter::DimCheckMode*)’: /usr/include/caffe/proto/caffe.pb.h:15984:47: error: ‘caffe::V1LayerParameter_DimCheckMode_Parse’ cannot be used as a function 15984 | return V1LayerParameter_DimCheckMode_Parse(name, value); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/caffe/proto/caffe.pb.h: At global scope: /usr/include/caffe/proto/caffe.pb.h:17034:39: error: ‘google::protobuf::ConstStringParam’ has not been declared 17034 | static inline bool PoolMethod_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, | ^~ /usr/include/caffe/proto/caffe.pb.h: In static member function ‘static bool caffe::V0LayerParameter::PoolMethod_Parse(int, caffe::V0LayerParameter::PoolMethod*)’: /usr/include/caffe/proto/caffe.pb.h:17036:45: error: ‘caffe::V0LayerParameter_PoolMethod_Parse’ cannot be used as a function 17036 | return V0LayerParameter_PoolMethod_Parse(name, value); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~