tkn-tub / ns3-gym

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

Some problems during ./ns3 build about ld.lld: error: undefined symbol: google::protobuf::internal::AnyMetadata::PackFrom(google::protobuf::Arena*, google::protobuf::Message const&) #98

Open chenwenqiao opened 2 months ago

chenwenqiao commented 2 months ago

I am trying to build ns3gym(app-ns-3.36+) following the instructions in the README. I have installed all the required packages, but I get the error message : ld.lld: error: undefined symbol: google::protobuf::internal::AnyMetadata::PackFrom(google::protobuf::Arena*, google::protobuf::Message const&)

referenced by any.pb.h:112 (/home/bcng/anaconda3/include/google/protobuf/any.pb.h:112) CMakeFiles/opengym-2.dir/opengym-2/mygym.cc.o:(google::protobuf::Any::PackFrom(google::protobuf::Message const&)) More details is shown in following figure: ns3gym安装build报错 I guess this problem is related to anaconda, but I don't know how to slove it. I wonder how to solve this problem urgently. I am stuck here for days. Thanks for any reply and potential solutions.