Hi everyone. I successfully build protobuf with msvc2013 and also pass unit-test. When trying to run addressbook example here is the linker error i get:
1>addressbook.pb.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall google::protobuf::Closure::~Closure(void)" (??1Closure@protobuf@google@@UAE@XZ) referenced in function "public: virtual void * __thiscall google::protobuf::Closure::`scalar deleting destructor'(unsigned int)" (??_GClosure@protobuf@google@@UAEPAXI@Z) 1>addressbook.pb.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall google::protobuf::internal::FunctionClosure0::~FunctionClosure0(void)" (??1FunctionClosure0@internal@protobuf@google@@UAE@XZ) referenced in function "public: __thiscall tutorial::protobuf_addressbook_2eproto::StaticDescriptorInitializer::StaticDescriptorInitializer(void)" (??0StaticDescriptorInitializer@protobuf_addressbook_2eproto@tutorial@@QAE@XZ) 1>addressbook.pb.obj : error LNK2019: unresolved external symbol "void __cdecl google::protobuf::internal::VerifyVersion(int,int,char const *)" (?VerifyVersion@internal@protobuf@google@@YAXHHPBD@Z) referenced in function "public: static void __cdecl tutorial::protobuf_addressbook_2eproto::TableStruct::InitDefaultsImpl(void)" (?InitDefaultsImpl@TableStruct@protobuf_addressbook_2eproto@tutorial@@SAXXZ) 1>addressbook.pb.obj : error LNK2019: unresolved external symbol "void __cdecl google::protobuf::internal::OnShutdown(void (__cdecl*)(void))" (?OnShutdown@internal@protobuf@google@@YAXP6AXXZ@Z) referenced in function "void __cdecl tutorial::protobuf_addressbook_2eproto::AddDescriptorsImpl(void)" (?AddDescriptorsImpl@protobuf_addressbook_2eproto@tutorial@@YAXXZ) 1>addressbook.pb.obj : error LNK2019: unresolved external symbol "public: int __thiscall google::protobuf::io::CodedInputStream::ReadLengthAndPushLimit(void)" (?ReadLengthAndPushLimit@CodedInputStream@io@protobuf@google@@QAEHXZ) referenced in function "public: static bool __cdecl google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth<class tutorial::Person>(class google::protobuf::io::CodedInputStream *,class tutorial::Person *)" (??$ReadMessageNoVirtualNoRecursionDepth@VPerson@tutorial@@@WireFormatLite@internal@protobuf@google@@SA_NPAVCodedInputStream@io@23@PAVPerson@tutorial@@@Z) 1>addressbook.pb.obj : error LNK2019: unresolved external symbol "public: bool __thiscall google::protobuf::io::CodedInputStream::CheckEntireMessageConsumedAndPopLimit(int)" (?CheckEntireMessageConsumedAndPopLimit@CodedInputStream@io@protobuf@google@@QAE_NH@Z) referenced in function "public: static bool __cdecl google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth<class tutorial::Person>(class google::protobuf::io::CodedInputStream *,class tutorial::Person *)" (??$ReadMessageNoVirtualNoRecursionDepth@VPerson@tutorial@@@WireFormatLite@internal@protobuf@google@@SA_NPAVCodedInputStream@io@23@PAVPerson@tutorial@@@Z) 1>addressbook.pb.obj : error LNK2019: unresolved external symbol "private: __int64 __thiscall google::protobuf::io::CodedInputStream::ReadVarint32Fallback(unsigned int)" (?ReadVarint32Fallback@CodedInputStream@io@protobuf@google@@AAE_JI@Z) referenced in function "public: static bool __cdecl google::protobuf::internal::WireFormatLite::ReadPrimitive<int,5>(class google::protobuf::io::CodedInputStream *,int *)" (??$ReadPrimitive@H$04@WireFormatLite@internal@protobuf@google@@SA_NPAVCodedInputStream@io@23@PAH@Z) 1>addressbook.pb.obj : error LNK2019: unresolved external symbol "private: unsigned int __thiscall google::protobuf::io::CodedInputStream::ReadTagFallback(unsigned int)" (?ReadTagFallback@CodedInputStream@io@protobuf@google@@AAEII@Z) referenced in function "private: struct std::pair<unsigned int,bool> __thiscall google::protobuf::io::CodedInputStream::ReadTagWithCutoffImplementation<0>(unsigned int)" (??$ReadTagWithCutoffImplementation@$0A@@CodedInputStream@io@protobuf@google@@AAE?AU?$pair@I_N@std@@I@Z) 1>addressbook.pb.obj : error LNK2019: unresolved external symbol "public: static unsigned char * __cdecl google::protobuf::io::CodedOutputStream::WriteStringWithSizeToArray(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,unsigned char *)" (?WriteStringWithSizeToArray@CodedOutputStream@io@protobuf@google@@SAPAEABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAE@Z) referenced in function "public: virtual unsigned char * __thiscall tutorial::Person::InternalSerializeWithCachedSizesToArray(bool,unsigned char *)const " (?InternalSerializeWithCachedSizesToArray@Person@tutorial@@UBEPAE_NPAE@Z) 1>addressbook.pb.obj : error LNK2019: unresolved external symbol "private: static unsigned int __cdecl google::protobuf::io::CodedOutputStream::VarintSize32Fallback(unsigned int)" (?VarintSize32Fallback@CodedOutputStream@io@protobuf@google@@CAII@Z) referenced in function "public: static unsigned int __cdecl google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual<class tutorial::Person>(class tutorial::Person const &)" (??$MessageSizeNoVirtual@VPerson@tutorial@@@WireFormatLite@internal@protobuf@google@@SAIABVPerson@tutorial@@@Z) 1>addressbook.pb.obj : error LNK2019: unresolved external symbol "private: void * __thiscall google::protobuf::Arena::AllocateAligned(class type_info const *,unsigned int)" (?AllocateAligned@Arena@protobuf@google@@AAEPAXPBVtype_info@@I@Z) referenced in function "public: static struct google::protobuf::internal::InternalMetadataWithArenaBase<class google::protobuf::UnknownFieldSet,class google::protobuf::internal::InternalMetadataWithArena>::Container * __cdecl google::protobuf::Arena::Create<struct google::protobuf::internal::InternalMetadataWithArenaBase<class google::protobuf::UnknownFieldSet,class google::protobuf::internal::InternalMetadataWithArena>::Container>(class google::protobuf::Arena *)" (??$Create@UContainer@?$InternalMetadataWithArenaBase@VUnknownFieldSet@protobuf@google@@VInternalMetadataWithArena@internal@23@@internal@protobuf@google@@@Arena@protobuf@google@@SAPAUContainer@?$InternalMetadataWithArenaBase@VUnknownFieldSet@protobuf@google@@VInternalMetadataWithArena@internal@23@@internal@12@PAV012@@Z) 1>addressbook.pb.obj : error LNK2019: unresolved external symbol "private: void __thiscall google::protobuf::Arena::AddListNode(void *,void (__cdecl*)(void *))" (?AddListNode@Arena@protobuf@google@@AAEXPAXP6AX0@Z@Z) referenced in function "public: static struct google::protobuf::internal::InternalMetadataWithArenaBase<class google::protobuf::UnknownFieldSet,class google::protobuf::internal::InternalMetadataWithArena>::Container * __cdecl google::protobuf::Arena::Create<struct google::protobuf::internal::InternalMetadataWithArenaBase<class google::protobuf::UnknownFieldSet,class google::protobuf::internal::InternalMetadataWithArena>::Container>(class google::protobuf::Arena *)" (??$Create@UContainer@?$InternalMetadataWithArenaBase@VUnknownFieldSet@protobuf@google@@VInternalMetadataWithArena@internal@23@@internal@protobuf@google@@@Arena@protobuf@google@@SAPAUContainer@?$InternalMetadataWithArenaBase@VUnknownFieldSet@protobuf@google@@VInternalMetadataWithArena@internal@23@@internal@12@PAV012@@Z) 1>addressbook.pb.obj : error LNK2019: unresolved external symbol "public: void __thiscall google::protobuf::internal::ArenaStringPtr::AssignWithDefault(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const *,struct google::protobuf::internal::ArenaStringPtr)" (?AssignWithDefault@ArenaStringPtr@internal@protobuf@google@@QAEXPBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@U1234@@Z) referenced in function "public: __thiscall tutorial::Person::Person(class tutorial::Person const &)" (??0Person@tutorial@@QAE@ABV01@@Z) 1>addressbook.pb.obj : error LNK2019: unresolved external symbol "void __cdecl google::protobuf::GoogleOnceInitImpl(int *,class google::protobuf::Closure *)" (?GoogleOnceInitImpl@protobuf@google@@YAXPAHPAVClosure@12@@Z) referenced in function "public: __thiscall tutorial::protobuf_addressbook_2eproto::StaticDescriptorInitializer::StaticDescriptorInitializer(void)" (??0StaticDescriptorInitializer@protobuf_addressbook_2eproto@tutorial@@QAE@XZ) 1>addressbook.pb.obj : error LNK2019: unresolved external symbol "void __cdecl google::protobuf::internal::InitProtobufDefaults(void)" (?InitProtobufDefaults@internal@protobuf@google@@YAXXZ) referenced in function "public: static void __cdecl tutorial::protobuf_addressbook_2eproto::TableStruct::InitDefaultsImpl(void)" (?InitDefaultsImpl@TableStruct@protobuf_addressbook_2eproto@tutorial@@SAXXZ) 1>addressbook.pb.obj : error LNK2019: unresolved external symbol "public: void __thiscall google::protobuf::UnknownFieldSet::MergeFrom(class google::protobuf::UnknownFieldSet const &)" (?MergeFrom@UnknownFieldSet@protobuf@google@@QAEXABV123@@Z) referenced in function "public: __thiscall tutorial::AddressBook::AddressBook(class tutorial::AddressBook const &)" (??0AddressBook@tutorial@@QAE@ABV01@@Z) 1>addressbook.pb.obj : error LNK2019: unresolved external symbol "public: void __thiscall google::protobuf::UnknownFieldSet::AddVarint(int,unsigned __int64)" (?AddVarint@UnknownFieldSet@protobuf@google@@QAEXH_K@Z) referenced in function "public: virtual bool __thiscall tutorial::Person_PhoneNumber::MergePartialFromCodedStream(class google::protobuf::io::CodedInputStream *)" (?MergePartialFromCodedStream@Person_PhoneNumber@tutorial@@UAE_NPAVCodedInputStream@io@protobuf@google@@@Z) 1>addressbook.pb.obj : error LNK2019: unresolved external symbol "public: static class google::protobuf::UnknownFieldSet const * __cdecl google::protobuf::UnknownFieldSet::default_instance(void)" (?default_instance@UnknownFieldSet@protobuf@google@@SAPBV123@XZ) referenced in function "public: static class google::protobuf::UnknownFieldSet const & __cdecl google::protobuf::internal::InternalMetadataWithArena::default_instance(void)" (?default_instance@InternalMetadataWithArena@internal@protobuf@google@@SAABVUnknownFieldSet@34@XZ) 1>addressbook.pb.obj : error LNK2019: unresolved external symbol "private: void __thiscall google::protobuf::UnknownFieldSet::ClearFallback(void)" (?ClearFallback@UnknownFieldSet@protobuf@google@@AAEXXZ) referenced in function "void __cdecl google::protobuf::internal::arena_destruct_object<struct google::protobuf::internal::InternalMetadataWithArenaBase<class google::protobuf::UnknownFieldSet,class google::protobuf::internal::InternalMetadataWithArena>::Container>(void *)" (??$arena_destruct_object@UContainer@?$InternalMetadataWithArenaBase@VUnknownFieldSet@protobuf@google@@VInternalMetadataWithArena@internal@23@@internal@protobuf@google@@@internal@protobuf@google@@YAXPAX@Z) 1>addressbook.pb.obj : error LNK2001: unresolved external symbol "public: virtual class google::protobuf::MessageLite * __thiscall google::protobuf::MessageLite::New(class google::protobuf::Arena *)const " (?New@MessageLite@protobuf@google@@UBEPAV123@PAVArena@23@@Z) 1>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::MessageLite::InitializationErrorString(void)const " (?InitializationErrorString@MessageLite@protobuf@google@@UBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) 1>addressbook.pb.obj : error LNK2001: unresolved external symbol "public: virtual unsigned char * __thiscall google::protobuf::MessageLite::InternalSerializeWithCachedSizesToArray(bool,unsigned char *)const " (?InternalSerializeWithCachedSizesToArray@MessageLite@protobuf@google@@UBEPAE_NPAE@Z) 1>addressbook.pb.obj : error LNK2019: unresolved external symbol "public: static void __cdecl google::protobuf::DescriptorPool::InternalAddGeneratedFile(void const *,int)" (?InternalAddGeneratedFile@DescriptorPool@protobuf@google@@SAXPBXH@Z) referenced in function "void __cdecl tutorial::protobuf_addressbook_2eproto::AddDescriptorsImpl(void)" (?AddDescriptorsImpl@protobuf_addressbook_2eproto@tutorial@@YAXXZ) 1>addressbook.pb.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall google::protobuf::Message::CopyFrom(class google::protobuf::Message const &)" (?CopyFrom@Message@protobuf@google@@UAEXABV123@@Z) 1>addressbook.pb.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall google::protobuf::Message::MergeFrom(class google::protobuf::Message const &)" (?MergeFrom@Message@protobuf@google@@UAEXABV123@@Z) 1>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::InitializationErrorString(void)const " (?InitializationErrorString@Message@protobuf@google@@UBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) 1>addressbook.pb.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall google::protobuf::Message::DiscardUnknownFields(void)" (?DiscardUnknownFields@Message@protobuf@google@@UAEXXZ) 1>addressbook.pb.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall google::protobuf::Message::SpaceUsed(void)const " (?SpaceUsed@Message@protobuf@google@@UBEHXZ) 1>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 " (?GetTypeName@Message@protobuf@google@@UBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) 1>addressbook.pb.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall google::protobuf::Message::Clear(void)" (?Clear@Message@protobuf@google@@UAEXXZ) 1>addressbook.pb.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall google::protobuf::Message::IsInitialized(void)const " (?IsInitialized@Message@protobuf@google@@UBE_NXZ) 1>addressbook.pb.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall google::protobuf::Message::CheckTypeAndMergeFrom(class google::protobuf::MessageLite const &)" (?CheckTypeAndMergeFrom@Message@protobuf@google@@UAEXABVMessageLite@23@@Z) 1>addressbook.pb.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall google::protobuf::Message::MergePartialFromCodedStream(class google::protobuf::io::CodedInputStream *)" (?MergePartialFromCodedStream@Message@protobuf@google@@UAE_NPAVCodedInputStream@io@23@@Z) 1>addressbook.pb.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall google::protobuf::Message::ByteSizeLong(void)const " (?ByteSizeLong@Message@protobuf@google@@UBEIXZ) 1>addressbook.pb.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall google::protobuf::Message::SerializeWithCachedSizes(class google::protobuf::io::CodedOutputStream *)const " (?SerializeWithCachedSizes@Message@protobuf@google@@UBEXPAVCodedOutputStream@io@23@@Z) 1>addressbook.pb.obj : error LNK2001: unresolved external symbol "private: virtual void __thiscall google::protobuf::Message::SetCachedSize(int)const " (?SetCachedSize@Message@protobuf@google@@EBEXH@Z) 1>addressbook.pb.obj : error LNK2019: unresolved external symbol "public: static void __cdecl google::protobuf::MessageFactory::InternalRegisterGeneratedFile(char const *,void (__cdecl*)(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &))" (?InternalRegisterGeneratedFile@MessageFactory@protobuf@google@@SAXPBDP6AXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z@Z) referenced in function "void __cdecl tutorial::protobuf_addressbook_2eproto::AddDescriptorsImpl(void)" (?AddDescriptorsImpl@protobuf_addressbook_2eproto@tutorial@@YAXXZ) 1>addressbook.pb.obj : error LNK2019: unresolved external symbol "protected: void __thiscall google::protobuf::internal::RepeatedPtrFieldBase::Reserve(int)" (?Reserve@RepeatedPtrFieldBase@internal@protobuf@google@@IAEXH@Z) referenced in function "protected: class tutorial::Person * __thiscall google::protobuf::internal::RepeatedPtrFieldBase::Add<class google::protobuf::RepeatedPtrField<class tutorial::Person>::TypeHandler>(class tutorial::Person *)" (??$Add@VTypeHandler@?$RepeatedPtrField@VPerson@tutorial@@@protobuf@google@@@RepeatedPtrFieldBase@internal@protobuf@google@@IAEPAVPerson@tutorial@@PAV45@@Z) 1>addressbook.pb.obj : error LNK2019: unresolved external symbol "private: void * * __thiscall google::protobuf::internal::RepeatedPtrFieldBase::InternalExtend(int)" (?InternalExtend@RepeatedPtrFieldBase@internal@protobuf@google@@AAEPAPAXH@Z) referenced in function "protected: void __thiscall google::protobuf::internal::RepeatedPtrFieldBase::MergeFrom<class google::protobuf::RepeatedPtrField<class tutorial::Person>::TypeHandler>(class google::protobuf::internal::RepeatedPtrFieldBase const &)" (??$MergeFrom@VTypeHandler@?$RepeatedPtrField@VPerson@tutorial@@@protobuf@google@@@RepeatedPtrFieldBase@internal@protobuf@google@@IAEXABV0123@@Z) 1>addressbook.pb.obj : error LNK2019: unresolved external symbol "public: static bool __cdecl google::protobuf::internal::WireFormatLite::ReadBytes(class google::protobuf::io::CodedInputStream *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > *)" (?ReadBytes@WireFormatLite@internal@protobuf@google@@SA_NPAVCodedInputStream@io@34@PAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "public: virtual bool __thiscall tutorial::Person::MergePartialFromCodedStream(class google::protobuf::io::CodedInputStream *)" (?MergePartialFromCodedStream@Person@tutorial@@UAE_NPAVCodedInputStream@io@protobuf@google@@@Z) 1>addressbook.pb.obj : error LNK2019: unresolved external symbol "public: static void __cdecl google::protobuf::internal::WireFormatLite::WriteInt32(int,int,class google::protobuf::io::CodedOutputStream *)" (?WriteInt32@WireFormatLite@internal@protobuf@google@@SAXHHPAVCodedOutputStream@io@34@@Z) referenced in function "public: virtual void __thiscall tutorial::Person::SerializeWithCachedSizes(class google::protobuf::io::CodedOutputStream *)const " (?SerializeWithCachedSizes@Person@tutorial@@UBEXPAVCodedOutputStream@io@protobuf@google@@@Z) 1>addressbook.pb.obj : error LNK2019: unresolved external symbol "public: static void __cdecl google::protobuf::internal::WireFormatLite::WriteEnum(int,int,class google::protobuf::io::CodedOutputStream *)" (?WriteEnum@WireFormatLite@internal@protobuf@google@@SAXHHPAVCodedOutputStream@io@34@@Z) referenced in function "public: virtual void __thiscall tutorial::Person_PhoneNumber::SerializeWithCachedSizes(class google::protobuf::io::CodedOutputStream *)const " (?SerializeWithCachedSizes@Person_PhoneNumber@tutorial@@UBEXPAVCodedOutputStream@io@protobuf@google@@@Z) 1>addressbook.pb.obj : error LNK2019: unresolved external symbol "public: static void __cdecl google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class google::protobuf::io::CodedOutputStream *)" (?WriteStringMaybeAliased@WireFormatLite@internal@protobuf@google@@SAXHABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVCodedOutputStream@io@34@@Z) referenced in function "public: virtual void __thiscall tutorial::Person::SerializeWithCachedSizes(class google::protobuf::io::CodedOutputStream *)const " (?SerializeWithCachedSizes@Person@tutorial@@UBEXPAVCodedOutputStream@io@protobuf@google@@@Z) 1>addressbook.pb.obj : error LNK2019: unresolved external symbol "public: static void __cdecl google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(int,class google::protobuf::MessageLite const &,class google::protobuf::io::CodedOutputStream *)" (?WriteMessageMaybeToArray@WireFormatLite@internal@protobuf@google@@SAXHABVMessageLite@34@PAVCodedOutputStream@io@34@@Z) referenced in function "public: virtual void __thiscall tutorial::AddressBook::SerializeWithCachedSizes(class google::protobuf::io::CodedOutputStream *)const " (?SerializeWithCachedSizes@AddressBook@tutorial@@UBEXPAVCodedOutputStream@io@protobuf@google@@@Z) 1>addressbook.pb.obj : error LNK2019: unresolved external symbol "void __cdecl google::protobuf::internal::AssignDescriptors(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,struct google::protobuf::internal::MigrationSchema const *,class google::protobuf::Message const * const *,unsigned int const *,class google::protobuf::MessageFactory *,struct google::protobuf::Metadata *,class google::protobuf::EnumDescriptor const * *,class google::protobuf::ServiceDescriptor const * *)" (?AssignDescriptors@internal@protobuf@google@@YAXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PBUMigrationSchema@123@PBQBVMessage@23@PBIPAVMessageFactory@23@PAUMetadata@23@PAPBVEnumDescriptor@23@PAPBVServiceDescriptor@23@@Z) referenced in function "void __cdecl tutorial::protobuf_addressbook_2eproto::`anonymous namespace'::protobuf_AssignDescriptors(void)" (?protobuf_AssignDescriptors@?A0x84849112@protobuf_addressbook_2eproto@tutorial@@YAXXZ) 1>addressbook.pb.obj : error LNK2019: unresolved external symbol "void __cdecl google::protobuf::internal::RegisterAllTypes(struct google::protobuf::Metadata const *,int)" (?RegisterAllTypes@internal@protobuf@google@@YAXPBUMetadata@23@H@Z) referenced in function "void __cdecl tutorial::protobuf_addressbook_2eproto::`anonymous namespace'::protobuf_RegisterTypes(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?protobuf_RegisterTypes@?A0x84849112@protobuf_addressbook_2eproto@tutorial@@YAXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) 1>addressbook.pb.obj : error LNK2019: unresolved external symbol "public: static void __cdecl google::protobuf::internal::ReflectionOps::Merge(class google::protobuf::Message const &,class google::protobuf::Message *)" (?Merge@ReflectionOps@internal@protobuf@google@@SAXABVMessage@34@PAV534@@Z) referenced in function "public: virtual void __thiscall tutorial::AddressBook::MergeFrom(class google::protobuf::Message const &)" (?MergeFrom@AddressBook@tutorial@@UAEXABVMessage@protobuf@google@@@Z) 1>addressbook.pb.obj : error LNK2019: unresolved external symbol "public: static bool __cdecl google::protobuf::internal::WireFormat::SkipField(class google::protobuf::io::CodedInputStream *,unsigned int,class google::protobuf::UnknownFieldSet *)" (?SkipField@WireFormat@internal@protobuf@google@@SA_NPAVCodedInputStream@io@34@IPAVUnknownFieldSet@34@@Z) referenced in function "public: virtual bool __thiscall tutorial::AddressBook::MergePartialFromCodedStream(class google::protobuf::io::CodedInputStream *)" (?MergePartialFromCodedStream@AddressBook@tutorial@@UAE_NPAVCodedInputStream@io@protobuf@google@@@Z) 1>addressbook.pb.obj : error LNK2019: unresolved external symbol "public: static void __cdecl google::protobuf::internal::WireFormat::SerializeUnknownFields(class google::protobuf::UnknownFieldSet const &,class google::protobuf::io::CodedOutputStream *)" (?SerializeUnknownFields@WireFormat@internal@protobuf@google@@SAXABVUnknownFieldSet@34@PAVCodedOutputStream@io@34@@Z) referenced in function "public: virtual void __thiscall tutorial::AddressBook::SerializeWithCachedSizes(class google::protobuf::io::CodedOutputStream *)const " (?SerializeWithCachedSizes@AddressBook@tutorial@@UBEXPAVCodedOutputStream@io@protobuf@google@@@Z) 1>addressbook.pb.obj : error LNK2019: unresolved external symbol "public: static unsigned char * __cdecl google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(class google::protobuf::UnknownFieldSet const &,unsigned char *)" (?SerializeUnknownFieldsToArray@WireFormat@internal@protobuf@google@@SAPAEABVUnknownFieldSet@34@PAE@Z) referenced in function "public: virtual unsigned char * __thiscall tutorial::AddressBook::InternalSerializeWithCachedSizesToArray(bool,unsigned char *)const " (?InternalSerializeWithCachedSizesToArray@AddressBook@tutorial@@UBEPAE_NPAE@Z) 1>addressbook.pb.obj : error LNK2019: unresolved external symbol "public: static unsigned int __cdecl google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(class google::protobuf::UnknownFieldSet const &)" (?ComputeUnknownFieldsSize@WireFormat@internal@protobuf@google@@SAIABVUnknownFieldSet@34@@Z) referenced in function "public: virtual unsigned int __thiscall tutorial::AddressBook::ByteSizeLong(void)const " (?ByteSizeLong@AddressBook@tutorial@@UBEIXZ) 1>addressbook.pb.obj : error LNK2019: unresolved external symbol "private: static bool google::protobuf::io::CodedOutputStream::default_serialization_deterministic_" (?default_serialization_deterministic_@CodedOutputStream@io@protobuf@google@@0_NA) referenced in function "public: static bool __cdecl google::protobuf::io::CodedOutputStream::IsDefaultSerializationDeterministic(void)" (?IsDefaultSerializationDeterministic@CodedOutputStream@io@protobuf@google@@SA_NXZ) 1>addressbook.pb.obj : error LNK2019: unresolved external symbol "class google::protobuf::internal::ExplicitlyConstructed<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3V?$ExplicitlyConstructed@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@123@A) referenced in function "public: __thiscall tutorial::Person::Person(class tutorial::Person const &)" (??0Person@tutorial@@QAE@ABV01@@Z) So can you help on this ? where is the problem ? -- 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.
