Hello! I am trying to resurrect a project from 2020 which is using protobuf.
It comes with a script to install dependencies wich installs protobuf like this: * wget https://github.com/google/protobuf/releases/download/v${PROTO_V}/protobuf-all-${PROTO_V}.zip > /dev/null unzip protobuf-all-${PROTO_V} > /dev/null cd protobuf-${PROTO_V} ./autogen.sh > /dev/null if [ "$COMPILER" = "clang++" ]; then ./configure CXX=clang++ CXXFLAGS='-std=c++11 -stdlib=libc++ -O3 -g' > /dev/null else ./configure CXX=g++ CXXFLAGS='-std=c++11 -O3 -g' > /dev/null fi make -j4 > /dev/null sudo make install > /dev/null sudo ldconfig > /dev/null*which seems to work: *protoc --versionlibprotoc 3.9.1*The project is then compiled via another script which does so by either using Clang (version 5 or newer) or gcc (version 7 or newer) (according to doc). I've got *gcc version 11.2.0 (Ubuntu 11.2.0-19ubuntu1)Ubuntu clang version 14.0.0-1ubuntu1* installed. However when trying to compile I get like 50+ of those errors: *undefined reference to `google::protobuf::.....* While googeling for a fix, I found that this may have to do with an update to the compilers, however non of the fixes I found seemed to work out for me :( Can anyone help me out on this? Looking forward to hearing from you, Florian -- 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/2918ace0-c224-478c-8511-5e497c5574abn%40googlegroups.com.
