[dmd-beta] D 1.076 and 2.061 beta 1

Walter Bright walter at digitalmars.com
Sun Dec 30 14:11:42 PST 2012


On 12/30/2012 1:44 PM, Andrej Mitrovic wrote:
> On 12/30/12, Walter Bright <walter at digitalmars.com> wrote:
>> VCINSTALLDIR, when set by VC, includes the trailing \
> I think that's only true for WindowsSdkDir, not VSINSTALLDIR. See the
> vsvars32.bat file or the vcvarsamd64.bat file, here's some snippets:
>
> @SET VCINSTALLDIR=C:\Program Files\Microsoft Visual Studio 9.0\VC
> @if errorlevel 1 set WindowsSdkDir=%VCINSTALLDIR%\PlatformSDK\
> set "PATH=%WindowsSdkDir%bin;%PATH%"
>
> It seems it expects the SDK dir to have the slash but not the VC dir.
>

VS2010 adds the trailing \ for both. It's a default install of VS2010.


More information about the dmd-beta mailing list