Here are the errors:

BackupComm error LNK2005: "public: void __thiscall std::ios_base::clear
(int,bool)" (?cl...@ios_base@std@@qaex...@z) already defined in
Service.obj
BackupComm error LNK2005: "public: virtual __thiscall
std::ios_base::~ios_base(void)" (??1ios_b...@std@@u...@xz) already
defined in Service.obj
BackupComm error LNK2005: "protected: void __thiscall
std::ios_base::_Init(void)" (?_i...@ios_base@std@@IAEXXZ) already
defined in Service.obj
BackupComm warning LNK4078: multiple '.CRT' sections found with
different attributes (C0300040)
BackupComm error LNK2005: "public: __thiscall std::locale::locale
(void)" (??0loc...@std@@q...@xz) already defined in Service.obj
BackupComm error LNK2005: "public: class std::locale::facet const *
__thiscall std::locale::_Getfacet(unsigned int)const " (?
_getfa...@locale@std@@qbepbvfa...@12@i...@z) already defined in
Service.obj
BackupComm error LNK2005: "public: void __thiscall
std::locale::facet::_Register(void)" (?
_regis...@facet@loc...@std@@QAEXXZ) already defined in Service.obj
BackupComm error LNK2005: "public: __thiscall std::_Locinfo::~_Locinfo
(void)" (??1_loci...@std@@q...@xz) already defined in Service.obj
BackupComm error LNK2005: "public: static unsigned int const
std::ctype<char>::table_size" (?table_s...@?$ctype@d...@std@@2IB) already
defined in stdafx.obj
BackupComm error LNK2019: unresolved external symbol
___CxxFrameHandler3 referenced in function __ehhandler$?
l...@service@@sax...@z
BackupComm error LNK2001: unresolved external symbol
___CxxFrameHandler3
BackupComm error LNK2019: unresolved external symbol _memcpy_s
referenced in function "protected: virtual int __thiscall
std::basic_filebuf<char,struct std::char_traits<char> >::uflow
(void)" (?uf...@?$basic_filebuf@du?$char_tra...@d@std@@@std@@MAEHXZ)
BackupComm error LNK2001: unresolved external symbol _memcpy_s
BackupComm error LNK2019: unresolved external symbol "public: static
void __cdecl std::_String_base::_Xlen(void)" (?
_x...@_string_base@std@@SAXXZ) referenced in function "public: class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > & __thiscall std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >::append(unsigned
int,char)" (?app...@?$basic_string@du?$char_tra...@d@std@@V?
$alloca...@d@2@@std@@qaeaa...@id@Z)
BackupComm error LNK2019: unresolved external symbol "public: static
void __cdecl std::ios_base::_Addstd(class std::ios_base *)" (?
_add...@ios_base@std@@SAXPAV12@@Z) referenced in function "public:
__thiscall std::basic_ostream<char,struct std::char_traits<char>
>::basic_ostream<char,struct std::char_traits<char> >(enum
std::_Uninitialized,bool)" (??0?$basic_ostr...@du?
$char_tra...@d@std@@@std@@q...@w4_uninitialized@1...@_n@Z)
BackupComm error LNK2019: unresolved external symbol "struct
std::_DebugHeapTag_t const & __cdecl std::_DebugHeapTag_func(void)" (?
_debugheaptag_f...@std@@yaabu_debugheapta...@1@XZ) referenced in
function "protected: __thiscall std::basic_streambuf<char,struct
std::char_traits<char> >::basic_streambuf<char,struct
std::char_traits<char> >(void)" (??0?$basic_stream...@du?
$char_tra...@d@std@@@std@@i...@xz)
BackupComm error LNK2001: unresolved external symbol "struct
std::_DebugHeapTag_t const & __cdecl std::_DebugHeapTag_func(void)" (?
_debugheaptag_f...@std@@yaabu_debugheapta...@1@XZ)
BackupComm error LNK2019: unresolved external symbol
__invalid_parameter referenced in function "public: char const &
__thiscall std::_String_const_iterator<char,struct
std::char_traits<char>,class std::allocator<char> >::operator*(void)
const " (??d?$_string_const_itera...@du?$char_traits@d...@std@@V?
$alloca...@d@2@@std@@QBEABDXZ)
BackupComm error LNK2019: unresolved external symbol __CrtDbgReportW
referenced in function "public: char const & __thiscall
std::_String_const_iterator<char,struct std::char_traits<char>,class
std::allocator<char> >::operator*(void)const " (??D?
$_string_const_itera...@du?$char_traits@d...@std@@V?
$alloca...@d@2@@std@@QBEABDXZ)
BackupComm error LNK2019: unresolved external symbol "void __cdecl
std::_Debug_message(wchar_t const *,wchar_t const *,unsigned int)" (?
_debug_mess...@std@@yaxpb_...@z) referenced in function "public: char
const & __thiscall std::_String_const_iterator<char,struct
std::char_traits<char>,class std::allocator<char> >::operator*(void)
const " (??d?$_string_const_itera...@du?$char_traits@d...@std@@V?
$alloca...@d@2@@std@@QBEABDXZ)
BackupComm error LNK2019: unresolved external symbol "public:
__thiscall std::bad_cast::bad_cast(char const *)" (??
0bad_c...@std@@q...@pbd@Z) referenced in function "class
std::codecvt<char,char,int> const & __cdecl std::use_facet<class
std::codecvt<char,char,int> >(class std::locale const &)" (??
$use_fa...@v?$codecvt@d...@std@@@std@@YAABV?
$code...@ddh@0...@abvlocale@0@@Z)
BackupComm error LNK2001: unresolved external symbol "public: virtual
__thiscall std::bad_cast::~bad_cast(void)" (??1bad_c...@std@@u...@xz)
BackupComm error LNK2001: unresolved external symbol "public:
__thiscall std::bad_cast::bad_cast(class std::bad_cast const &)" (??
0bad_c...@std@@q...@abv01@@Z)
BackupComm error LNK2001: unresolved external symbol "public:
__thiscall std::exception::exception(class std::exception const &)" (??
0except...@std@@q...@abv01@@Z)
BackupComm error LNK2001: unresolved external symbol "public:
__thiscall std::exception::exception(class std::exception const &)" (??
0except...@std@@q...@abv01@@Z)
BackupComm error LNK2019: unresolved external symbol "public: static
void __cdecl std::_Locinfo::_Locinfo_ctor(class std::_Locinfo *,class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)" (?
_locinfo_c...@_locinfo@std@@saxpa...@abv?$basic_string@DU?
$char_tra...@d@std@@v?$alloca...@d@2@@2@@Z) referenced in function
"public: __thiscall std::_Locinfo::_Locinfo(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)" (??0_loci...@std@@q...@abv?
$basic_str...@du?$char_traits@d...@std@@v?$alloca...@d@2@@1@@Z)
BackupComm error LNK2019: unresolved external symbol "public: static
void __cdecl std::_Locinfo::_Locinfo_dtor(class std::_Locinfo *)" (?
_locinfo_d...@_locinfo@std@@SAXPAV12@@Z) referenced in function
"public: __thiscall std::_Locinfo::~_Locinfo(void)" (??
1_loci...@std@@q...@xz)
BackupComm error LNK2019: unresolved external symbol "private: static
void __cdecl std::locale::facet::facet_Register(class
std::locale::facet *)" (?
facet_regis...@facet@loc...@std@@CAXPAV123@@Z) referenced in function
"public: void __thiscall std::locale::facet::_Register(void)" (?
_regis...@facet@loc...@std@@QAEXXZ)
BackupComm error LNK2019: unresolved external symbol "private: static
class std::locale::_Locimp * __cdecl std::locale::_Getgloballocale
(void)" (?_getgloballoc...@locale@std@@capav_loc...@12@XZ) referenced
in function "public: __thiscall std::locale::locale(void)" (??
0loc...@std@@q...@xz)
BackupComm error LNK2019: unresolved external symbol "public: virtual
__thiscall std::exception::~exception(void)" (??
1except...@std@@u...@xz) referenced in function __unwindfunclet$??
0runtime_er...@std@@q...@abv01@@Z$0
BackupComm error LNK2001: unresolved external symbol "public: virtual
__thiscall std::exception::~exception(void)" (??
1except...@std@@u...@xz)
BackupComm error LNK2019: unresolved external symbol "public:
__thiscall std::exception::exception(void)" (??0except...@std@@q...@xz)
referenced in function "public: __thiscall
std::runtime_error::runtime_error(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &)" (??
0runtime_er...@std@@q...@abv?$basic_string@du?$char_tra...@d@std@@V?
$alloca...@d@2@@1@@Z)
BackupComm error LNK2019: unresolved external symbol "private: static
void __cdecl std::ios_base::_Ios_base_dtor(class std::ios_base *)" (?
_ios_base_d...@ios_base@std@@CAXPAV12@@Z) referenced in function
"public: virtual __thiscall std::ios_base::~ios_base(void)" (??
1ios_b...@std@@u...@xz)
BackupComm error LNK2019: unresolved external symbol "public: static
void __cdecl std::_String_base::_Xran(void)" (?
_x...@_string_base@std@@SAXXZ) referenced in function "public: class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > & __thiscall std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >::assign(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &,unsigned int,unsigned int)" (?ass...@?
$basic_str...@du?$char_traits@d...@std@@V?
$alloca...@d@2@@std@@qaeaa...@abv12@i...@z)
BackupComm error LNK2019: unresolved external symbol "public:
__thiscall std::exception::exception(char const * const &)" (??
0except...@std@@q...@abqbd@Z) referenced in function "public:
__thiscall std::bad_alloc::bad_alloc(char const *)" (??
0bad_al...@std@@q...@pbd@Z)
BackupComm error LNK2001: unresolved external symbol "public:
__thiscall std::exception::exception(char const * const &)" (??
0except...@std@@q...@abqbd@Z)
BackupComm error LNK2001: unresolved external symbol "public: virtual
char const * __thiscall std::exception::what(void)const " (?
w...@exception@std@@UBEPBDXZ)
BackupComm error LNK2001: unresolved external symbol "public: virtual
char const * __thiscall std::exception::what(void)const " (?
w...@exception@std@@UBEPBDXZ)
BackupComm error LNK2019: unresolved external symbol _memmove_s
referenced in function "public: static char * __cdecl
std::char_traits<char>::_Move_s(char *,unsigned int,char const
*,unsigned int)" (?_mov...@?$char_traits@d...@std@@sapadpadip...@z)
BackupComm error LNK2019: unresolved external symbol "public: static
void __cdecl
google::protobuf::MessageFactory::InternalRegisterGeneratedMessage
(class google::protobuf::Descriptor const *,class
google::protobuf::Message const *)" (?
internalregistergeneratedmess...@messagefactory@proto...@google@@saxpbvdescrip...@23@pbvmess...@23@@Z)
referenced in function "void __cdecl
backupcomm::protobuf_BuildDesc_def_2eproto_AssignGlobalDescriptors
(class google::protobuf::FileDescriptor const *)" (?
protobuf_builddesc_def_2eproto_assignglobaldescript...@backupcomm@@yaxpbvfiledescrip...@protobuf@google@@@Z)
BackupComm 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 *,int)" (??
0generatedmessagereflect...@internal@proto...@google@@q...@pbvdescriptor@2...@pbvmessage@2...@qbhhhhpbvdescriptorpool@2...@h@Z)
referenced in function "void __cdecl
backupcomm::protobuf_BuildDesc_def_2eproto_AssignGlobalDescriptors
(class google::protobuf::FileDescriptor const *)" (?
protobuf_builddesc_def_2eproto_assignglobaldescript...@backupcomm@@yaxpbvfiledescrip...@protobuf@google@@@Z)
BackupComm error LNK2019: unresolved external symbol "public: static
class google::protobuf::DescriptorPool const * __cdecl
google::protobuf::DescriptorPool::generated_pool(void)" (?
generated_p...@descriptorpool@proto...@google@@sapbv...@xz) referenced
in function "void __cdecl
backupcomm::protobuf_BuildDesc_def_2eproto_AssignGlobalDescriptors
(class google::protobuf::FileDescriptor const *)" (?
protobuf_builddesc_def_2eproto_assignglobaldescript...@backupcomm@@yaxpbvfiledescrip...@protobuf@google@@@Z)
BackupComm error LNK2019: unresolved external symbol "public: class
google::protobuf::FileDescriptor const * __thiscall
google::protobuf::DescriptorPool::InternalBuildGeneratedFile(void
const *,int,void (__cdecl*)(class google::protobuf::FileDescriptor
const *))" (?
internalbuildgeneratedf...@descriptorpool@proto...@google@@qaepbvfiledescrip...@23@PBXHP6AXPBV423@@z...@z)
referenced in function "void __cdecl
backupcomm::protobuf_BuildDesc_def_2eproto(void)" (?
protobuf_builddesc_def_2epr...@backupcomm@@YAXXZ)
BackupComm error LNK2019: unresolved external symbol "public: static
class google::protobuf::DescriptorPool * __cdecl
google::protobuf::DescriptorPool::internal_generated_pool(void)" (?
internal_generated_p...@descriptorpool@proto...@google@@sapav...@xz)
referenced in function "void __cdecl
backupcomm::protobuf_BuildDesc_def_2eproto(void)" (?
protobuf_builddesc_def_2epr...@backupcomm@@YAXXZ)
BackupComm error LNK2019: unresolved external symbol "void __cdecl
google::protobuf::internal::VerifyVersion(int,int,char const *)" (?
verifyvers...@internal@proto...@google@@yaxhh...@z) referenced in
function "void __cdecl backupcomm::protobuf_BuildDesc_def_2eproto
(void)" (?protobuf_builddesc_def_2epr...@backupcomm@@YAXXZ)
BackupComm error LNK2019: unresolved external symbol "public: virtual
__thiscall google::protobuf::Message::~Message(void)" (??
1mess...@protobuf@google@@u...@xz) referenced in function
__unwindfunclet$??0mess...@backupcomm@@q...@xz$0
BackupComm error LNK2019: unresolved external symbol "public:
__thiscall google::protobuf::UnknownFieldSet::UnknownFieldSet
(void)" (??0unknownfield...@protobuf@google@@q...@xz) referenced in
function "public: __thiscall backupcomm::Message::Message(void)" (??
0mess...@backupcomm@@q...@xz)
BackupComm error LNK2001: unresolved external symbol "public: virtual
void __thiscall google::protobuf::Message::CopyFrom(class
google::protobuf::Message const &)" (?
copyf...@message@proto...@google@@UAEXABV123@@Z)
BackupComm error LNK2001: unresolved external symbol "public: virtual
void __thiscall google::protobuf::Message::MergeFrom(class
google::protobuf::Message const &)" (?
mergef...@message@proto...@google@@UAEXABV123@@Z)
BackupComm error LNK2001: unresolved external symbol "public: virtual
void __thiscall google::protobuf::Message::Clear(void)" (?
cl...@message@proto...@google@@UAEXXZ)
BackupComm error LNK2001: unresolved external symbol "public: virtual
bool __thiscall google::protobuf::Message::IsInitialized(void)const
" (?isinitiali...@message@proto...@google@@UBE_NXZ)
BackupComm error LNK2001: unresolved external symbol "public: virtual
void __thiscall google::protobuf::Message::DiscardUnknownFields
(void)" (?discardunknownfie...@message@proto...@google@@UAEXXZ)
BackupComm error LNK2001: unresolved external symbol "public: virtual
bool __thiscall google::protobuf::Message::MergePartialFromCodedStream
(class google::protobuf::io::CodedInputStream *)" (?
mergepartialfromcodedstr...@message@proto...@google@@uae_npavcodedinputstr...@io@23@@Z)
BackupComm error LNK2001: unresolved external symbol "public: virtual
int __thiscall google::protobuf::Message::ByteSize(void)const " (?
bytes...@message@proto...@google@@UBEHXZ)
BackupComm error LNK2001: unresolved external symbol "public: virtual
int __thiscall google::protobuf::Message::SpaceUsed(void)const " (?
spaceu...@message@proto...@google@@UBEHXZ)
BackupComm error LNK2001: unresolved external symbol "public: virtual
bool __thiscall google::protobuf::Message::SerializeWithCachedSizes
(class google::protobuf::io::CodedOutputStream *)const " (?
serializewithcachedsi...@message@proto...@google@@ube_npavcodedoutputstr...@io@23@@Z)
BackupComm error LNK2001: unresolved external symbol "private: virtual
void __thiscall google::protobuf::Message::SetCachedSize(int)const " (?
setcacheds...@message@proto...@google@@eb...@z)
BackupComm error LNK2019: unresolved external symbol "public:
__thiscall google::protobuf::UnknownFieldSet::~UnknownFieldSet
(void)" (??1unknownfield...@protobuf@google@@q...@xz) referenced in
function __unwindfunclet$??0mess...@backupcomm@@q...@abv01@@Z$0
BackupComm error LNK2019: unresolved external symbol "public:
__thiscall google::protobuf::internal::ExtensionSet::~ExtensionSet
(void)" (??1extension...@internal@proto...@google@@q...@xz) referenced
in function __unwindfunclet$??0acti...@backupcomm@@q...@xz$0
BackupComm error LNK2019: unresolved external symbol "public:
__thiscall google::protobuf::internal::ExtensionSet::ExtensionSet
(class google::protobuf::Descriptor const * const *,class
google::protobuf::DescriptorPool const *,class
google::protobuf::MessageFactory *)" (??
0extension...@internal@proto...@google@@q...@pbqbvdescriptor@2...@pbvdescriptorpool@2...@pavmessagefactory@23@@Z)
referenced in function "public: __thiscall backupcomm::Actions::Actions
(void)" (??0acti...@backupcomm@@q...@xz)
BackupComm 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 "public: __thiscall backupcomm::Actions::Actions
(void)" (??0acti...@backupcomm@@q...@xz)


On Apr 7, 6:21 pm, Kenton Varda <ken...@google.com> wrote:
> What are the errors?
>
> On Tue, Apr 7, 2009 at 3:58 PM, <scotty2...@gmail.com> wrote:
>
> > I am trying to get started using pb, but I am stuck. I've got my
> > messages compiled into their .h and .cc parts, i've added those to my
> > project. I built protobuf in vs 2009, and I've added the
> > protobuf-2.0.3\src directory as an include location and the output
> > from the build as an additional library location. However, I can't
> > build my project (which has nothing other than the protoc generated .h
> > and .cc files). I get a bunch of linker errors, did I miss something?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@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
-~----------~----~----~----~------~----~------~--~---

Reply via email to