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/-RB9DRvLjpsY/V0fct1HhOkI/AAAAAAAAADs/mfXZXaTL7pg5uDdAlavj0j57zXVacZs_wCLcB/s1600/protoerr.jpg> <https://lh3.googleusercontent.com/-jHiNMTelFes/V0fcv24qs6I/AAAAAAAAADw/dCFnkDPpLPcLYUpRgt3KkLE58QgKoxkTgCLcB/s1600/protoerr2.jpg> <https://lh3.googleusercontent.com/-4sxVFTYGoZw/V0fcxw-QJwI/AAAAAAAAAD0/XUvZFeF_T24Grh_4xHNDM2KX6u3Boyq2wCLcB/s1600/protoerr3.jpg> and my initializing code(initialize message values), message(proto) file. <https://lh3.googleusercontent.com/-qKVsyX8ovxU/V0fdBlVvCWI/AAAAAAAAAD4/FGTQDNn3M5kmZUwAo9GLm5apqeQh_lw5QCLcB/s1600/message%252C%2Binitialize_code.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.
