On Thu, Dec 17, 2009 at 2:47 AM, <a...@sibmail.ru> wrote:

> Hello,
>
> You should use same runtime library setting to build your application and
> protobuffer libraries.
>

Specifically, debug vs. release, single-threaded vs. multi-threaded, etc.
 Unfortunately, MSVC's STL implementation for each of these library
implementations is different.


>
> Hope this help,
>
> Alexander
>
>
> > 1>ivnt-mplsted.lib(ivnt-mplsted.dll) : error LNK2005: "protected:
> > __thiscall std::_Container_base_aux_alloc_empty<class
> > std::allocator<int> >::~_Container_base_aux_alloc_empty<class
> > std::allocator<int> >(void)" (??1?$_container_base_aux_alloc_em...@v?
> > $alloca...@h@std@@@std@@i...@xz) already defined in libprotobufd.lib
> > (descriptor.obj)
> > 1>ivnt-mplsted.lib(ivnt-mplsted.dll) : error LNK2005: "protected:
> > __thiscall std::_Container_base_aux_alloc_empty<class
> > std::allocator<int> >::_Container_base_aux_alloc_empty<class
> > std::allocator<int> >(class std::allocator<int>)" (??0?
> > $_container_base_aux_alloc_em...@v?$allocator@h...@std@@@std@@i...@v?
> > $alloca...@h@1@@Z) already defined in libprotobufd.lib(descriptor.obj)
> > 1>    Searching ..\debug\aria-commond.lib:
> >
> > It looks like one of our libararies are using stl related stuff and
> > the same being used in libprotobuf as well. I believe this should be
> > ok and should not cause any issue. Have any body have faced such a
> > problem before , Any advice will be really helpfull.
> >
> > Operating system is Windows Vista ,development environment is  Visual
> > Studio 2008 and the static version of libprotobuf is used.
> >
> > NB: If we switch back to 2.0.3 every thing works fine.But we are
> > planning to use some of the new features and  hence the migration to
> > 2.2.0a.
> >
> >
> > Thanks & Regards
> > Anu
> >
> > --
> >
> > 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<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.


Reply via email to