You need to edit the project settings to tell it to actually link in libprotobuf.lib. Simply putting it in a particular directory is not enough. Please consult the MSVC docs.
You don't need libprotobuf-lite.lib (unless you're using optimize_for = LITE_RUNTIME) or libprotoc.lib (unless you're writing a code generator). On Wed, Mar 17, 2010 at 8:09 AM, mohito <moh...@inbox.ru> wrote: > I had copied libprotobuf.lib, libprotobuf-lite.lib, libprotoc.lib > (this files was build in Debug mode) in my folder for additional > libraries (like "add\lib") and I had added path to this folder in MSVS > properties ("VC++ Directories"). > I don't understand how I should link libprotobuf.lib in other way? > > -- > You received this message because you are subscribed to the Google Groups > "Protocol Buffers" group. > To post to this group, send email to proto...@googlegroups.com. > To unsubscribe from this group, send email to > protobuf+unsubscr...@googlegroups.com<protobuf%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/protobuf?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to proto...@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.