<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 23 January 2014 08:38, Rainer Schuetze <span dir="ltr"><<a href="mailto:r.sagitario@gmx.de" target="_blank">r.sagitario@gmx.de</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">On Wednesday, 22 January 2014 at 01:25:07 UTC, Manu wrote:<br>


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div>
On 22 January 2014 11:16, Walter Bright <<a href="mailto:newshound2@digitalmars.com" target="_blank">newshound2@digitalmars.com</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
On 1/21/2014 5:09 PM, Manu wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
It's not so simple,  because VisualD attempts to override the paths in<br>
the config<br>
<br>
files, it gets complicated and I have no clear view where the paths used<br>
actually come from.<br>
<br>
</blockquote>
<br>
VisualD cannot find files that are not there - so remove those files, and<br>
then see what happens.<br>
<br>
</blockquote>
<br></div></div><div>
I'm not sure what you mean... remove sc.ini?<br></div><div>
VisualD doesn't appear to be doing any magic (although it should). It's<br>
just taking the usual paths from sc.ini verbatim. This would seem to be the<br>
problem.<br>
</div></blockquote>
<br>
You can see all the environment changes and executed command in the cmd-file in the output directory (or just click the link to the log shown in the output window).<br></blockquote><div><br></div><div>Okay, I can see this in the .linkarg file (is that the file you mean?), I wonder if this is the source of the problem:</div>
<div><br></div><div>/LIBPATH:"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\\lib\amd64<b>\n</b>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\lib\x64\"<br></div><div><br></div><div>2 absolute paths concatenated by \n supplied to /LIBPATH:... looks very suspicious.</div>
<div><br></div><div>Note: this is under VS2010, I'd need to reconfigure for VS2012 to reproduce the link errors again, but I bet the same concatenated paths with \n occur there too, and the paths would be ignored... falling back to sc.ini?)</div>
<div><br></div><div><br>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
One problem might be that the C object files that are part of the phobos library are forcing the inclusion of the library "LIBCMT" (and "OLDNAMES"), and this probably doesn't mix very well with the debug version LIBCMTD.<br>


<br>
Maybe you can add a command line option to ignore LIBCMT for debug builds with /NODEFAULTLIB:LIBCMT<br>
</blockquote></div><br></div><div class="gmail_extra">That's definitely a potential problem. Any C files in phobos must be built with /Zl (Omit Default Library Name) if being built with MSC.</div><div class="gmail_extra">
If they're not built with MSC, I can't imagine they would have had the name embedded like MSC does in the first place, so tha wouldn't be the problem in that case...?</div>
</div>