<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 5 January 2014 21:23, 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
<br>
On 05.01.2014 03:38, Manu wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
On 5 January 2014 12:30, Manu <<a href="mailto:turkeyman@gmail.com" target="_blank">turkeyman@gmail.com</a><br>
<mailto:<a href="mailto:turkeyman@gmail.com" target="_blank">turkeyman@gmail.com</a>>> wrote:<br>
<br></div><div class="im">
    Hmm, so I jigged it so it's able to find mspdb100.dll, but now<br>
    link.exe complains: "The application was unable to start correctly<br>
    (0xc000007b)."<br>
    That's weird.<br>
<br>
<br></div><div class="im">
Okay, my cludge was a 32bit/64bit dll mismatch. Works now, so it is all<br>
about pathing problems.<br>
This shit has really gotta 'just work' out of the box.<br>
<br>
Walter: Is it possible to completely override sc.ini? What needs to be<br>
done to get there?<br>
Rainer: What is the current state of VisualD's overriding sc.ini? What's<br>
complicating the process?<br>
</div></blockquote>
<br>
I guess you are using the latest beta of Visual D, don't you?<br></blockquote><div><br></div><div>Actually, I'm using the latest release. What's new in the beta?</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

The situation with multiple versions of Visual Studio installed is dealt with by always calling the linker separately (not through dmd). This still captures all settings from sc.ini, but overrides some if "override linker settings" is enabled.<br>

<br>
What seems to happen is that the default executable paths do not contain <VSInstallDir>\Common7\IDE, but this is needed by the linker to find the mspdb*.dll. PATH is modified to that respect in sc.ini, but it is patched by the D installer to the latest VS version only.<br>

<br>
So please try adding $(VCInstallDir)\..\Common7\IDE to the executable paths for x64 builds. I'll add this to the defaults aswell.<br></blockquote><div><br></div><div>Perfect, that did the trick. Thanks!</div><div>I was pointing at an mspdb100.dll in a different directory. It was complaining about version mismatch on rebuilds. This one seems to be the correct one, and the complaining is gone.</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
[Unfortunately it seems this is a slight simplification, because for the VS2013 shell, the appropriate files are in $(VCInstallDir)\bin.</blockquote><div>Nothing's ever so simple ;)</div></div></div></div>