[reSIProcate] Can't linked to RutilD.lib, maybe a bug.
Karlsson
boost.regex at gmail.com
Sat Apr 9 00:24:20 CDT 2011
Does anyone can look on it ? I'm sure the rutil(ssl-debug) lib can't linked
to a unicode MFC application(MTd) which created by VC++ 9.0, the ssl-release
with VC9 is working fine. With VC8, both ssl-debug and ssl-release all are
work fine.
On Thu, Apr 7, 2011 at 2:50 PM, Karlsson <boost.regex at gmail.com> wrote:
> One more thing, the 1.6 release has some issue with VC9.0.
>
>
>
> On Thu, Apr 7, 2011 at 2:45 PM, Karlsson <boost.regex at gmail.com> wrote:
>
>> I checked out the newest resiprocate(main) and compile it(SSL_DEBUG and
>> SSL_RELEASE) by VS2008(VC9), all projects "c/c++->code generation->runtime
>> library" are set as /MTd and /MT; Once I try link all resip libraries to a
>> VC9 MFC application, always got a link error:
>>
>> 1>RutilD.lib(Log.obj) : error LNK2005: "void __cdecl operator delete(void
>> *,int,char const *,int)" (??3 at YAXPAXHPBDH@Z) already defined in
>> uafxcwd.lib(afxmem.obj)
>>
>> The MFC application is "Dialog base" which generated by wizard, the
>> "c/c++->code generation->runtime library" are set as /MTd and /MT; And set
>> use of MFC as "Use MFC in a Static Library", I havent' wrote any other code
>> in the MFC application, just add below:
>>
>> #include <rutil/Coders.hxx>
>> #include <rutil/Random.hxx>
>> #include <rutil/MD5Stream.hxx>
>> #include <resip/stack/XMLCursor.hxx>
>> #include <rutil/ParseBuffer.hxx>
>>
>> using namespace resip;
>>
>> #ifdef _DEBUG
>> #pragma comment(lib, "../lib/resip/RutilD.lib")
>> #else
>> #pragma comment(lib, "../lib/resip/Rutil.lib")
>> #endif
>>
>>
>> Note: If compile the MFC app in Release mode, succeeded, the link error
>> just appears with DEBUG mode.
>>
>> Thanks
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20110409/71d2c0b8/attachment.htm>
More information about the resiprocate-devel
mailing list