What libraries should be associated with buffers generated by protocols, with C ++ code

I have mytest.cc and mytest.h output from the mytest.proto file, but I cannot find a link to how to compile the object using g ++. (.proto is excellent since I got it working with Python)

g ++ mytest.cc -l ???????

which libraries to include?

+4
source share
1 answer

I think you might need a link to libprotobuf

g++ mytest.cc -lprotobuf -o mytest 
+11
source

All Articles