<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div class="gmail_quote">New exciting error:</div><div class="gmail_quote">1>LINK : fatal error LNK1101: incorrect MSPDB100.DLL version; recheck installation of this product<br>
</div><div class="gmail_quote"><br></div><div class="gmail_quote">Strangely, it works fine on the very first build, or of I rebuild-all, but any build after producing a valid exe gives this error.</div><div class="gmail_quote">
<br></div></div><div class="gmail_quote"><br></div><div class="gmail_quote">On 5 January 2014 12:38, 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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">
<div class="im">On 5 January 2014 12:30, 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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div dir="ltr">Hmm, so I jigged it so it's able to find mspdb100.dll, but now link.exe complains: "The application was unable to start correctly (0xc000007b)."<div>That's weird.</div></div></blockquote>
<div>
<br></div></div><div>Okay, my cludge was a 32bit/64bit dll mismatch. Works now, so it is all about pathing problems.</div><div>This shit has really gotta 'just work' out of the box.<br></div><div><br></div><div>Walter: Is it possible to completely override sc.ini? What needs to be done to get there?</div>

<div>Rainer: What is the current state of VisualD's overriding sc.ini? What's complicating the process?</div><div><div class="h5"><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">

<div dir="ltr"><div><div><div><div class="gmail_extra"><div class="gmail_quote">On 5 January 2014 12:17, 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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr"><div>I think it might be VisualD specific, and it seems like a version mismatch.</div><div><br></div><div>In sc.ini I have: VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\  (note: the vs2012 path)</div>



<div>And beneath that path exists mspdb110.dll, but apparently the version of link.exe that VisualD invokes is looking for mspdb100.dll, which it doesn't find.</div><div><br></div><div>We had some discussion where VisualD should try and override the sc.ini paths with the paths that were actually appropriate for the version of Visual Studio being used at the time. This is important to eliminate other version conflicts when linking VC C/C++ and D projects together within one solution. Visual Studio uses the toolset and libs related to the version of the IDE currently in use, therefore VisualD should also tell DMD to use the same toolset for compatibility.</div>



<div><br></div><div>I use vs2010, although I also have vs2005 and vs2013 installed. It seems VisualD is invoking the correct linker since it's complaining about mspdb100.dll, which is the proper version for vs2010, but perhaps DMD is still getting another path for the supporting DLL's from sc.ini, which was set to the vs2012 paths (as noted above)?</div>



<div><br></div><div>My suggestion from before was that under VisualD, DMD should _completely ignore_ sc.ini, and VisualD should provide all paths and arguments. As long as DMD gets any paths from sc.ini, I can only see it leading to problems under VisualD.</div>



<div><br></div><div>Disclaimer: I'm not absolutely certain this is a correct analysis of the situation, but it seems this is what's happening.</div></div><div><div><div class="gmail_extra">
<br><br><div class="gmail_quote">On 5 January 2014 10:47, 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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Fresh install of DMD + VisualD via the installer.<div>
Building Win64, linker complains: "link.exe: Can't start because mspdb100.dll is missing"</div>


<div><br></div><div>We really need to get this right. Not sure what's special about my system. Has anything in the installer or VisualD changed?</div>
<div>Last time I tested it was working.</div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div></div></div>
</blockquote></div></div></div><br></div></div>
</blockquote></div><br></div></div>