On Jan 3, 5:42 pm, techtech <shawn.yarbro...@gmail.com> wrote:
> Can anyone tell me if MPIR works under Microsoft Visual Studio 2008
> with the "Multi-threaded Debug DLL (/MDd)" setting for Runtime
> Library?
>
> MPIR's projects for VS 2008 use the non-DLL setting of "Multi-threaded
> Debug (/MTd)".  I can build the MPIR library itself successfully with
> both settings.
>
> The trouble is when I link with my application.  I see dozens of
> errors like this:
>
> ----------
> msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: __thiscall
> std::basic_string<char,struct std::char_traits<char>,class
> std::allocator<char> >::~basic_string<char,struct
> std::char_traits<char>,class std::allocator<char> >(void)" (??1?
> $basic_str...@du?$char_traits@d...@std@@v?$alloca...@d@2@@std@@q...@xz)
> already defined in mpirxx.lib(osmpf.obj)
> ----------

I should work.

Are you sure that you have set the same runtime library for _both_
mpir.lib and mpirxx.lib?

Do you need the C++ library?

   Brian

--

You received this message because you are subscribed to the Google Groups 
"mpir-devel" group.
To post to this group, send email to mpir-de...@googlegroups.com.
To unsubscribe from this group, send email to 
mpir-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/mpir-devel?hl=en.


Reply via email to