Re: [protobuf] MSVS 2013 Linker error, while trying to use proto

2015-09-14 Thread 'Feng Xiao' via Protocol Buffers
Have you been able to build the bundled protobuf tests successfully?

On Mon, Sep 14, 2015 at 2:50 AM, Александр Куринной 
wrote:

> 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 std::allocator > 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.
>

-- 
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.


[protobuf] MSVS 2013 Linker error, while trying to use proto

2015-09-14 Thread Александр Куринной
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 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.