Building Visual D

Rainer Schuetze via Digitalmars-d-ide digitalmars-d-ide at puremagic.com
Wed Jun 22 23:43:25 PDT 2016



On 22.06.2016 00:28, Joerg Joergonson wrote:
> On Sunday, 19 June 2016 at 07:44:30 UTC, Rainer Schuetze wrote:
>>
>>
>> On 18.06.2016 17:53, Joerg Joergonson wrote:
>>> On Friday, 17 June 2016 at 08:02:24 UTC, Rainer Schuetze wrote:
>>>>
>>>>
>>>> On 16.06.2016 08:25, Rainer Schuetze wrote:
>>>>> I've not yet adjusted the conversion to the Windows 10 SDK. I'll
>>>>> try to
>>>>> fix this, but maybe you can get hold of an Win 8.1 SDK in the mean
>>>>> time.
>>>>
>>>> I've pushed a few changes that allow converting the Windows 10 SDK.
>>>> Please try again.
>>>
>>>
>>> I still get "couldn't not detect sdk" and have to manually fix up. IIRC,
>>> it requires accessing the registry to find the proper info(I think I saw
>>> someone with a similar SDK problem in some software that said that).
>>>
>>
>> Visual D is supposed to do that and set the WindowsSDKDir environment
>> variable accordingly. Unfortunately, I left my test code in the batch
>> file.
>>
>> I've pushed a version without the test override.
>
> I still get the error
>
> Building ..\bin\Debug\build.sdk...
> "..\bin\Debug\tlb2idl.exe" "C:\Program Files (x86)\Common
> Files\Microsoft Shared\MSEnv\dte80.olb" "..\sdk\vsi\idl\dte80.idl"
> "C:\Program Files (x86)\Windows\Kits\10\\bin\x86\iviewers.dll"
> could not detect the Visual Studio SDK
> Building ..\bin\Debug\sdk.success failed!
>
>

We've made some progress here, it's now looking for the Visual Studio 
SDK folder, not the Windows SDK.

The VS2015 installer added the VSSDK140Install variable to the 
environment for me, but it seems to be missing for you.

Please try adding this line to
https://github.com/dlang/visuald/blob/master/build/sdk.bat#L29:

if "%VSISDKINC%" == "" if exist "%VSINSTALLDIR%\VSSDK" set 
VSISDKINC=%VSINSTALLDIR%\VSSDK

(no line break, might be inserted by mail program).


More information about the Digitalmars-d-ide mailing list