Windows DMD installer/VisualD still not detecting paths correctly

Manu turkeyman at gmail.com
Sat Jan 4 21:01:56 PST 2014


New exciting error:
1>LINK : fatal error LNK1101: incorrect MSPDB100.DLL version; recheck
installation of this product

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.


On 5 January 2014 12:38, Manu <turkeyman at gmail.com> wrote:

> On 5 January 2014 12:30, Manu <turkeyman at gmail.com> wrote:
>
>> 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)."
>> That's weird.
>>
>
> Okay, my cludge was a 32bit/64bit dll mismatch. Works now, so it is all
> about pathing problems.
> This shit has really gotta 'just work' out of the box.
>
> Walter: Is it possible to completely override sc.ini? What needs to be
> done to get there?
> Rainer: What is the current state of VisualD's overriding sc.ini? What's
> complicating the process?
>
> On 5 January 2014 12:17, Manu <turkeyman at gmail.com> wrote:
>>
>>> I think it might be VisualD specific, and it seems like a version
>>> mismatch.
>>>
>>> In sc.ini I have: VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual
>>> Studio 11.0\VC\  (note: the vs2012 path)
>>> 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.
>>>
>>> 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.
>>>
>>> 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)?
>>>
>>> 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.
>>>
>>> Disclaimer: I'm not absolutely certain this is a correct analysis of the
>>> situation, but it seems this is what's happening.
>>>
>>>
>>> On 5 January 2014 10:47, Manu <turkeyman at gmail.com> wrote:
>>>
>>>> Fresh install of DMD + VisualD via the installer.
>>>> Building Win64, linker complains: "link.exe: Can't start because
>>>> mspdb100.dll is missing"
>>>>
>>>> We really need to get this right. Not sure what's special about my
>>>> system. Has anything in the installer or VisualD changed?
>>>> Last time I tested it was working.
>>>>
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20140105/93771639/attachment.html>


More information about the Digitalmars-d mailing list