Hi,
For a good week or two I am trying to use protobuf in c++ without luck.
I understand the prorcess of generate pb.c and pb.h files from headers.
But for de/serializing the binary files you actually need static libraries.
System wide installation on ubuntu, mac-universal and windows are
"sometimes" available or outdated which lead to build it C++ from source
which is impossible to me to understand.
What should I do to use protobuf in c++?
Documentation about installation is really not clear.
I am the most basic user trying to de/serialize as simple as that:
syntax = "proto3";
package session_proto;
// Color message - matching C++ Color class field order
message ColorProto {
string name = 1; // std::string name
string guid = 2; // std::string guid
uint32 r = 3; // unsigned int r
uint32 g = 4; // unsigned int g
uint32 b = 5; // unsigned int b
uint32 a = 6; // unsigned int a
}
--
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 visit
https://groups.google.com/d/msgid/protobuf/94bdeb00-3433-4e79-91cc-9333db896210n%40googlegroups.com.