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

ubuntu2210 #86

Open
Windy-with-sky opened this issue Jun 29, 2023 · 0 comments
Open

ubuntu2210 #86

Windy-with-sky opened this issue Jun 29, 2023 · 0 comments

Comments

@Windy-with-sky
Copy link

/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::set_info(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_set_info(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_mutable_info()’:
/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_allocated_info(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::clear_actdata()’:
/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

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

1 participant