Question

I have the mytest.cc and mytest.h output from a mytest.proto file, but I can't find any reference on to how to compile a object using g++ for this. (the .proto is fine as I got it working with Python)

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

what libraries to include?

Was it helpful?

Solution

I think you may need to link to libprotobuf

g++ mytest.cc -lprotobuf -o mytest
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top