前提・実現したいこと
こちらは以下のリンク先の続きのエラーメッセージです。
https://teratail.com/questions/140486
発生している問題・エラーメッセージ[2/2]
../src/muddy-children-puzzle/model/muddy_protocol.pb.cc: In member function ‘virtual google::protobuf::Metadata protocol::State::GetMetadata() const’: ../src/muddy-children-puzzle/model/muddy_protocol.pb.cc:1691:67: error: ‘kIndexInFileMessages’ was not declared in this scope return ::protobuf_muddy_5fprotocol_2eproto::file_level_metadata[kIndexInFileMessages]; ^ ../src/muddy-children-puzzle/model/muddy_protocol.pb.cc: In static member function ‘static const google::protobuf::Descriptor* protocol::Hello::descriptor()’: ../src/muddy-children-puzzle/model/muddy_protocol.pb.cc:1740:67: error: ‘kIndexInFileMessages’ was not declared in this scope return ::protobuf_muddy_5fprotocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; ^ ../src/muddy-children-puzzle/model/muddy_protocol.pb.cc: In member function ‘virtual google::protobuf::Metadata protocol::Hello::GetMetadata() const’: ../src/muddy-children-puzzle/model/muddy_protocol.pb.cc:1929:67: error: ‘kIndexInFileMessages’ was not declared in this scope return ::protobuf_muddy_5fprotocol_2eproto::file_level_metadata[kIndexInFileMessages]; ^ ../src/muddy-children-puzzle/model/muddy_protocol.pb.cc: In static member function ‘static const google::protobuf::Descriptor* protocol::Tick::descriptor()’: ../src/muddy-children-puzzle/model/muddy_protocol.pb.cc:1978:67: error: ‘kIndexInFileMessages’ was not declared in this scope return ::protobuf_muddy_5fprotocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; ^ ../src/muddy-children-puzzle/model/muddy_protocol.pb.cc: In member function ‘virtual google::protobuf::Metadata protocol::Tick::GetMetadata() const’: ../src/muddy-children-puzzle/model/muddy_protocol.pb.cc:2167:67: error: ‘kIndexInFileMessages’ was not declared in this scope return ::protobuf_muddy_5fprotocol_2eproto::file_level_metadata[kIndexInFileMessages]; ^ ../src/muddy-children-puzzle/model/muddy_protocol.pb.cc: In static member function ‘static const google::protobuf::Descriptor* protocol::Vision::descriptor()’: ../src/muddy-children-puzzle/model/muddy_protocol.pb.cc:2215:67: error: ‘kIndexInFileMessages’ was not declared in this scope return ::protobuf_muddy_5fprotocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; ^ ../src/muddy-children-puzzle/model/muddy_protocol.pb.cc: In member function ‘void protocol::Vision::InternalSwap(protocol::Vision*)’: ../src/muddy-children-puzzle/model/muddy_protocol.pb.cc:2401:41: error: ‘google::protobuf::internal::RepeatedPtrFieldBase’ is an inaccessible base of ‘google::protobuf::RepeatedPtrField<protocol::State>’ visions_.InternalSwap(&other->visions_); ^ ../src/muddy-children-puzzle/model/muddy_protocol.pb.cc: In member function ‘virtual google::protobuf::Metadata protocol::Vision::GetMetadata() const’: ../src/muddy-children-puzzle/model/muddy_protocol.pb.cc:2408:67: error: ‘kIndexInFileMessages’ was not declared in this scope return ::protobuf_muddy_5fprotocol_2eproto::file_level_metadata[kIndexInFileMessages]; ^ ../src/muddy-children-puzzle/model/muddy_protocol.pb.cc: In static member function ‘static const google::protobuf::Descriptor* protocol::Impossible::descriptor()’: ../src/muddy-children-puzzle/model/muddy_protocol.pb.cc:2456:67: error: ‘kIndexInFileMessages’ was not declared in this scope return ::protobuf_muddy_5fprotocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; ^ ../src/muddy-children-puzzle/model/muddy_protocol.pb.cc: In member function ‘void protocol::Impossible::InternalSwap(protocol::Impossible*)’: ../src/muddy-children-puzzle/model/muddy_protocol.pb.cc:2642:49: error: ‘google::protobuf::internal::RepeatedPtrFieldBase’ is an inaccessible base of ‘google::protobuf::RepeatedPtrField<protocol::State>’ impossibles_.InternalSwap(&other->impossibles_); ^ ../src/muddy-children-puzzle/model/muddy_protocol.pb.cc: In member function ‘virtual google::protobuf::Metadata protocol::Impossible::GetMetadata() const’: ../src/muddy-children-puzzle/model/muddy_protocol.pb.cc:2649:67: error: ‘kIndexInFileMessages’ was not declared in this scope return ::protobuf_muddy_5fprotocol_2eproto::file_level_metadata[kIndexInFileMessages]; ^ ../src/muddy-children-puzzle/model/muddy_protocol.pb.cc: In static member function ‘static const google::protobuf::Descriptor* protocol::Answer::descriptor()’: ../src/muddy-children-puzzle/model/muddy_protocol.pb.cc:2705:67: error: ‘kIndexInFileMessages’ was not declared in this scope return ::protobuf_muddy_5fprotocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; ^ ../src/muddy-children-puzzle/model/muddy_protocol.pb.cc: In member function ‘virtual google::protobuf::Metadata protocol::Answer::GetMetadata() const’: ../src/muddy-children-puzzle/model/muddy_protocol.pb.cc:2944:67: error: ‘kIndexInFileMessages’ was not declared in this scope return ::protobuf_muddy_5fprotocol_2eproto::file_level_metadata[kIndexInFileMessages]; ^ ../src/muddy-children-puzzle/model/muddy_protocol.pb.cc: In static member function ‘static const google::protobuf::Descriptor* protocol::Ask::descriptor()’: ../src/muddy-children-puzzle/model/muddy_protocol.pb.cc:2993:67: error: ‘kIndexInFileMessages’ was not declared in this scope return ::protobuf_muddy_5fprotocol_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; ^ ../src/muddy-children-puzzle/model/muddy_protocol.pb.cc: In member function ‘virtual google::protobuf::Metadata protocol::Ask::GetMetadata() const’: ../src/muddy-children-puzzle/model/muddy_protocol.pb.cc:3182:67: error: ‘kIndexInFileMessages’ was not declared in this scope return ::protobuf_muddy_5fprotocol_2eproto::file_level_metadata[kIndexInFileMessages]; ^ Waf: Leaving directory `/home/yuki/ns-allinone-3.27/ns-3.27/build' Build failed -> task in 'ns3-muddy-children-puzzle' failed (exit status 1): {task 139706794985104: cxx muddy_protocol.pb.cc -> muddy_protocol.pb.cc.1.o} ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-std=c++11', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-fPIC', '-pthread', '-pthread', '-I.', '-I..', '-I/usr/include/gtk-2.0', '-I/usr/lib/x86_64-linux-gnu/gtk-2.0/include', '-I/usr/include/gio-unix-2.0', '-I/usr/include/cairo', '-I/usr/include/pango-1.0', '-I/usr/include/atk-1.0', '-I/usr/include/pixman-1', '-I/usr/include/libpng12', '-I/usr/include/gdk-pixbuf-2.0', '-I/usr/include/harfbuzz', '-I/usr/include/glib-2.0', '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include', '-I/usr/include/freetype2', '-I/usr/include/libxml2', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_PACKET_H=1', '-DHAVE_IF_TUN_H=1', '-DHAVE_GTK2=1', '-DHAVE_LIBXML2=1', '../src/muddy-children-puzzle/model/muddy_protocol.pb.cc', '-c', '-o', '/home/yuki/ns-allinone-3.27/ns-3.27/build/src/muddy-children-puzzle/model/muddy_protocol.pb.cc.1.o']
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。