www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ide - Can't build Dlangide locally

reply Tom Padilla <padilla.henry gmail.com> writes:
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
Oct 11 2018
parent Laurent =?UTF-8?B?VHLDqWd1aWVy?= <laurent.treguier.sink gmail.com> writes:
On Thursday, 11 October 2018 at 11:20:41 UTC, Tom Padilla wrote:
 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:

     [...]
I'm getting the same output when trying to build dlangide with dub on Windows.
 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
There is a prebuilt binary on its Github page [1], it's from one year ago but at least it's compiled and it seems to start up properly. [1] https://github.com/buggins/dlangide/releases
Oct 11 2018