Skip to content
New issue

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

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

Already on GitHub? # to your account

ldc2 build on windows 10 fails #1

Open
truedat101 opened this issue Oct 10, 2018 · 5 comments
Open

ldc2 build on windows 10 fails #1

truedat101 opened this issue Oct 10, 2018 · 5 comments
Labels
bug Something isn't working

Comments

@truedat101
Copy link

First of all, thank you for creating the grpc binding. I try to build, but get a failure:

$ dub --compiler=ldc2
Fetching hunt-security 0.0.2 (getting selected version)...
Fetching boringssl 0.0.1 (getting selected version)...
Fetching openssl 1.1.6+1.0.1g (getting selected version)...
Fetching hunt 1.0.0-beta.4 (getting selected version)...
Fetching hunt-net 0.0.3 (getting selected version)...
Fetching protobuf 0.3.1 (getting selected version)...
Fetching hunt-http 0.0.4 (getting selected version)...
Performing "debug" build using ldc2 for x86_64.
hunt-grpc ~master: building configuration "hunt-grpc"...
..\..\..\AppData\Roaming\dub\packages\hunt-1.0.0-beta.4\hunt\source\hunt\event\socket\iocp.d(106,20): Error: undefined identifier WSABUF
..\..\..\AppData\Roaming\dub\packages\hunt-1.0.0-beta.4\hunt\source\hunt\event\socket\iocp.d(395,20): Error: undefined identifier WSABUF
..\..\..\AppData\Roaming\dub\packages\hunt-1.0.0-beta.4\hunt\source\hunt\event\socket\iocp.d(396,20): Error: undefined identifier WSABUF
..\..\..\AppData\Roaming\dub\packages\hunt-1.0.0-beta.4\hunt\source\hunt\event\socket\iocp.d(523,16): Error: undefined identifier WSABUF
..\..\..\AppData\Roaming\dub\packages\hunt-1.0.0-beta.4\hunt\source\hunt\event\socket\iocp.d(684,5): Error: undefined identifier LPWSABUF
..\..\..\AppData\Roaming\dub\packages\hunt-1.0.0-beta.4\hunt\source\hunt\event\socket\iocp.d(686,5): Error: undefined identifier LPWSABUF
..\..\..\AppData\Roaming\dub\packages\hunt-1.0.0-beta.4\hunt\source\hunt\event\socket\iocp.d(687,5): Error: undefined identifier LPWSABUF
..\..\..\AppData\Roaming\dub\packages\hunt-1.0.0-beta.4\hunt\source\hunt\event\socket\iocp.d(690,5): Error: undefined identifier LPWSABUF
..\..\..\AppData\Roaming\dub\packages\hunt-1.0.0-beta.4\hunt\source\hunt\event\socket\iocp.d(692,5): Error: undefined identifier LPWSABUF
..\..\..\AppData\Roaming\dub\packages\hunt-1.0.0-beta.4\hunt\source\hunt\event\socket\iocp.d(693,5): Error: undefined identifier LPWSABUF
..\..\..\AppData\Roaming\dub\packages\hunt-1.0.0-beta.4\hunt\source\hunt\io\TcpStream.d(138,19): Error: function hunt.io.TcpStream.TcpStream.start does not override any function
..\..\..\AppData\Roaming\dub\packages\hunt-1.0.0-beta.4\hunt\source\hunt\io\TcpStream.d(191,19): Error: function hunt.io.TcpStream.TcpStream.onRead does not override any function
..\..\..\AppData\Roaming\dub\packages\hunt-1.0.0-beta.4\hunt\source\hunt\io\TcpStream.d(220,19): Error: function hunt.io.TcpStream.TcpStream.onClose does not override any function
..\..\..\AppData\Roaming\dub\packages\hunt-1.0.0-beta.4\hunt\source\hunt\io\TcpStream.d(240,19): Error: function hunt.io.TcpStream.TcpStream.onWrite does not override any function
..\..\..\AppData\Roaming\dub\packages\hunt-1.0.0-beta.4\hunt\source\hunt\io\TcpListener.d(122,19): Error: function hunt.io.TcpListener.TcpListener.start does not override any function ..\..\..\AppData\Roaming\dub\packages\hunt-1.0.0-beta.4\hunt\source\hunt\io\TcpListener.d(130,19): Error: function hunt.io.TcpListener.TcpListener.close does not override any function ..\..\..\AppData\Roaming\dub\packages\hunt-1.0.0-beta.4\hunt\source\hunt\io\TcpListener.d(139,29): Error: function hunt.io.TcpListener.TcpListener.onRead does not override any function

ldc2 failed with exit code 1.
@Heromyth
Copy link
Collaborator

Run:

dub upgrade

to upgrade all the dependencies.

It can be built with DMD.

dub build --config=example --arch=x86_64 --build=debug --compiler=dmd

It fails when building with LDC

dub build --config=example --arch=x86_64 --build=debug --compiler=ldc2

We are fixing it.

@Heromyth
Copy link
Collaborator

See also: dcarp/protobuf-d#8

@truedat101
Copy link
Author

Thank you, will review that. Sounds like upstream module issue .

@zoujiaqing zoujiaqing added the bug Something isn't working label Mar 6, 2019
@thewilsonator
Copy link

Upstream bug was fixed is this still an issue?

@mw66
Copy link
Contributor

mw66 commented May 18, 2021

Yes, it still is an issue, ldc2 build fails also on Linux.

huntlabs/hunt#89

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants