<https://lh3.googleusercontent.com/-IvXa2kCbW-c/V0faCKL5wPI/AAAAAAAAADc/jsd_ng4nvvMoCM6UzfhrqOxnKr-rXCBPQCLcB/s1600/message%252C%2Binitialize_code.jpg>

<https://lh3.googleusercontent.com/-2-RCreyOv18/V0fZkIcPtgI/AAAAAAAAADU/WqxvI5gN-_k_ww8SzJgkc6LCdFPDkO0qwCLcB/s1600/protoerr_code_message.jpg>

<https://lh3.googleusercontent.com/-oASsto2t2m0/V0fZMmooH4I/AAAAAAAAADQ/q9O-aLgM8bohDaGozwLRhiuPM72jqvd8ACLcB/s1600/protoerr3.jpg>

<https://lh3.googleusercontent.com/-XDYHhGslNeY/V0fZJZGx9cI/AAAAAAAAADM/sjpPYmFt4hQRjMEIiTAAKWAahWSWEdXvQCLcB/s1600/protoerr2.jpg>

Hi.

I learned about protocol buffers 
in https://developers.google.com/protocol-buffers/ site.

and I want to Socket data send, receive with protocol buffers.

I maked .proto file and compile that and I got .pb.cc // .pb.h files.

and maked a Server & Client code, and #include "~~.pb.h" 

and initialized values.

and compiled it.

I typed in terminal : $ g++ Server.cpp business.pb.cc `-pkg -config 
--cflags --libs protobuf`

but I got a lot of errors like this :

<https://lh3.googleusercontent.com/-zPC_D5UxLf8/V0fZCi-ujGI/AAAAAAAAADI/ILK9Bpkn7R01KI2GThy0EKFlBT09voPTACLcB/s1600/protoerr.jpg>

<https://lh3.googleusercontent.com/-XDYHhGslNeY/V0fZJZGx9cI/AAAAAAAAADM/sjpPYmFt4hQRjMEIiTAAKWAahWSWEdXvQCLcB/s1600/protoerr2.jpg>

<https://lh3.googleusercontent.com/-oASsto2t2m0/V0fZMmooH4I/AAAAAAAAADQ/q9O-aLgM8bohDaGozwLRhiuPM72jqvd8ACLcB/s1600/protoerr3.jpg>
and below is my message(proto) file, and initializing code.

<https://lh3.googleusercontent.com/-IvXa2kCbW-c/V0faCKL5wPI/AAAAAAAAADc/jsd_ng4nvvMoCM6UzfhrqOxnKr-rXCBPQCLcB/s1600/message%252C%2Binitialize_code.jpg>

What is matters, and what should i do?

I'm beginner about protobuf.

plz give me an answer.

(file location, command typing, and so on..)

thx.

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to