Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install in ubuntu 20 #5

Open
BenWiseman opened this issue Dec 3, 2021 · 3 comments
Open

Can't install in ubuntu 20 #5

BenWiseman opened this issue Dec 3, 2021 · 3 comments

Comments

@BenWiseman
Copy link

Installation results in a screed of errors. However it seems protobuf is already the newest version so I have no idea what's wrong.

sudo apt-get install -y libprotobuf-dev protobuf-compiler
[sudo] password for ben: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libprotobuf-dev is already the newest version (3.12.4-1ubuntu2).
protobuf-compiler is already the newest version (3.12.4-1ubuntu2). 

Ther error is like 1000 lines of this:

In file included from libcld3/feature_extractor.h:45,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
./cld_3/protos/feature_extractor.pb.h:12:2: error: #error This file was generated by a newer version of protoc which is
   12 | #error This file was generated by a newer version of protoc which is
      |  ^~~~~
./cld_3/protos/feature_extractor.pb.h:13:2: error: #error incompatible with your Protocol Buffer headers. Please update
   13 | #error incompatible with your Protocol Buffer headers. Please update
      |  ^~~~~
./cld_3/protos/feature_extractor.pb.h:14:2: error: #error your headers.
   14 | #error your headers.
      |  ^~~~~
In file included from libcld3/task_context.h:23,
                 from libcld3/feature_extractor.h:49,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
./cld_3/protos/task_spec.pb.h:12:2: error: #error This file was generated by a newer version of protoc which is
   12 | #error This file was generated by a newer version of protoc which is
      |  ^~~~~
./cld_3/protos/task_spec.pb.h:13:2: error: #error incompatible with your Protocol Buffer headers. Please update
   13 | #error incompatible with your Protocol Buffer headers. Please update
      |  ^~~~~
./cld_3/protos/task_spec.pb.h:14:2: error: #error your headers.
   14 | #error your headers.
      |  ^~~~~
In file included from libcld3/language_identifier_features.h:24,
                 from libcld3/nnet_language_identifier.h:25,
                 from wrapper.cpp:2:
./cld_3/protos/sentence.pb.h:12:2: error: #error This file was generated by a newer version of protoc which is
   12 | #error This file was generated by a newer version of protoc which is
      |  ^~~~~
./cld_3/protos/sentence.pb.h:13:2: error: #error incompatible with your Protocol Buffer headers. Please update
   13 | #error incompatible with your Protocol Buffer headers. Please update
      |  ^~~~~
./cld_3/protos/sentence.pb.h:14:2: error: #error your headers.
   14 | #error your headers.
      |  ^~~~~
@jeroen
Copy link
Member

jeroen commented Dec 3, 2021

Can you show the full install log please? I suspect you have another conflicting installation of protobuf on your machine

@BenWiseman
Copy link
Author

Installing 'cld3' ...
Installing package into ‘/home/ben/R/x86_64-pc-linux-gnu-library/4.1’
(as ‘lib’ is unspecified)
trying URL 'https://cloud.r-project.org/src/contrib/cld3_1.4.2.tar.gz'
Content type 'application/x-gzip' length 653632 bytes (638 KB)
==================================================
downloaded 638 KB

Found pkg-config cflags and libs!
Using PKG_CFLAGS=-pthread
Using PKG_LIBS=-lprotobuf
* installing *source* package ‘cld3’ ...
** package ‘cld3’ successfully unpacked and MD5 sums checked
** using staged installation
Using libprotoc 3.14.0 from /home/ben/anaconda3/envs/r-tensorflow/bin/protoc
Warning: protoc version libprotoc 3.14.0 might not match libproto version 3.12.4
rm -f cld3.so RcppExports.o wrapper.o libcld3/base.o libcld3/embedding_feature_extractor.o libcld3/embedding_network.o libcld3/feature_extractor.o libcld3/feature_types.o libcld3/fml_parser.o libcld3/language_identifier_features.o libcld3/lang_id_nn_params.o libcld3/nnet_language_identifier.o libcld3/registry.o libcld3/relevant_script_feature.o libcld3/sentence_features.o libcld3/script_span/fixunicodevalue.o libcld3/script_span/generated_entities.o libcld3/script_span/generated_ulscript.o libcld3/script_span/getonescriptspan.o libcld3/script_span/offsetmap.o libcld3/script_span/text_processing.o libcld3/script_span/utf8statetable.o libcld3/task_context.o libcld3/task_context_params.o libcld3/unicodetext.o libcld3/utils.o libcld3/workspace.o cld_3/protos/feature_extractor.pb.o cld_3/protos/sentence.pb.o cld_3/protos/task_spec.pb.o libcld3/libstatcld3.a
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I. -pthread -I'/usr/local/lib/R/site-library/Rcpp/include'    -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-i2PIHO/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c RcppExports.cpp -o RcppExports.o
** libs
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I. -pthread -I'/usr/local/lib/R/site-library/Rcpp/include'    -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-i2PIHO/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c wrapper.cpp -o wrapper.o
In file included from libcld3/feature_extractor.h:45,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
./cld_3/protos/feature_extractor.pb.h:12:2: error: #error This file was generated by a newer version of protoc which is
   12 | #error This file was generated by a newer version of protoc which is
      |  ^~~~~
./cld_3/protos/feature_extractor.pb.h:13:2: error: #error incompatible with your Protocol Buffer headers. Please update
   13 | #error incompatible with your Protocol Buffer headers. Please update
      |  ^~~~~
./cld_3/protos/feature_extractor.pb.h:14:2: error: #error your headers.
   14 | #error your headers.
      |  ^~~~~
In file included from libcld3/task_context.h:23,
                 from libcld3/feature_extractor.h:49,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
./cld_3/protos/task_spec.pb.h:12:2: error: #error This file was generated by a newer version of protoc which is
   12 | #error This file was generated by a newer version of protoc which is
      |  ^~~~~
./cld_3/protos/task_spec.pb.h:13:2: error: #error incompatible with your Protocol Buffer headers. Please update
   13 | #error incompatible with your Protocol Buffer headers. Please update
      |  ^~~~~
./cld_3/protos/task_spec.pb.h:14:2: error: #error your headers.
   14 | #error your headers.
      |  ^~~~~
In file included from libcld3/language_identifier_features.h:24,
                 from libcld3/nnet_language_identifier.h:25,
                 from wrapper.cpp:2:
./cld_3/protos/sentence.pb.h:12:2: error: #error This file was generated by a newer version of protoc which is
   12 | #error This file was generated by a newer version of protoc which is
      |  ^~~~~
./cld_3/protos/sentence.pb.h:13:2: error: #error incompatible with your Protocol Buffer headers. Please update
   13 | #error incompatible with your Protocol Buffer headers. Please update
      |  ^~~~~
./cld_3/protos/sentence.pb.h:14:2: error: #error your headers.
   14 | #error your headers.
      |  ^~~~~
In file included from libcld3/feature_extractor.h:45,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
./cld_3/protos/feature_extractor.pb.h:45:51: error: ‘AuxiliaryParseTableField’ in namespace ‘google::protobuf::internal’ does not name a type; did you mean ‘AuxillaryParseTableField’?
   45 |   static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
      |                                                   ^~~~~~~~~~~~~~~~~~~~~~~~
      |                                                   AuxillaryParseTableField
