Hi. I use MSVS2008 and I have next problem:
I installed "protocol buffers" from "vsprojects" folder in Debug mode, like it was recomended in readme.txt. Next step I took example proto-file addressbook.proto and I had compiled it by using proto.exe (that i had got above). I created new solution and added in it next files: addressbook.pb.h, addressbook.pb.cc, add_person.cc (from examples folder) Solution comiles fine, but while linking process I have many errors like this: addressbook.pb.obj : error LNK2019: unresolved external symbol "public: __thiscall google::protobuf::internal::GeneratedMessageReflection::GeneratedMessageReflection(class google::protobuf::Descriptor const *,class google::protobuf::Message const *,int const * const,int,int,int,class google::protobuf::DescriptorPool const *,class google::protobuf::MessageFactory *,int)" (?? 0generatedmessagereflect...@internal@proto...@google@@q...@pbvdescriptor@2...@pbvmessage@2...@qbhhhhpbvdescriptorpool@2...@pavmessagefactory@2...@h@Z) referenced in function "void __cdecl tutorial::protobuf_AssignDesc_addressbook_2eproto(void)" (? protobuf_assigndesc_addressbook_2epr...@tutorial@@YAXXZ) addressbook.pb.obj : error LNK2019: unresolved external symbol "public: static class google::protobuf::MessageFactory * __cdecl google::protobuf::MessageFactory::generated_factory(void)" (? generated_fact...@messagefactory@proto...@google@@sapav...@xz) referenced in function "void __cdecl tutorial::protobuf_AssignDesc_addressbook_2eproto(void)" (? protobuf_assigndesc_addressbook_2epr...@tutorial@@YAXXZ) addressbook.pb.obj : error LNK2019: unresolved external symbol "public: __thiscall google::protobuf::internal::LogMessage::~LogMessage(void)" (?? 1logmess...@internal@proto...@google@@q...@xz) referenced in function "void __cdecl tutorial::protobuf_AssignDesc_addressbook_2eproto(void)" (? protobuf_assigndesc_addressbook_2epr...@tutorial@@YAXXZ) addressbook.pb.obj : error LNK2001: unresolved external symbol "public: virtual class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall google::protobuf::Message::GetTypeName(void)const " (? gettypen...@message@proto...@google@@ube?av?$basic_str...@du? $char_tra...@d@std@@v?$alloca...@d@2@@std@@XZ) total 69 errors. I cannot solve this probelm. -- 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.