- If you have protobuf installed, check which version you use with the command:
protoc --version
-
If you do not , follow the instructions in C++ Installation - Unix.
-
According to its version download the referent in protobuf/tags.
-
Extract the downloaded file and go to
/protobuf-3.6.1/src/
(example version). -
Copy the google folder and paste it into
/ssl-Client/net
-
Go to folder
/ssl-Client/net/pb/proto/
and run:
sh compile.sh
Obs: when building the program, if something referring to google/protobuf/stubs/common.h
has any errors, it will probably be an incompatibility version problem with protobuf (net/google
).