Hi. 

I have learned about protocol buffers and

I want to socket data communication with protocol buffers in ubuntu C, C++

but I have an error.

I made a proto file(business.proto) and compiled the file 

and got business.pb.cc & business.pb.h file.

and copied that to eclipse project, and made a Server, Client (socket 
programming code).

Two code was typed #include "business.pb.h"

and I typed terminal

$ g++ Server.cpp business.pb.cc `-pkg -config --cflags --libs protobuf`

and got this error....

<https://lh3.googleusercontent.com/-rLlFtQnCjto/V0fkWfCKcyI/AAAAAAAAAEQ/nbcVz31ZmqU8P5fYQ8NdNF3ubZhpW7SGgCLcB/s1600/protoerr.jpg>

<https://lh3.googleusercontent.com/-z4rHF29AxEk/V0fkYxWki_I/AAAAAAAAAEU/IJ22K5hI50s1uIKXdBSoKuqB0UrEmvS6wCLcB/s1600/protoerr2.jpg>

<https://lh3.googleusercontent.com/-kMUnWqSiEj8/V0fkaj4kU6I/AAAAAAAAAEY/DDCnFtDHsAE71uIlaeYe8Ta9cE2L1iBfACLcB/s1600/protoerr3.jpg>





and my initializing code(initialize message values), message(proto) file.

<https://lh3.googleusercontent.com/--H_O9y9-hBM/V0fkfLPgVqI/AAAAAAAAAEc/clLsA1jABi470Kp6XnSzzgI2BfpYxQI0ACLcB/s1600/protoerr_code_message.jpg>


What is matter, and what should i do...?

please give me a answer.

(how to compile command typing, files(.pb.cc//.pb.h) locations 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