tkn-tub / ns3-gym

ns3-gym - The Playground for Reinforcement Learning in Networking Research
GNU General Public License v2.0
514 stars 196 forks source link

ubuntu2210 #86

Open Windy-with-sky opened 1 year ago

Windy-with-sky commented 1 year ago

/usr/include/google/protobuf/arenastring.h:220:15: note: candidate expects 2 arguments, 0 provided /home/q/repos/ns-allinone-3.38/ns-3.38/contrib/opengym/model/messages.pb.h: In member function ‘void ns3opengym::EnvStateMsg::setinfo(ArgT0&&, ArgT ...)’: /home/q/repos/ns-allinone-3.38/ns-3.38/contrib/opengym/model/messages.pb.h:4028:50: error: there are no arguments to ‘GetArenaForAllocation’ that depend on a template parameter, so a declaration of ‘GetArenaForAllocation’ must be available [-fpermissive] 4028 | info.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); | ^~~~~ /home/q/repos/ns-allinone-3.38/ns-3.38/contrib/opengym/model/messages.pb.h: In member function ‘void ns3opengym::EnvStateMsg::_internal_setinfo(const std::string&)’: /home/q/repos/ns-allinone-3.38/ns-3.38/contrib/opengym/model/messages.pb.h:4041:20: error: ‘GetArenaForAllocation’ was not declared in this scope 4041 | info.Set(value, GetArenaForAllocation()); | ^~~~~ /home/q/repos/ns-allinone-3.38/ns-3.38/contrib/opengym/model/messages.pb.h: In member function ‘std::string ns3opengym::EnvStateMsg::_internal_mutableinfo()’: /home/q/repos/ns-allinone-3.38/ns-3.38/contrib/opengym/model/messages.pb.h:4045:24: error: ‘GetArenaForAllocation’ was not declared in this scope 4045 | return info.Mutable(GetArenaForAllocation()); | ^~~~~ /home/q/repos/ns-allinone-3.38/ns-3.38/contrib/opengym/model/messages.pb.h: At global scope: /home/q/repos/ns-allinone-3.38/ns-3.38/contrib/opengym/model/messages.pb.h:4047:21: error: no declaration matches ‘std::string ns3opengym::EnvStateMsg::release_info()’ 4047 | inline std::string EnvStateMsg::release_info() { | ^~~ /home/q/repos/ns-allinone-3.38/ns-3.38/contrib/opengym/model/messages.pb.h:4047:21: note: no functions named ‘std::string ns3opengym::EnvStateMsg::release_info()’ /home/q/repos/ns-allinone-3.38/ns-3.38/contrib/opengym/model/messages.pb.h:2283:7: note: ‘class ns3opengym::EnvStateMsg’ defined here 2283 | class EnvStateMsg final : | ^~~ /home/q/repos/ns-allinone-3.38/ns-3.38/contrib/opengym/model/messages.pb.h: In member function ‘void ns3opengym::EnvStateMsg::set_allocatedinfo(std::string*)’: /home/q/repos/ns-allinone-3.38/ns-3.38/contrib/opengym/model/messages.pb.h:4057:28: error: ‘GetArenaForAllocation’ was not declared in this scope 4057 | info.SetAllocated(info, GetArenaForAllocation()); | ^~~~~ /home/q/repos/ns-allinone-3.38/ns-3.38/contrib/opengym/model/messages.pb.h: In member function ‘void ns3opengym::EnvActMsg::clearactdata()’: /home/q/repos/ns-allinone-3.38/ns-3.38/contrib/opengym/model/messages.pb.h:4078:7: error: ‘GetArenaForAllocation’ was not declared in this scope 4078 | if (GetArenaForAllocation() == nullptr && actdata != nullptr) { | ^~~~~ /home/q/repos/ns-allinone-3.38/ns-3.38/contrib/opengym/model/messages.pb.h: In member function ‘void ns3opengym::EnvActMsg::unsafe_arena_set_allocated_actdata(ns3opengym::DataContainer)’: /home/q/repos/ns-allinone-3.38/ns-3.38/contrib/opengym/model/messages.pb.h:4094:7: error: ‘GetArenaForAllocation’ was not declared in this scope 4094 | if (GetArenaForAllocation() == nullptr) { | ^~~~~ /home/q/repos/ns-allinone-3.38/ns-3.38/contrib/opengym/model/messages.pb.h: At global scope: /home/q/repos/ns-allinone-3.38/ns-3.38/contrib/opengym/model/messages.pb.h:4105:37: error: no declaration matches ‘ns3opengym::DataContainer ns3opengym::EnvActMsg::release_actdata()’ 4105 | inline ::ns3opengym::DataContainer EnvActMsg::release_actdata() { | ^~~~~ /home/q/repos/ns-allinone-3.38/ns-3.38/contrib/opengym/model/messages.pb.h:4105:37: note: no functions named ‘ns3opengym::DataContainer ns3opengym::EnvActMsg::release_actdata()’ /home/q/repos/ns-allinone-3.38/ns-3.38/contrib/opengym/model/messages.pb.h:2514:7: note: ‘class ns3opengym::EnvActMsg’ defined here 2514 | class EnvActMsg final : | ^~~~~ /home/q/repos/ns-allinone-3.38/ns-3.38/contrib/opengym/model/messages.pb.h: In member function ‘ns3opengym::DataContainer ns3opengym::EnvActMsg::_internal_mutable_actdata()’: /home/q/repos/ns-allinone-3.38/ns-3.38/contrib/opengym/model/messages.pb.h:4130:63: error: ‘GetArenaForAllocation’ was not declared in this scope 4130 | auto p = CreateMaybeMessage<::ns3opengym::DataContainer>(GetArenaForAllocation()); | ^~~~~ /home/q/repos/ns-allinone-3.38/ns-3.38/contrib/opengym/model/messages.pb.h: In member function ‘void ns3opengym::EnvActMsg::set_allocated_actdata(ns3opengym::DataContainer)’: /home/q/repos/ns-allinone-3.38/ns-3.38/contrib/opengym/model/messages.pb.h:4141:51: error: ‘GetArenaForAllocation’ was not declared in this scope 4141 | ::PROTOBUF_NAMESPACE_ID::Arena message_arena = GetArenaForAllocation(); | ^~~~~ /home/q/repos/ns-allinone-3.38/ns-3.38/contrib/opengym/model/messages.pb.h:4147:41: error: ‘InternalGetOwningArena’ is not a member of ‘google::protobuf::Arena’ 4147 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(actdata); | ^~~~~~ /home/q/repos/ns-allinone-3.38/ns-3.38/contrib/opengym/model/container.h: At global scope: /home/q/repos/ns-allinone-3.38/ns-3.38/contrib/opengym/model/container.h:187:1: error: invalid abstract return type for member function ‘virtual ns3opengym::DataContainer ns3::OpenGymBoxContainer::GetDataContainerPbMsg()’ 187 | OpenGymBoxContainer::GetDataContainerPbMsg() | ^~~~~~ /home/q/repos/ns-allinone-3.38/ns-3.38/contrib/opengym/model/messages.pb.h:1043:7: note: because the following virtual functions are pure within ‘ns3opengym::DataContainer’: 1043 | class DataContainer final : | ^~~~~ In file included from /home/q/repos/ns-allinone-3.38/ns-3.38/contrib/opengym/model/messages.pb.h:29: /usr/include/google/protobuf/message.h:237:12: note: ‘virtual google::protobuf::Message google::protobuf::Message::New() const’ 237 | Message New() const override = 0; | ^~~ [13/1608] Building CXX object src/test/CMakeFiles/libtest.dir/ns3tcp/ns3tcp-no-delay-test-suite.cc.o