When you compile your app, are you making sure to use the same C runtime
library against which you compiled libprotobuf?  It looks like it's
complaining about missing functions in the C runtime.

On Thu, Jun 4, 2009 at 8:58 AM, <wayne.mene...@gmail.com> wrote:

>
> Hi,
> I am trying to use Google Protocol Buffers run time libraries in my
> application. To use Protocol Buffers, I need to first build the run-
> time libraries for C++ on Windows. I am using Visual Studio 2003.
>
> While linking the libraries into my application I get the following
> errors. Can anyone help me figure out what might be the issue?
>
> libprotobuf.lib(zero_copy_stream_impl.obj) : error LNK2019: unresolved
> external symbol __imp__close referenced in function "int __cdecl
> google::protobuf::io::`anonymous namespace'::close_no_eintr(int)" (?
> close_no_ei...@?
> a0x29e80...@io@proto...@google@@y...@z)
> libprotobuf.lib(zero_copy_stream_impl.obj) : error LNK2019: unresolved
> external symbol __imp__read referenced in function "public: virtual
> int __thiscall
> google::protobuf::io::FileInputStream::CopyingFileInputStream::Read
> (void *,int)" (?
> r...@copyingfileinputstream@fileinputstr...@io@proto...@google@@uaehp...@z
> )
> libprotobuf.lib(zero_copy_stream_impl.obj) : error LNK2019: unresolved
> external symbol __imp__write referenced in function "public: virtual
> bool __thiscall
> google::protobuf::io::FileOutputStream::CopyingFileOutputStream::Write
> (void const *,int)" (?
> wr...@copyingfileoutputstream@fileoutputstr...@io@proto...@google
> @@uae_np...@z)
> >
>

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