January 05, 2014 Re: Windows DMD installer/VisualD still not detecting paths correctly | ||||
---|---|---|---|---|
| ||||
Posted in reply to Manu | On 05.01.2014 18:10, Manu wrote: > On 6 January 2014 00:35, Rainer Schuetze <r.sagitario@gmx.de > <mailto:r.sagitario@gmx.de>> wrote: > > > > On 05.01.2014 12:51, Manu wrote: > > On 5 January 2014 21:23, Rainer Schuetze <r.sagitario@gmx.de > <mailto:r.sagitario@gmx.de> > <mailto:r.sagitario@gmx.de <mailto:r.sagitario@gmx.de>>> wrote: > > I guess you are using the latest beta of Visual D, don't you? > > Actually, I'm using the latest release. What's new in the beta? > > > See here for beta releases with a change list: > https://github..com/D-__Programming-Language/visuald/__releases > <https://github.com/D-Programming-Language/visuald/releases> > > > I installed the latest beta, and it overwrite my setting where I added > the search path to the x64 executable paths. > I had to add it again. Is working. Hmmm, although there were some changes to the library paths, I don't see anything that might have restored the executable path. Maybe you had multiple instances of Visual Studio running? Then the settings from one instance are not transferred to the other and what ends in the stored options depends on the order of termination. > > > So please try adding $(VCInstallDir)\..\Common7\IDE to the > executable paths for x64 builds. I'll add this to the > defaults aswell. > > > Perfect, that did the trick. Thanks! > 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. > > > Argh, incompatible identically named dlls? Where did you find it? > > > Mine are here: > C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64 (I > tried using this one before) Ok, this is a x64 DLL, but the linker called by the default settings is a 32-bit executable (needed to monitor linker dependencies). > C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE (this > one works) > |
January 05, 2014 Re: Windows DMD installer/VisualD still not detecting paths correctly | ||||
---|---|---|---|---|
| ||||
Posted in reply to Manu | On 1/4/2014 6:38 PM, Manu wrote:
> Walter: Is it possible to completely override sc.ini? What needs to be done to
> get there?
dmd will look for the initialization file sc.ini in the following sequence of directories:
1.current working directory
2.directory specified by the HOME environment variable
3.directory dmd.exe resides in
Therefore, put the sc.ini file you want (even an empty one) in the current working directory.
|
January 07, 2014 Re: Windows DMD installer/VisualD still not detecting paths correctly | ||||
---|---|---|---|---|
| ||||
Posted in reply to Manu | On Sun, 05 Jan 2014 02:30:48 -0000, Manu <turkeyman@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. DLL load order on windows is a little weird. I suspec that that either mspdb100.dll or link.exe requires another DLL which its not finding due to current working directory or similar. I wonder if VisualD is setting the current working directory before invoking the linker.. How did you jig it exactly? You could use depends.exe to load mspdb100.dll, or even link.exe and see what dependencies it has. Regan -- Using Opera's revolutionary email client: http://www.opera.com/mail/ |
January 09, 2014 Re: Windows DMD installer/VisualD still not detecting paths correctly | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rainer Schuetze Attachments:
| On 5 January 2014 21:23, Rainer Schuetze <r.sagitario@gmx.de> wrote:
>
> 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.
>
> So please try adding $(VCInstallDir)\..\Common7\IDE to the executable paths for x64 builds. I'll add this to the defaults aswell.
>
Is the executable paths properly saved?
Every time I restart Visual Studio, the option has reset to default, and I
have to add this path again.
|
January 09, 2014 Re: Windows DMD installer/VisualD still not detecting paths correctly | ||||
---|---|---|---|---|
| ||||
Posted in reply to Manu |
On 09.01.2014 04:00, Manu wrote:
> On 5 January 2014 21:23, Rainer Schuetze <r.sagitario@gmx.de
> <mailto:r.sagitario@gmx.de>> wrote:
>
>
> 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.
>
> So please try adding $(VCInstallDir)\..\Common7\IDE to the
> executable paths for x64 builds. I'll add this to the defaults aswell.
>
>
> Is the executable paths properly saved?
> Every time I restart Visual Studio, the option has reset to default, and
> I have to add this path again.
I noticed a bad \n translation, will have to check.
|
January 21, 2014 Re: Windows DMD installer/VisualD still not detecting paths correctly | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rainer Schuetze Attachments:
| On 10 January 2014 06:40, Rainer Schuetze <r.sagitario@gmx.de> wrote:
>
>
> On 09.01.2014 04:00, Manu wrote:
>
>> On 5 January 2014 21:23, Rainer Schuetze <r.sagitario@gmx.de <mailto:r.sagitario@gmx.de>> wrote:
>>
>>
>> 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.
>>
>> So please try adding $(VCInstallDir)\..\Common7\IDE to the
>> executable paths for x64 builds. I'll add this to the defaults aswell.
>>
>>
>> Is the executable paths properly saved?
>> Every time I restart Visual Studio, the option has reset to default, and
>> I have to add this path again.
>>
>
> I noticed a bad \n translation, will have to check.
>
Did this go anywhere?
It's really quite annoying having to add that path to the executables every
time I restart VS ;)
|
January 21, 2014 Re: Windows DMD installer/VisualD still not detecting paths correctly | ||||
---|---|---|---|---|
| ||||
Posted in reply to Manu | On Tuesday, 21 January 2014 at 08:52:58 UTC, Manu wrote: > On 10 January 2014 06:40, Rainer Schuetze <r.sagitario@gmx.de> wrote: > >> >> >> On 09.01.2014 04:00, Manu wrote: >> >>> On 5 January 2014 21:23, Rainer Schuetze <r.sagitario@gmx.de >>> <mailto:r.sagitario@gmx.de>> wrote: >>> >>> >>> 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. >>> >>> So please try adding $(VCInstallDir)\..\Common7\IDE to the >>> executable paths for x64 builds. I'll add this to the defaults aswell. >>> >>> >>> Is the executable paths properly saved? >>> Every time I restart Visual Studio, the option has reset to default, and >>> I have to add this path again. >>> >> >> I noticed a bad \n translation, will have to check. >> > > Did this go anywhere? > It's really quite annoying having to add that path to the executables every > time I restart VS ;) Have you tried using Windows registry[0] to work around this? Not a fix but it may work for now? [0] http://msdn.microsoft.com/en-us/library/windows/desktop/ee872121(v=vs.85).aspx |
Copyright © 1999-2021 by the D Language Foundation