Hey, i'm trying to use protocol buffers, but i keep getting LNK2001 error 
no matter, what i do

Error 1 error LNK2001: unresolved external symbol "class 
std::basic_string<char,struct std::char_traits<char>,class 
std::allocator<char> > const * const 
google::protobuf::internal::empty_string_" 
(?empty_string_@internal@protobuf@google@@3PBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@B)
 
D:\Projects\protobufSerealizer\protobufSerealizer\test.pb.obj 
protobufSerealizer

Error 2 error LNK2001: unresolved external symbol "int 
google::protobuf::internal::empty_string_once_init_" 
(?empty_string_once_init_@internal@protobuf@google@@3HA) 
D:\Projects\protobufSerealizer\protobufSerealizer\test.pb.obj 
protobufSerealizer

so, could you please give me a hint on how to solve it?

I've added to project's solution additional include libraries for 
google\... source files, and added to additional dependencies libprotobuf.lib, 
libprotobuf-lite.lib, and libprotoc.lib.

-- 
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 protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to