In file included from libcld3/feature_extractor.h:45,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
./cld_3/protos/feature_extractor.pb.h: In member function ‘void chrome_lang_id::Parameter::clear_name()’:
./cld_3/protos/feature_extractor.pb.h:607:22: error: no matching function for call to ‘google::protobuf::internal::ArenaStringPtr::ClearToEmpty()’
  607 |   name_.ClearToEmpty();
      |                      ^
In file included from ./cld_3/protos/feature_extractor.pb.h:25,
                 from libcld3/feature_extractor.h:45,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
/usr/include/google/protobuf/arenastring.h:220:15: note: candidate: ‘void google::protobuf::internal::ArenaStringPtr::ClearToEmpty(const string*, google::protobuf::Arena*)’
  220 |   inline void ClearToEmpty(const ::std::string* default_value,
      |               ^~~~~~~~~~~~
/usr/include/google/protobuf/arenastring.h:220:15: note:   candidate expects 2 arguments, 0 provided
In file included from libcld3/feature_extractor.h:45,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
./cld_3/protos/feature_extractor.pb.h: In member function ‘void chrome_lang_id::Parameter::_internal_set_name(const string&)’:
./cld_3/protos/feature_extractor.pb.h:627:64: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
  627 |   name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
      |                                                                ^~~~~~~~~~~~
./cld_3/protos/feature_extractor.pb.h: In member function ‘void chrome_lang_id::Parameter::set_name(std::string&&)’:
./cld_3/protos/feature_extractor.pb.h:632:56: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
  632 |     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
      |                                                        ^~~~~~~~~~~~
./cld_3/protos/feature_extractor.pb.h: In member function ‘void chrome_lang_id::Parameter::set_name(const char*)’:
./cld_3/protos/feature_extractor.pb.h:638:64: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
  638 |   name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
      |                                                                ^~~~~~~~~~~~
./cld_3/protos/feature_extractor.pb.h: In member function ‘void chrome_lang_id::Parameter::set_name(const char*, size_t)’:
./cld_3/protos/feature_extractor.pb.h:644:64: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
  644 |   name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
      |                                                                ^~~~~~~~~~~~
./cld_3/protos/feature_extractor.pb.h: In member function ‘std::string* chrome_lang_id::Parameter::_internal_mutable_name()’:
./cld_3/protos/feature_extractor.pb.h:650:75: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
  650 |   return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
      |                                                                           ^~~~~~~~~~~~
./cld_3/protos/feature_extractor.pb.h: In member function ‘void chrome_lang_id::Parameter::clear_value()’:
./cld_3/protos/feature_extractor.pb.h:680:23: error: no matching function for call to ‘google::protobuf::internal::ArenaStringPtr::ClearToEmpty()’
  680 |   value_.ClearToEmpty();
      |                       ^
In file included from ./cld_3/protos/feature_extractor.pb.h:25,
                 from libcld3/feature_extractor.h:45,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
/usr/include/google/protobuf/arenastring.h:220:15: note: candidate: ‘void google::protobuf::internal::ArenaStringPtr::ClearToEmpty(const string*, google::protobuf::Arena*)’
  220 |   inline void ClearToEmpty(const ::std::string* default_value,
      |               ^~~~~~~~~~~~
/usr/include/google/protobuf/arenastring.h:220:15: note:   candidate expects 2 arguments, 0 provided
In file included from libcld3/feature_extractor.h:45,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
./cld_3/protos/feature_extractor.pb.h: In member function ‘void chrome_lang_id::Parameter::_internal_set_value(const string&)’:
./cld_3/protos/feature_extractor.pb.h:700:65: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
  700 |   value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
      |                                                                 ^~~~~~~~~~~~
./cld_3/protos/feature_extractor.pb.h: In member function ‘void chrome_lang_id::Parameter::set_value(std::string&&)’:
./cld_3/protos/feature_extractor.pb.h:705:56: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
  705 |     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
      |                                                        ^~~~~~~~~~~~
./cld_3/protos/feature_extractor.pb.h: In member function ‘void chrome_lang_id::Parameter::set_value(const char*)’:
./cld_3/protos/feature_extractor.pb.h:711:65: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
  711 |   value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
      |                                                                 ^~~~~~~~~~~~
./cld_3/protos/feature_extractor.pb.h: In member function ‘void chrome_lang_id::Parameter::set_value(const char*, size_t)’:
./cld_3/protos/feature_extractor.pb.h:717:65: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
  717 |   value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
      |                                                                 ^~~~~~~~~~~~
./cld_3/protos/feature_extractor.pb.h: In member function ‘std::string* chrome_lang_id::Parameter::_internal_mutable_value()’:
./cld_3/protos/feature_extractor.pb.h:723:76: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
  723 |   return value_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
      |                                                                            ^~~~~~~~~~~~
./cld_3/protos/feature_extractor.pb.h: In member function ‘void chrome_lang_id::FeatureFunctionDescriptor::clear_type()’:
./cld_3/protos/feature_extractor.pb.h:757:22: error: no matching function for call to ‘google::protobuf::internal::ArenaStringPtr::ClearToEmpty()’
  757 |   type_.ClearToEmpty();
      |                      ^
In file included from ./cld_3/protos/feature_extractor.pb.h:25,
                 from libcld3/feature_extractor.h:45,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
/usr/include/google/protobuf/arenastring.h:220:15: note: candidate: ‘void google::protobuf::internal::ArenaStringPtr::ClearToEmpty(const string*, google::protobuf::Arena*)’
  220 |   inline void ClearToEmpty(const ::std::string* default_value,
      |               ^~~~~~~~~~~~
/usr/include/google/protobuf/arenastring.h:220:15: note:   candidate expects 2 arguments, 0 provided
In file included from libcld3/feature_extractor.h:45,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
./cld_3/protos/feature_extractor.pb.h: In member function ‘void chrome_lang_id::FeatureFunctionDescriptor::_internal_set_type(const string&)’:
./cld_3/protos/feature_extractor.pb.h:777:64: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
  777 |   type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
      |                                                                ^~~~~~~~~~~~
./cld_3/protos/feature_extractor.pb.h: In member function ‘void chrome_lang_id::FeatureFunctionDescriptor::set_type(std::string&&)’:
./cld_3/protos/feature_extractor.pb.h:782:56: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
  782 |     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
      |                                                        ^~~~~~~~~~~~
./cld_3/protos/feature_extractor.pb.h: In member function ‘void chrome_lang_id::FeatureFunctionDescriptor::set_type(const char*)’:
./cld_3/protos/feature_extractor.pb.h:788:64: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
  788 |   type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
      |                                                                ^~~~~~~~~~~~
./cld_3/protos/feature_extractor.pb.h: In member function ‘void chrome_lang_id::FeatureFunctionDescriptor::set_type(const char*, size_t)’:
./cld_3/protos/feature_extractor.pb.h:794:64: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
  794 |   type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
      |                                                                ^~~~~~~~~~~~
./cld_3/protos/feature_extractor.pb.h: In member function ‘std::string* chrome_lang_id::FeatureFunctionDescriptor::_internal_mutable_type()’:
./cld_3/protos/feature_extractor.pb.h:800:75: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
  800 |   return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
      |                                                                           ^~~~~~~~~~~~
./cld_3/protos/feature_extractor.pb.h: In member function ‘void chrome_lang_id::FeatureFunctionDescriptor::clear_name()’:
./cld_3/protos/feature_extractor.pb.h:830:22: error: no matching function for call to ‘google::protobuf::internal::ArenaStringPtr::ClearToEmpty()’
  830 |   name_.ClearToEmpty();
      |                      ^
In file included from ./cld_3/protos/feature_extractor.pb.h:25,
                 from libcld3/feature_extractor.h:45,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
/usr/include/google/protobuf/arenastring.h:220:15: note: candidate: ‘void google::protobuf::internal::ArenaStringPtr::ClearToEmpty(const string*, google::protobuf::Arena*)’
  220 |   inline void ClearToEmpty(const ::std::string* default_value,
      |               ^~~~~~~~~~~~
/usr/include/google/protobuf/arenastring.h:220:15: note:   candidate expects 2 arguments, 0 provided
In file included from libcld3/feature_extractor.h:45,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
./cld_3/protos/feature_extractor.pb.h: In member function ‘void chrome_lang_id::FeatureFunctionDescriptor::_internal_set_name(const string&)’:
./cld_3/protos/feature_extractor.pb.h:850:64: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
  850 |   name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
      |                                                                ^~~~~~~~~~~~
./cld_3/protos/feature_extractor.pb.h: In member function ‘void chrome_lang_id::FeatureFunctionDescriptor::set_name(std::string&&)’:
./cld_3/protos/feature_extractor.pb.h:855:56: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
  855 |     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
      |                                                        ^~~~~~~~~~~~
./cld_3/protos/feature_extractor.pb.h: In member function ‘void chrome_lang_id::FeatureFunctionDescriptor::set_name(const char*)’:
./cld_3/protos/feature_extractor.pb.h:861:64: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
  861 |   name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
      |                                                                ^~~~~~~~~~~~
./cld_3/protos/feature_extractor.pb.h: In member function ‘void chrome_lang_id::FeatureFunctionDescriptor::set_name(const char*, size_t)’:
./cld_3/protos/feature_extractor.pb.h:867:64: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
  867 |   name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
      |                                                                ^~~~~~~~~~~~
./cld_3/protos/feature_extractor.pb.h: In member function ‘std::string* chrome_lang_id::FeatureFunctionDescriptor::_internal_mutable_name()’:
./cld_3/protos/feature_extractor.pb.h:873:75: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
  873 |   return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
      |                                                                           ^~~~~~~~~~~~
In file included from libcld3/task_context.h:23,
                 from libcld3/feature_extractor.h:49,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
./cld_3/protos/task_spec.pb.h: At global scope:
./cld_3/protos/task_spec.pb.h:45:51: error: ‘AuxiliaryParseTableField’ in namespace ‘google::protobuf::internal’ does not name a type; did you mean ‘AuxillaryParseTableField’?
   45 |   static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
      |                                                   ^~~~~~~~~~~~~~~~~~~~~~~~
      |                                                   AuxillaryParseTableField
In file included from libcld3/task_context.h:23,
                 from libcld3/feature_extractor.h:49,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskInput_Part::clear_file_pattern()’:
./cld_3/protos/task_spec.pb.h:1163:30: error: no matching function for call to ‘google::protobuf::internal::ArenaStringPtr::ClearToEmpty()’
 1163 |   file_pattern_.ClearToEmpty();
      |                              ^
In file included from ./cld_3/protos/feature_extractor.pb.h:25,
                 from libcld3/feature_extractor.h:45,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
/usr/include/google/protobuf/arenastring.h:220:15: note: candidate: ‘void google::protobuf::internal::ArenaStringPtr::ClearToEmpty(const string*, google::protobuf::Arena*)’
  220 |   inline void ClearToEmpty(const ::std::string* default_value,
      |               ^~~~~~~~~~~~
/usr/include/google/protobuf/arenastring.h:220:15: note:   candidate expects 2 arguments, 0 provided
In file included from libcld3/task_context.h:23,
                 from libcld3/feature_extractor.h:49,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskInput_Part::_internal_set_file_pattern(const string&)’:
./cld_3/protos/task_spec.pb.h:1183:72: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1183 |   file_pattern_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
      |                                                                        ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskInput_Part::set_file_pattern(std::string&&)’:
./cld_3/protos/task_spec.pb.h:1188:56: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1188 |     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
      |                                                        ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskInput_Part::set_file_pattern(const char*)’:
./cld_3/protos/task_spec.pb.h:1194:72: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1194 |   file_pattern_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
      |                                                                        ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskInput_Part::set_file_pattern(const char*, size_t)’:
./cld_3/protos/task_spec.pb.h:1200:72: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1200 |   file_pattern_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
      |                                                                        ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘std::string* chrome_lang_id::TaskInput_Part::_internal_mutable_file_pattern()’:
./cld_3/protos/task_spec.pb.h:1206:83: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1206 |   return file_pattern_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
      |                                                                                   ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskInput_Part::clear_file_format()’:
./cld_3/protos/task_spec.pb.h:1236:29: error: no matching function for call to ‘google::protobuf::internal::ArenaStringPtr::ClearToEmpty()’
 1236 |   file_format_.ClearToEmpty();
      |                             ^
In file included from ./cld_3/protos/feature_extractor.pb.h:25,
                 from libcld3/feature_extractor.h:45,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
/usr/include/google/protobuf/arenastring.h:220:15: note: candidate: ‘void google::protobuf::internal::ArenaStringPtr::ClearToEmpty(const string*, google::protobuf::Arena*)’
  220 |   inline void ClearToEmpty(const ::std::string* default_value,
      |               ^~~~~~~~~~~~
/usr/include/google/protobuf/arenastring.h:220:15: note:   candidate expects 2 arguments, 0 provided
In file included from libcld3/task_context.h:23,
                 from libcld3/feature_extractor.h:49,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskInput_Part::_internal_set_file_format(const string&)’:
./cld_3/protos/task_spec.pb.h:1256:71: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1256 |   file_format_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
      |                                                                       ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskInput_Part::set_file_format(std::string&&)’:
./cld_3/protos/task_spec.pb.h:1261:56: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1261 |     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
      |                                                        ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskInput_Part::set_file_format(const char*)’:
./cld_3/protos/task_spec.pb.h:1267:71: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1267 |   file_format_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
      |                                                                       ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskInput_Part::set_file_format(const char*, size_t)’:
./cld_3/protos/task_spec.pb.h:1273:71: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1273 |   file_format_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
      |                                                                       ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘std::string* chrome_lang_id::TaskInput_Part::_internal_mutable_file_format()’:
./cld_3/protos/task_spec.pb.h:1279:82: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1279 |   return file_format_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
      |                                                                                  ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskInput_Part::clear_record_format()’:
./cld_3/protos/task_spec.pb.h:1309:31: error: no matching function for call to ‘google::protobuf::internal::ArenaStringPtr::ClearToEmpty()’
 1309 |   record_format_.ClearToEmpty();
      |                               ^
In file included from ./cld_3/protos/feature_extractor.pb.h:25,
                 from libcld3/feature_extractor.h:45,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
/usr/include/google/protobuf/arenastring.h:220:15: note: candidate: ‘void google::protobuf::internal::ArenaStringPtr::ClearToEmpty(const string*, google::protobuf::Arena*)’
  220 |   inline void ClearToEmpty(const ::std::string* default_value,
      |               ^~~~~~~~~~~~
/usr/include/google/protobuf/arenastring.h:220:15: note:   candidate expects 2 arguments, 0 provided
In file included from libcld3/task_context.h:23,
                 from libcld3/feature_extractor.h:49,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskInput_Part::_internal_set_record_format(const string&)’:
./cld_3/protos/task_spec.pb.h:1329:73: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1329 |   record_format_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
      |                                                                         ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskInput_Part::set_record_format(std::string&&)’:
./cld_3/protos/task_spec.pb.h:1334:56: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1334 |     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
      |                                                        ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskInput_Part::set_record_format(const char*)’:
./cld_3/protos/task_spec.pb.h:1340:73: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1340 |   record_format_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
      |                                                                         ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskInput_Part::set_record_format(const char*, size_t)’:
./cld_3/protos/task_spec.pb.h:1346:73: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1346 |   record_format_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
      |                                                                         ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘std::string* chrome_lang_id::TaskInput_Part::_internal_mutable_record_format()’:
./cld_3/protos/task_spec.pb.h:1352:84: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1352 |   return record_format_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
      |                                                                                    ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskInput::clear_name()’:
./cld_3/protos/task_spec.pb.h:1386:22: error: no matching function for call to ‘google::protobuf::internal::ArenaStringPtr::ClearToEmpty()’
 1386 |   name_.ClearToEmpty();
      |                      ^
In file included from ./cld_3/protos/feature_extractor.pb.h:25,
                 from libcld3/feature_extractor.h:45,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
/usr/include/google/protobuf/arenastring.h:220:15: note: candidate: ‘void google::protobuf::internal::ArenaStringPtr::ClearToEmpty(const string*, google::protobuf::Arena*)’
  220 |   inline void ClearToEmpty(const ::std::string* default_value,
      |               ^~~~~~~~~~~~
/usr/include/google/protobuf/arenastring.h:220:15: note:   candidate expects 2 arguments, 0 provided
In file included from libcld3/task_context.h:23,
                 from libcld3/feature_extractor.h:49,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskInput::_internal_set_name(const string&)’:
./cld_3/protos/task_spec.pb.h:1406:64: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1406 |   name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
      |                                                                ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskInput::set_name(std::string&&)’:
./cld_3/protos/task_spec.pb.h:1411:56: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1411 |     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
      |                                                        ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskInput::set_name(const char*)’:
./cld_3/protos/task_spec.pb.h:1417:64: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1417 |   name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
      |                                                                ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskInput::set_name(const char*, size_t)’:
./cld_3/protos/task_spec.pb.h:1423:64: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1423 |   name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
      |                                                                ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘std::string* chrome_lang_id::TaskInput::_internal_mutable_name()’:
./cld_3/protos/task_spec.pb.h:1429:75: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1429 |   return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
      |                                                                           ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskInput::clear_creator()’:
./cld_3/protos/task_spec.pb.h:1459:25: error: no matching function for call to ‘google::protobuf::internal::ArenaStringPtr::ClearToEmpty()’
 1459 |   creator_.ClearToEmpty();
      |                         ^
In file included from ./cld_3/protos/feature_extractor.pb.h:25,
                 from libcld3/feature_extractor.h:45,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
/usr/include/google/protobuf/arenastring.h:220:15: note: candidate: ‘void google::protobuf::internal::ArenaStringPtr::ClearToEmpty(const string*, google::protobuf::Arena*)’
  220 |   inline void ClearToEmpty(const ::std::string* default_value,
      |               ^~~~~~~~~~~~
/usr/include/google/protobuf/arenastring.h:220:15: note:   candidate expects 2 arguments, 0 provided
In file included from libcld3/task_context.h:23,
                 from libcld3/feature_extractor.h:49,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskInput::_internal_set_creator(const string&)’:
./cld_3/protos/task_spec.pb.h:1479:67: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1479 |   creator_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
      |                                                                   ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskInput::set_creator(std::string&&)’:
./cld_3/protos/task_spec.pb.h:1484:56: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1484 |     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
      |                                                        ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskInput::set_creator(const char*)’:
./cld_3/protos/task_spec.pb.h:1490:67: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1490 |   creator_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
      |                                                                   ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskInput::set_creator(const char*, size_t)’:
./cld_3/protos/task_spec.pb.h:1496:67: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1496 |   creator_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
      |                                                                   ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘std::string* chrome_lang_id::TaskInput::_internal_mutable_creator()’:
./cld_3/protos/task_spec.pb.h:1502:78: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1502 |   return creator_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
      |                                                                              ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskOutput::clear_name()’:
./cld_3/protos/task_spec.pb.h:1751:22: error: no matching function for call to ‘google::protobuf::internal::ArenaStringPtr::ClearToEmpty()’
 1751 |   name_.ClearToEmpty();
      |                      ^
In file included from ./cld_3/protos/feature_extractor.pb.h:25,
                 from libcld3/feature_extractor.h:45,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
/usr/include/google/protobuf/arenastring.h:220:15: note: candidate: ‘void google::protobuf::internal::ArenaStringPtr::ClearToEmpty(const string*, google::protobuf::Arena*)’
  220 |   inline void ClearToEmpty(const ::std::string* default_value,
      |               ^~~~~~~~~~~~
/usr/include/google/protobuf/arenastring.h:220:15: note:   candidate expects 2 arguments, 0 provided
In file included from libcld3/task_context.h:23,
                 from libcld3/feature_extractor.h:49,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskOutput::_internal_set_name(const string&)’:
./cld_3/protos/task_spec.pb.h:1771:64: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1771 |   name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
      |                                                                ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskOutput::set_name(std::string&&)’:
./cld_3/protos/task_spec.pb.h:1776:56: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1776 |     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
      |                                                        ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskOutput::set_name(const char*)’:
./cld_3/protos/task_spec.pb.h:1782:64: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1782 |   name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
      |                                                                ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskOutput::set_name(const char*, size_t)’:
./cld_3/protos/task_spec.pb.h:1788:64: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1788 |   name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
      |                                                                ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘std::string* chrome_lang_id::TaskOutput::_internal_mutable_name()’:
./cld_3/protos/task_spec.pb.h:1794:75: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1794 |   return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
      |                                                                           ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskOutput::clear_file_format()’:
./cld_3/protos/task_spec.pb.h:1824:29: error: no matching function for call to ‘google::protobuf::internal::ArenaStringPtr::ClearToEmpty()’
 1824 |   file_format_.ClearToEmpty();
      |                             ^
In file included from ./cld_3/protos/feature_extractor.pb.h:25,
                 from libcld3/feature_extractor.h:45,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
/usr/include/google/protobuf/arenastring.h:220:15: note: candidate: ‘void google::protobuf::internal::ArenaStringPtr::ClearToEmpty(const string*, google::protobuf::Arena*)’
  220 |   inline void ClearToEmpty(const ::std::string* default_value,
      |               ^~~~~~~~~~~~
/usr/include/google/protobuf/arenastring.h:220:15: note:   candidate expects 2 arguments, 0 provided
In file included from libcld3/task_context.h:23,
                 from libcld3/feature_extractor.h:49,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskOutput::_internal_set_file_format(const string&)’:
./cld_3/protos/task_spec.pb.h:1844:71: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1844 |   file_format_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
      |                                                                       ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskOutput::set_file_format(std::string&&)’:
./cld_3/protos/task_spec.pb.h:1849:56: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1849 |     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
      |                                                        ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskOutput::set_file_format(const char*)’:
./cld_3/protos/task_spec.pb.h:1855:71: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1855 |   file_format_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
      |                                                                       ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskOutput::set_file_format(const char*, size_t)’:
./cld_3/protos/task_spec.pb.h:1861:71: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1861 |   file_format_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
      |                                                                       ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘std::string* chrome_lang_id::TaskOutput::_internal_mutable_file_format()’:
./cld_3/protos/task_spec.pb.h:1867:82: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1867 |   return file_format_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
      |                                                                                  ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskOutput::clear_record_format()’:
./cld_3/protos/task_spec.pb.h:1897:31: error: no matching function for call to ‘google::protobuf::internal::ArenaStringPtr::ClearToEmpty()’
 1897 |   record_format_.ClearToEmpty();
      |                               ^
In file included from ./cld_3/protos/feature_extractor.pb.h:25,
                 from libcld3/feature_extractor.h:45,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
/usr/include/google/protobuf/arenastring.h:220:15: note: candidate: ‘void google::protobuf::internal::ArenaStringPtr::ClearToEmpty(const string*, google::protobuf::Arena*)’
  220 |   inline void ClearToEmpty(const ::std::string* default_value,
      |               ^~~~~~~~~~~~
/usr/include/google/protobuf/arenastring.h:220:15: note:   candidate expects 2 arguments, 0 provided
In file included from libcld3/task_context.h:23,
                 from libcld3/feature_extractor.h:49,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskOutput::_internal_set_record_format(const string&)’:
./cld_3/protos/task_spec.pb.h:1917:73: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1917 |   record_format_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
      |                                                                         ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskOutput::set_record_format(std::string&&)’:
./cld_3/protos/task_spec.pb.h:1922:56: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1922 |     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
      |                                                        ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskOutput::set_record_format(const char*)’:
./cld_3/protos/task_spec.pb.h:1928:73: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1928 |   record_format_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
      |                                                                         ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskOutput::set_record_format(const char*, size_t)’:
./cld_3/protos/task_spec.pb.h:1934:73: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1934 |   record_format_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
      |                                                                         ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘std::string* chrome_lang_id::TaskOutput::_internal_mutable_record_format()’:
./cld_3/protos/task_spec.pb.h:1940:84: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1940 |   return record_format_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
      |                                                                                    ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskOutput::clear_file_base()’:
./cld_3/protos/task_spec.pb.h:1998:27: error: no matching function for call to ‘google::protobuf::internal::ArenaStringPtr::ClearToEmpty()’
 1998 |   file_base_.ClearToEmpty();
      |                           ^
In file included from ./cld_3/protos/feature_extractor.pb.h:25,
                 from libcld3/feature_extractor.h:45,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
/usr/include/google/protobuf/arenastring.h:220:15: note: candidate: ‘void google::protobuf::internal::ArenaStringPtr::ClearToEmpty(const string*, google::protobuf::Arena*)’
  220 |   inline void ClearToEmpty(const ::std::string* default_value,
      |               ^~~~~~~~~~~~
/usr/include/google/protobuf/arenastring.h:220:15: note:   candidate expects 2 arguments, 0 provided
In file included from libcld3/task_context.h:23,
                 from libcld3/feature_extractor.h:49,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskOutput::_internal_set_file_base(const string&)’:
./cld_3/protos/task_spec.pb.h:2018:69: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 2018 |   file_base_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
      |                                                                     ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskOutput::set_file_base(std::string&&)’:
./cld_3/protos/task_spec.pb.h:2023:56: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 2023 |     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
      |                                                        ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskOutput::set_file_base(const char*)’:
./cld_3/protos/task_spec.pb.h:2029:69: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 2029 |   file_base_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
      |                                                                     ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskOutput::set_file_base(const char*, size_t)’:
./cld_3/protos/task_spec.pb.h:2035:69: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 2035 |   file_base_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
      |                                                                     ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘std::string* chrome_lang_id::TaskOutput::_internal_mutable_file_base()’:
./cld_3/protos/task_spec.pb.h:2041:80: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 2041 |   return file_base_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
      |                                                                                ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskOutput::clear_file_extension()’:
./cld_3/protos/task_spec.pb.h:2071:32: error: no matching function for call to ‘google::protobuf::internal::ArenaStringPtr::ClearToEmpty()’
 2071 |   file_extension_.ClearToEmpty();
      |                                ^
In file included from ./cld_3/protos/feature_extractor.pb.h:25,
                 from libcld3/feature_extractor.h:45,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
/usr/include/google/protobuf/arenastring.h:220:15: note: candidate: ‘void google::protobuf::internal::ArenaStringPtr::ClearToEmpty(const string*, google::protobuf::Arena*)’
  220 |   inline void ClearToEmpty(const ::std::string* default_value,
      |               ^~~~~~~~~~~~
/usr/include/google/protobuf/arenastring.h:220:15: note:   candidate expects 2 arguments, 0 provided
In file included from libcld3/task_context.h:23,
                 from libcld3/feature_extractor.h:49,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskOutput::_internal_set_file_extension(const string&)’:
./cld_3/protos/task_spec.pb.h:2091:74: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 2091 |   file_extension_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
      |                                                                          ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskOutput::set_file_extension(std::string&&)’:
./cld_3/protos/task_spec.pb.h:2096:56: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 2096 |     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
      |                                                        ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskOutput::set_file_extension(const char*)’:
./cld_3/protos/task_spec.pb.h:2102:74: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 2102 |   file_extension_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
      |                                                                          ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskOutput::set_file_extension(const char*, size_t)’:
./cld_3/protos/task_spec.pb.h:2108:74: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 2108 |   file_extension_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
      |                                                                          ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘std::string* chrome_lang_id::TaskOutput::_internal_mutable_file_extension()’:
./cld_3/protos/task_spec.pb.h:2114:85: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 2114 |   return file_extension_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
      |                                                                                     ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskSpec_Parameter::clear_name()’:
./cld_3/protos/task_spec.pb.h:2148:22: error: no matching function for call to ‘google::protobuf::internal::ArenaStringPtr::ClearToEmpty()’
 2148 |   name_.ClearToEmpty();
      |                      ^
In file included from ./cld_3/protos/feature_extractor.pb.h:25,
                 from libcld3/feature_extractor.h:45,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
/usr/include/google/protobuf/arenastring.h:220:15: note: candidate: ‘void google::protobuf::internal::ArenaStringPtr::ClearToEmpty(const string*, google::protobuf::Arena*)’
  220 |   inline void ClearToEmpty(const ::std::string* default_value,
      |               ^~~~~~~~~~~~
/usr/include/google/protobuf/arenastring.h:220:15: note:   candidate expects 2 arguments, 0 provided
In file included from libcld3/task_context.h:23,
                 from libcld3/feature_extractor.h:49,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskSpec_Parameter::_internal_set_name(const string&)’:
./cld_3/protos/task_spec.pb.h:2168:64: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 2168 |   name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
      |                                                                ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskSpec_Parameter::set_name(std::string&&)’:
./cld_3/protos/task_spec.pb.h:2173:56: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 2173 |     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
      |                                                        ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskSpec_Parameter::set_name(const char*)’:
./cld_3/protos/task_spec.pb.h:2179:64: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 2179 |   name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
      |                                                                ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskSpec_Parameter::set_name(const char*, size_t)’:
./cld_3/protos/task_spec.pb.h:2185:64: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 2185 |   name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
      |                                                                ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘std::string* chrome_lang_id::TaskSpec_Parameter::_internal_mutable_name()’:
./cld_3/protos/task_spec.pb.h:2191:75: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 2191 |   return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
      |                                                                           ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskSpec_Parameter::clear_value()’:
./cld_3/protos/task_spec.pb.h:2221:23: error: no matching function for call to ‘google::protobuf::internal::ArenaStringPtr::ClearToEmpty()’
 2221 |   value_.ClearToEmpty();
      |                       ^
In file included from ./cld_3/protos/feature_extractor.pb.h:25,
                 from libcld3/feature_extractor.h:45,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
/usr/include/google/protobuf/arenastring.h:220:15: note: candidate: ‘void google::protobuf::internal::ArenaStringPtr::ClearToEmpty(const string*, google::protobuf::Arena*)’
  220 |   inline void ClearToEmpty(const ::std::string* default_value,
      |               ^~~~~~~~~~~~
/usr/include/google/protobuf/arenastring.h:220:15: note:   candidate expects 2 arguments, 0 provided
In file included from libcld3/task_context.h:23,
                 from libcld3/feature_extractor.h:49,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskSpec_Parameter::_internal_set_value(const string&)’:
./cld_3/protos/task_spec.pb.h:2241:65: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 2241 |   value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
      |                                                                 ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskSpec_Parameter::set_value(std::string&&)’:
./cld_3/protos/task_spec.pb.h:2246:56: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 2246 |     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
      |                                                        ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskSpec_Parameter::set_value(const char*)’:
./cld_3/protos/task_spec.pb.h:2252:65: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 2252 |   value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
      |                                                                 ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskSpec_Parameter::set_value(const char*, size_t)’:
./cld_3/protos/task_spec.pb.h:2258:65: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 2258 |   value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
      |                                                                 ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘std::string* chrome_lang_id::TaskSpec_Parameter::_internal_mutable_value()’:
./cld_3/protos/task_spec.pb.h:2264:76: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 2264 |   return value_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
      |                                                                            ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskSpec::clear_task_name()’:
./cld_3/protos/task_spec.pb.h:2298:27: error: no matching function for call to ‘google::protobuf::internal::ArenaStringPtr::ClearToEmpty()’
 2298 |   task_name_.ClearToEmpty();
      |                           ^
In file included from ./cld_3/protos/feature_extractor.pb.h:25,
                 from libcld3/feature_extractor.h:45,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
/usr/include/google/protobuf/arenastring.h:220:15: note: candidate: ‘void google::protobuf::internal::ArenaStringPtr::ClearToEmpty(const string*, google::protobuf::Arena*)’
  220 |   inline void ClearToEmpty(const ::std::string* default_value,
      |               ^~~~~~~~~~~~
/usr/include/google/protobuf/arenastring.h:220:15: note:   candidate expects 2 arguments, 0 provided
In file included from libcld3/task_context.h:23,
                 from libcld3/feature_extractor.h:49,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskSpec::_internal_set_task_name(const string&)’:
./cld_3/protos/task_spec.pb.h:2318:69: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 2318 |   task_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
      |                                                                     ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskSpec::set_task_name(std::string&&)’:
./cld_3/protos/task_spec.pb.h:2323:56: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 2323 |     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
      |                                                        ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskSpec::set_task_name(const char*)’:
./cld_3/protos/task_spec.pb.h:2329:69: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 2329 |   task_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
      |                                                                     ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskSpec::set_task_name(const char*, size_t)’:
./cld_3/protos/task_spec.pb.h:2335:69: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 2335 |   task_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
      |                                                                     ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘std::string* chrome_lang_id::TaskSpec::_internal_mutable_task_name()’:
./cld_3/protos/task_spec.pb.h:2341:80: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 2341 |   return task_name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
      |                                                                                ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskSpec::clear_task_type()’:
./cld_3/protos/task_spec.pb.h:2371:27: error: no matching function for call to ‘google::protobuf::internal::ArenaStringPtr::ClearToEmpty()’
 2371 |   task_type_.ClearToEmpty();
      |                           ^
In file included from ./cld_3/protos/feature_extractor.pb.h:25,
                 from libcld3/feature_extractor.h:45,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
/usr/include/google/protobuf/arenastring.h:220:15: note: candidate: ‘void google::protobuf::internal::ArenaStringPtr::ClearToEmpty(const string*, google::protobuf::Arena*)’
  220 |   inline void ClearToEmpty(const ::std::string* default_value,
      |               ^~~~~~~~~~~~
/usr/include/google/protobuf/arenastring.h:220:15: note:   candidate expects 2 arguments, 0 provided
In file included from libcld3/task_context.h:23,
                 from libcld3/feature_extractor.h:49,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskSpec::_internal_set_task_type(const string&)’:
./cld_3/protos/task_spec.pb.h:2391:69: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 2391 |   task_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
      |                                                                     ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskSpec::set_task_type(std::string&&)’:
./cld_3/protos/task_spec.pb.h:2396:56: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 2396 |     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
      |                                                        ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskSpec::set_task_type(const char*)’:
./cld_3/protos/task_spec.pb.h:2402:69: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 2402 |   task_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
      |                                                                     ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘void chrome_lang_id::TaskSpec::set_task_type(const char*, size_t)’:
./cld_3/protos/task_spec.pb.h:2408:69: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 2408 |   task_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
      |                                                                     ^~~~~~~~~~~~
./cld_3/protos/task_spec.pb.h: In member function ‘std::string* chrome_lang_id::TaskSpec::_internal_mutable_task_type()’:
./cld_3/protos/task_spec.pb.h:2414:80: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 2414 |   return task_type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
      |                                                                                ^~~~~~~~~~~~
In file included from libcld3/language_identifier_features.h:24,
                 from libcld3/nnet_language_identifier.h:25,
                 from wrapper.cpp:2:
./cld_3/protos/sentence.pb.h: At global scope:
./cld_3/protos/sentence.pb.h:46:51: error: ‘AuxiliaryParseTableField’ in namespace ‘google::protobuf::internal’ does not name a type; did you mean ‘AuxillaryParseTableField’?
   46 |   static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
      |                                                   ^~~~~~~~~~~~~~~~~~~~~~~~
      |                                                   AuxillaryParseTableField
./cld_3/protos/sentence.pb.h:88:30: error: ‘ConstStringParam’ is not a member of ‘google::protobuf’
   88 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Token_BreakLevel* value);
      |                              ^~~~~~~~~~~~~~~~
./cld_3/protos/sentence.pb.h:88:69: error: expected primary-expression before ‘*’ token
   88 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Token_BreakLevel* value);
      |                                                                     ^
./cld_3/protos/sentence.pb.h:88:71: error: ‘value’ was not declared in this scope
   88 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Token_BreakLevel* value);
      |                                                                       ^~~~~
./cld_3/protos/sentence.pb.h:88:76: error: expression list treated as compound expression in initializer [-fpermissive]
   88 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Token_BreakLevel* value);
      |                                                                            ^
./cld_3/protos/sentence.pb.h:402:64: error: ‘google::protobuf::ConstStringParam’ has not been declared
  402 |   static inline bool BreakLevel_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
      |                                                                ^~~~~~~~~~~~~~~~
./cld_3/protos/sentence.pb.h: In static member function ‘static bool chrome_lang_id::Token::BreakLevel_Parse(int, chrome_lang_id::Token::BreakLevel*)’:
./cld_3/protos/sentence.pb.h:404:46: error: ‘chrome_lang_id::Token_BreakLevel_Parse’ cannot be used as a function
  404 |     return Token_BreakLevel_Parse(name, value);
      |                                              ^
./cld_3/protos/sentence.pb.h: In member function ‘void chrome_lang_id::Sentence::clear_id()’:
./cld_3/protos/sentence.pb.h:596:20: error: no matching function for call to ‘google::protobuf::internal::ArenaStringPtr::ClearToEmpty()’
  596 |   id_.ClearToEmpty();
      |                    ^
In file included from ./cld_3/protos/feature_extractor.pb.h:25,
                 from libcld3/feature_extractor.h:45,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
/usr/include/google/protobuf/arenastring.h:220:15: note: candidate: ‘void google::protobuf::internal::ArenaStringPtr::ClearToEmpty(const string*, google::protobuf::Arena*)’
  220 |   inline void ClearToEmpty(const ::std::string* default_value,
      |               ^~~~~~~~~~~~
/usr/include/google/protobuf/arenastring.h:220:15: note:   candidate expects 2 arguments, 0 provided
In file included from libcld3/language_identifier_features.h:24,
                 from libcld3/nnet_language_identifier.h:25,
                 from wrapper.cpp:2:
./cld_3/protos/sentence.pb.h: In member function ‘void chrome_lang_id::Sentence::_internal_set_id(const string&)’:
./cld_3/protos/sentence.pb.h:616:62: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
  616 |   id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
      |                                                              ^~~~~~~~~~~~
./cld_3/protos/sentence.pb.h: In member function ‘void chrome_lang_id::Sentence::set_id(std::string&&)’:
./cld_3/protos/sentence.pb.h:621:56: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
  621 |     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
      |                                                        ^~~~~~~~~~~~
./cld_3/protos/sentence.pb.h: In member function ‘void chrome_lang_id::Sentence::set_id(const char*)’:
./cld_3/protos/sentence.pb.h:627:62: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
  627 |   id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
      |                                                              ^~~~~~~~~~~~
./cld_3/protos/sentence.pb.h: In member function ‘void chrome_lang_id::Sentence::set_id(const char*, size_t)’:
./cld_3/protos/sentence.pb.h:633:62: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
  633 |   id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
      |                                                              ^~~~~~~~~~~~
./cld_3/protos/sentence.pb.h: In member function ‘std::string* chrome_lang_id::Sentence::_internal_mutable_id()’:
./cld_3/protos/sentence.pb.h:639:73: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
  639 |   return id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
      |                                                                         ^~~~~~~~~~~~
./cld_3/protos/sentence.pb.h: In member function ‘void chrome_lang_id::Sentence::clear_text()’:
./cld_3/protos/sentence.pb.h:669:22: error: no matching function for call to ‘google::protobuf::internal::ArenaStringPtr::ClearToEmpty()’
  669 |   text_.ClearToEmpty();
      |                      ^
In file included from ./cld_3/protos/feature_extractor.pb.h:25,
                 from libcld3/feature_extractor.h:45,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
/usr/include/google/protobuf/arenastring.h:220:15: note: candidate: ‘void google::protobuf::internal::ArenaStringPtr::ClearToEmpty(const string*, google::protobuf::Arena*)’
  220 |   inline void ClearToEmpty(const ::std::string* default_value,
      |               ^~~~~~~~~~~~
/usr/include/google/protobuf/arenastring.h:220:15: note:   candidate expects 2 arguments, 0 provided
In file included from libcld3/language_identifier_features.h:24,
                 from libcld3/nnet_language_identifier.h:25,
                 from wrapper.cpp:2:
./cld_3/protos/sentence.pb.h: In member function ‘void chrome_lang_id::Sentence::_internal_set_text(const string&)’:
./cld_3/protos/sentence.pb.h:689:64: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
  689 |   text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
      |                                                                ^~~~~~~~~~~~
./cld_3/protos/sentence.pb.h: In member function ‘void chrome_lang_id::Sentence::set_text(std::string&&)’:
./cld_3/protos/sentence.pb.h:694:56: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
  694 |     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
      |                                                        ^~~~~~~~~~~~
./cld_3/protos/sentence.pb.h: In member function ‘void chrome_lang_id::Sentence::set_text(const char*)’:
./cld_3/protos/sentence.pb.h:700:64: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
  700 |   text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
      |                                                                ^~~~~~~~~~~~
./cld_3/protos/sentence.pb.h: In member function ‘void chrome_lang_id::Sentence::set_text(const char*, size_t)’:
./cld_3/protos/sentence.pb.h:706:64: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
  706 |   text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
      |                                                                ^~~~~~~~~~~~
./cld_3/protos/sentence.pb.h: In member function ‘std::string* chrome_lang_id::Sentence::_internal_mutable_text()’:
./cld_3/protos/sentence.pb.h:712:75: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
  712 |   return text_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
      |                                                                           ^~~~~~~~~~~~
./cld_3/protos/sentence.pb.h: In member function ‘void chrome_lang_id::Token::clear_word()’:
./cld_3/protos/sentence.pb.h:785:22: error: no matching function for call to ‘google::protobuf::internal::ArenaStringPtr::ClearToEmpty()’
  785 |   word_.ClearToEmpty();
      |                      ^
In file included from ./cld_3/protos/feature_extractor.pb.h:25,
                 from libcld3/feature_extractor.h:45,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
/usr/include/google/protobuf/arenastring.h:220:15: note: candidate: ‘void google::protobuf::internal::ArenaStringPtr::ClearToEmpty(const string*, google::protobuf::Arena*)’
  220 |   inline void ClearToEmpty(const ::std::string* default_value,
      |               ^~~~~~~~~~~~
/usr/include/google/protobuf/arenastring.h:220:15: note:   candidate expects 2 arguments, 0 provided
In file included from libcld3/language_identifier_features.h:24,
                 from libcld3/nnet_language_identifier.h:25,
                 from wrapper.cpp:2:
./cld_3/protos/sentence.pb.h: In member function ‘void chrome_lang_id::Token::_internal_set_word(const string&)’:
./cld_3/protos/sentence.pb.h:805:64: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
  805 |   word_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
      |                                                                ^~~~~~~~~~~~
./cld_3/protos/sentence.pb.h: In member function ‘void chrome_lang_id::Token::set_word(std::string&&)’:
./cld_3/protos/sentence.pb.h:810:56: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
  810 |     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
      |                                                        ^~~~~~~~~~~~
./cld_3/protos/sentence.pb.h: In member function ‘void chrome_lang_id::Token::set_word(const char*)’:
./cld_3/protos/sentence.pb.h:816:64: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
  816 |   word_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
      |                                                                ^~~~~~~~~~~~
./cld_3/protos/sentence.pb.h: In member function ‘void chrome_lang_id::Token::set_word(const char*, size_t)’:
./cld_3/protos/sentence.pb.h:822:64: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
  822 |   word_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
      |                                                                ^~~~~~~~~~~~
./cld_3/protos/sentence.pb.h: In member function ‘std::string* chrome_lang_id::Token::_internal_mutable_word()’:
./cld_3/protos/sentence.pb.h:828:75: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
  828 |   return word_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
      |                                                                           ^~~~~~~~~~~~
./cld_3/protos/sentence.pb.h: In member function ‘void chrome_lang_id::Token::clear_tag()’:
./cld_3/protos/sentence.pb.h:942:21: error: no matching function for call to ‘google::protobuf::internal::ArenaStringPtr::ClearToEmpty()’
  942 |   tag_.ClearToEmpty();
      |                     ^
In file included from ./cld_3/protos/feature_extractor.pb.h:25,
                 from libcld3/feature_extractor.h:45,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
/usr/include/google/protobuf/arenastring.h:220:15: note: candidate: ‘void google::protobuf::internal::ArenaStringPtr::ClearToEmpty(const string*, google::protobuf::Arena*)’
  220 |   inline void ClearToEmpty(const ::std::string* default_value,
      |               ^~~~~~~~~~~~
/usr/include/google/protobuf/arenastring.h:220:15: note:   candidate expects 2 arguments, 0 provided
In file included from libcld3/language_identifier_features.h:24,
                 from libcld3/nnet_language_identifier.h:25,
                 from wrapper.cpp:2:
./cld_3/protos/sentence.pb.h: In member function ‘void chrome_lang_id::Token::_internal_set_tag(const string&)’:
./cld_3/protos/sentence.pb.h:962:63: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
  962 |   tag_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
      |                                                               ^~~~~~~~~~~~
./cld_3/protos/sentence.pb.h: In member function ‘void chrome_lang_id::Token::set_tag(std::string&&)’:
./cld_3/protos/sentence.pb.h:967:56: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
  967 |     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
      |                                                        ^~~~~~~~~~~~
./cld_3/protos/sentence.pb.h: In member function ‘void chrome_lang_id::Token::set_tag(const char*)’:
./cld_3/protos/sentence.pb.h:973:63: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
  973 |   tag_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
      |                                                               ^~~~~~~~~~~~
./cld_3/protos/sentence.pb.h: In member function ‘void chrome_lang_id::Token::set_tag(const char*, size_t)’:
./cld_3/protos/sentence.pb.h:979:63: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
  979 |   tag_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
      |                                                               ^~~~~~~~~~~~
./cld_3/protos/sentence.pb.h: In member function ‘std::string* chrome_lang_id::Token::_internal_mutable_tag()’:
./cld_3/protos/sentence.pb.h:985:74: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
  985 |   return tag_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
      |                                                                          ^~~~~~~~~~~~
./cld_3/protos/sentence.pb.h: In member function ‘void chrome_lang_id::Token::clear_category()’:
./cld_3/protos/sentence.pb.h:1015:26: error: no matching function for call to ‘google::protobuf::internal::ArenaStringPtr::ClearToEmpty()’
 1015 |   category_.ClearToEmpty();
      |                          ^
In file included from ./cld_3/protos/feature_extractor.pb.h:25,
                 from libcld3/feature_extractor.h:45,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
/usr/include/google/protobuf/arenastring.h:220:15: note: candidate: ‘void google::protobuf::internal::ArenaStringPtr::ClearToEmpty(const string*, google::protobuf::Arena*)’
  220 |   inline void ClearToEmpty(const ::std::string* default_value,
      |               ^~~~~~~~~~~~
/usr/include/google/protobuf/arenastring.h:220:15: note:   candidate expects 2 arguments, 0 provided
In file included from libcld3/language_identifier_features.h:24,
                 from libcld3/nnet_language_identifier.h:25,
                 from wrapper.cpp:2:
./cld_3/protos/sentence.pb.h: In member function ‘void chrome_lang_id::Token::_internal_set_category(const string&)’:
./cld_3/protos/sentence.pb.h:1035:68: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1035 |   category_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
      |                                                                    ^~~~~~~~~~~~
./cld_3/protos/sentence.pb.h: In member function ‘void chrome_lang_id::Token::set_category(std::string&&)’:
./cld_3/protos/sentence.pb.h:1040:56: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1040 |     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
      |                                                        ^~~~~~~~~~~~
./cld_3/protos/sentence.pb.h: In member function ‘void chrome_lang_id::Token::set_category(const char*)’:
./cld_3/protos/sentence.pb.h:1046:68: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1046 |   category_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
      |                                                                    ^~~~~~~~~~~~
./cld_3/protos/sentence.pb.h: In member function ‘void chrome_lang_id::Token::set_category(const char*, size_t)’:
./cld_3/protos/sentence.pb.h:1052:68: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1052 |   category_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
      |                                                                    ^~~~~~~~~~~~
./cld_3/protos/sentence.pb.h: In member function ‘std::string* chrome_lang_id::Token::_internal_mutable_category()’:
./cld_3/protos/sentence.pb.h:1058:79: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1058 |   return category_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
      |                                                                               ^~~~~~~~~~~~
./cld_3/protos/sentence.pb.h: In member function ‘void chrome_lang_id::Token::clear_label()’:
./cld_3/protos/sentence.pb.h:1088:23: error: no matching function for call to ‘google::protobuf::internal::ArenaStringPtr::ClearToEmpty()’
 1088 |   label_.ClearToEmpty();
      |                       ^
In file included from ./cld_3/protos/feature_extractor.pb.h:25,
                 from libcld3/feature_extractor.h:45,
                 from libcld3/embedding_feature_extractor.h:23,
                 from libcld3/nnet_language_identifier.h:22,
                 from wrapper.cpp:2:
/usr/include/google/protobuf/arenastring.h:220:15: note: candidate: ‘void google::protobuf::internal::ArenaStringPtr::ClearToEmpty(const string*, google::protobuf::Arena*)’
  220 |   inline void ClearToEmpty(const ::std::string* default_value,
      |               ^~~~~~~~~~~~
/usr/include/google/protobuf/arenastring.h:220:15: note:   candidate expects 2 arguments, 0 provided
In file included from libcld3/language_identifier_features.h:24,
                 from libcld3/nnet_language_identifier.h:25,
                 from wrapper.cpp:2:
./cld_3/protos/sentence.pb.h: In member function ‘void chrome_lang_id::Token::_internal_set_label(const string&)’:
./cld_3/protos/sentence.pb.h:1108:65: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1108 |   label_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
      |                                                                 ^~~~~~~~~~~~
./cld_3/protos/sentence.pb.h: In member function ‘void chrome_lang_id::Token::set_label(std::string&&)’:
./cld_3/protos/sentence.pb.h:1113:56: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1113 |     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
      |                                                        ^~~~~~~~~~~~
./cld_3/protos/sentence.pb.h: In member function ‘void chrome_lang_id::Token::set_label(const char*)’:
./cld_3/protos/sentence.pb.h:1119:65: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1119 |   label_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
      |                                                                 ^~~~~~~~~~~~
./cld_3/protos/sentence.pb.h: In member function ‘void chrome_lang_id::Token::set_label(const char*, size_t)’:
./cld_3/protos/sentence.pb.h:1125:65: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1125 |   label_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
      |                                                                 ^~~~~~~~~~~~
./cld_3/protos/sentence.pb.h: In member function ‘std::string* chrome_lang_id::Token::_internal_mutable_label()’:
./cld_3/protos/sentence.pb.h:1131:76: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
 1131 |   return label_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
      |                                                                            ^~~~~~~~~~~~
make: *** [/usr/lib/R/etc/Makeconf:177: wrapper.o] Error 1
ERROR: compilation failed for package ‘cld3’
* removing ‘/home/ben/R/x86_64-pc-linux-gnu-library/4.1/cld3’

The downloaded source packages are in
	‘/tmp/RtmpdQiQ4l/downloaded_packages’


✔ Package 'cld3' successfully installed.
Warning message:
In utils::install.packages("cld3", repos = "https://cloud.r-project.org") :
  installation of package ‘cld3’ had non-zero exit status

@BenWiseman
Copy link
Author

Oh, weird, installing in terminal (not Rstudio) it worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants