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?
I think you may need to link to libprotobuf
g++ mytest.cc -lprotobuf -o mytest
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With