/tmp/cc4oF0nm.o: In function `tutorial::Person_PhoneType_descriptor()': addressbook.pb.cc:(.text+0x1e): undefined reference to `google::protobuf::internal::AssignDescriptors(google::protobuf::internal::DescriptorTable const*, bool)'
There are many similar errors when I run ”g++ addressbook.pb.cc add_person.cc -o main `pkg-config --cflags --libs protobuf` ”in ~/protobuf/examples Here's how I installed 3.19.3: ./configure --prefix=/usr make -j8 make check -j8 #7 pass sudo make install sudo ldconfig I have tried 2.x.x and 3.19.3, both are wrong, include ROS melodic. And I tried to delete all file like "/include/proto*" and "libproto*" except file of Anaconda and python. And then I tried to install again, problem was as usual :(. I have no idea how to fix this. -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/protobuf/e022304a-321e-47f2-996d-e94a8236d8f1n%40googlegroups.com.
