Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install fail #52

Open
TurkeyMan opened this issue May 14, 2018 · 1 comment
Open

Install fail #52

TurkeyMan opened this issue May 14, 2018 · 1 comment

Comments

@TurkeyMan
Copy link

I installed the plugin, it tried to fetch and build dependent tools.
This failed pretty spectacularly.

In addition to not working, it also took ages to build!
Why wouldn't we just pull a binary? Binary distribution is best distribution ;)

Dub fetch : dfix
Dub build : dfix
Error: linker exited with status 1
C:\dev\D\dmd2\windows\bin\dmd.exe failed with exit code 1.
Dub fetch : d-profile-viewer
Dub build : d-profile-viewer
Dub fetch : dcd
Dub build : dcd (client)
Dub fetch : dcd
Dub build : dcd (server)
DCD : starting server...
Dub fetch : dfmt
Dub build : dfmt
src\dfmt\main.d(90,38): Deprecation: function `std.exception.enforceEx!(GetOptException).enforceEx!bool.enforceEx` is deprecated - Use `enforce`. `enforceEx` will be removed with 2.089.
Error: linker exited with status 1
C:\dev\D\dmd2\windows\bin\dmd.exe failed with exit code 1.
Dub fetch : dscanner
Dub build : dscanner
Invalid source/import path: C:\Users\Manu\AppData\Local\dub\packages\dscanner-0.5.3\dscanner\bin
src\dscanner\analysis\unused.d(314,18): Error: no property `statementNoCaseNoDefault` for type `const(WithStatement)`
C:\dev\D\dmd2\windows\bin\dmd.exe failed with exit code 1.
@LaurentTreguier
Copy link
Collaborator

There hasn't been much development on here recently. Developing a complete extension takes time, and it's only compatible with one editor; since Microsoft has been developing the Language Server Protocol to remedy this, I've begun working on a language server to get all the work to something that could be used by more than just one editor.
I didn't try to integrate it with this extension simply because it started out with not nearly as many features.

Regarding the linker problem, maybe using a build from the development branch would give you better results ?

The reasons for building the tools instead of using binaries are :

  • it would have required hosting the binaries somewhere (I don't think DCD & others had binaries on Github back then)
  • it's cross-platform and thus easier to do (I'm lazy)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants