Can't build Dlangide locally

Tom Padilla padilla.henry at gmail.com
Thu Oct 11 11:20:41 UTC 2018


I'm new to D so this may have been asked and answered several 
times by now. My apologies if I'm being redundant. I did look but 
found nothing that looked like this issue.

I have installed Visual Studio first [VS2017 15.8.6] (BTW you 
might mention that Visual C++ needs to be installed, not Visual 
Studio. It took me a while to figure out why the installer said 
VS wasn't installed).
Then I installed D. I opened the sc.ini and added the cofig 
values for VCINSTALLDIR, WindowsSdkDir, UniversalCRTSdkDir, and 
UCRTVersion.
I open a D2 64-bit command prompt and use "dub fetch dlangide" 
and "dub run --build=release --arch=x86_64 dlangide" like it says 
on https://code.dlang.org/packages/dlangide and I get the 
following output:

     dlangui 0.9.180: building configuration "default"...
     dlangide 0.8.14: building configuration "default"...
     src\dlangide\ui\newfile.d(100,101): Warning: C preprocessor 
directive #FF0000 is not supported
     src\dlangide\ui\newfolder.d(64,101): Warning: C preprocessor 
directive #FF0000 is not supported
     src\dlangide\tools\d\dcdinterface.d(241,34): Deprecation: 
function `dcd.common.messages.AutocompleteResponse.docComments` 
is deprecated - use completions[].documentation + 
escapeConsoleOutputString instead
     src\dlangide\tools\d\dcdinterface.d(322,25): Deprecation: 
function 
`dcd.common.messages.AutocompleteResponse.completionKinds` is 
deprecated - use completions[].kind instead
     src\dlangide\tools\d\dcdinterface.d(323,28): Deprecation: 
function 
`dcd.common.messages.AutocompleteResponse.completionKinds` is 
deprecated - use completions[].kind instead
     
C:\D\dmd2\windows\bin\..\..\src\phobos\std\range\primitives.d(171,38): Deprecation: function `dcd.common.messages.AutocompleteResponse.Completion.compatibilityContent` is deprecated - Use identifier (or definition for calltips) instead
     C:\D\dmd2\windows\bin\dmd.exe failed with exit code 1.

I've also tried "dub run --build=release --arch=x86_mscoff 
dlangide" in D2 32-bit command prompt and get the following:

     dlangui 0.9.180: building configuration "default"...
     dlangide 0.8.14: building configuration "default"...
     src\dlangide\ui\newfile.d(100,101): Warning: C preprocessor 
directive #FF0000 is not supported
     src\dlangide\ui\newfolder.d(64,101): Warning: C preprocessor 
directive #FF0000 is not supported
     src\dlangide\tools\d\dcdinterface.d(241,34): Deprecation: 
function `dcd.common.messages.AutocompleteResponse.docComments` 
is deprecated - use completions[].documentation + 
escapeConsoleOutputString instead
     src\dlangide\tools\d\dcdinterface.d(322,25): Deprecation: 
function 
`dcd.common.messages.AutocompleteResponse.completionKinds` is 
deprecated - use completions[].kind instead
     src\dlangide\tools\d\dcdinterface.d(323,28): Deprecation: 
function 
`dcd.common.messages.AutocompleteResponse.completionKinds` is 
deprecated - use completions[].kind instead
     
C:\D\dmd2\windows\bin\..\..\src\phobos\std\range\primitives.d(171,38): Deprecation: function `dcd.common.messages.AutocompleteResponse.Completion.compatibilityContent` is deprecated - Use identifier (or definition for calltips) instead
     C:\D\dmd2\windows\bin\dmd.exe failed with exit code 1.

Any advice on what I'm doing wrong? Is there a different version 
I'm supposed to be using?
Thanks for the help.
Tom Padilla



More information about the Digitalmars-d-ide mailing list