use the same runtime ,or use /force:multiple option.

2008/4/17, Toula <[EMAIL PROTECTED]>:
>
>
> Hi:
> I am trying to extend libjingle to have an API dll to export the
> functions I need in my external application. I used the same
> preprocessor definitions as the call and pcp projects, but I am unable
> to compile. I get errors such as:
> Error   5       error LNK2019: unresolved external symbol "public: class
> std::basic_string<char,struct std::char_traits<char>,class
> std::allocator<char> > __thiscall buzz::Jid::Str(void)const " (?
> [EMAIL PROTECTED]@buzz@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@V?
> [EMAIL PROTECTED]@2@@std@@XZ) referenced in function "int __cdecl
> JingleLogin(char *,char *,bool)" (?JingleLogin@@[EMAIL PROTECTED])
> JingleApi.obj
>
> If I depend on libjingle.lib, I get errors such as:
>
> Error   1       error LNK2005: "public: char const * __thiscall
> std::basic_string<char,struct std::char_traits<char>,class
> std::allocator<char> >::c_str(void)const " ([EMAIL PROTECTED]@DU?
> [EMAIL PROTECTED]@std@@[EMAIL PROTECTED]@2@@std@@QBEPBDXZ) already defined
> in libjingle.lib(jid.obj)       msvcprtd.lib
>
> It seems like the same .lib pulled in twice (by libjinlge.lib and by
> the jingleapi.lib).
> Any help is greatly appreciated.
> Thanks
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-talk-open" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-talk-open?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to