Hi, I'm new to both protocol buffer and to linux system, so excuse me for simple questions. :)
I try to "make" in the example directory. I got the following errors: ...../protobuf-2.3.0/examples$ make pkg-config --cflags protobuf # fails if protobuf is not installed -pthread -I/usr/local/include c++ add_person.cc addressbook.pb.cc -o add_person_cpp `pkg-config -- cflags --libs protobuf` In file included from add_person.cc:6: addressbook.pb.h:9:42: error: google/protobuf/stubs/common.h: No such file or directory addressbook.pb.h:12:2: error: #error This file was generated by a newer version of protoc which is addressbook.pb.h:13:2: error: #error incompatible with your Protocol Buffer headers. Please update addressbook.pb.h:14:2: error: #error your headers. addressbook.pb.h:22:52: error: google/protobuf/ generated_message_util.h: No such file or directory ......(many more) My questions are: 1. Why it tells me that protobuf is not installed? 2. It keeps failing in finding google/protobuf/.... files. Why does this happen? Thanks a lot Zhang Bo -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to proto...@googlegroups.com. To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.