<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 22 January 2014 11:09, Manu <span dir="ltr"><<a href="mailto:turkeyman@gmail.com" target="_blank">turkeyman@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div class="h5"><div class="gmail_extra"><div class="gmail_quote"><span style="color:rgb(34,34,34)">...yes, seems to be the case. I amended my sc.ini file to point to the VS2012 stuff and it works much better. Only one link error:</span><br>
</div></div></div></div>
<div class="gmail_extra"><br></div><div class="gmail_extra"><div class="im"><div class="gmail_extra"><font face="courier new, monospace">1>libcpmtd.lib(stdthrow.obj) : error LNK2019: unresolved external symbol _CrtDbgReportW referenced in function "void __cdecl std::_Debug_message(wchar_t const *,wchar_t const *,unsigned int)" (?_Debug_message@std@@YAXPEB_W0I@Z)</font></div>

<div><br></div></div><div>Strange.. I wonder where that's supposed to come from :/<br></div></div></div></blockquote><div><br></div><div>This final link error appears to be a CRT mismatch. The C++ code is built against the debug CRT, but I think DMD/VisualD (because VD handles the link step manually?) is trying to link the non-debug lib.</div>
<div>How can I control which CRT DMD/VisualD will link against?</div><div>I can't see any options for DMD, and VisualD doesn't seem to expose any option either. Passing /MTd to the linker doesn't have any effect, it's an MSC compiler option, not a linker option.</div>
</div></div></div>