January 28, 2019 Can't build vibed:tls project | ||||
---|---|---|---|---|
| ||||
If I am specifying (sic! TLS): dependency "vibe-d:tls" version="0.8.4" in my dub.sdl I am getting error when building simple project: module `vibe` is in file 'vibe\vibe.d' which cannot be read But I need to get vibed build with OpenSSL support |
January 30, 2019 Re: Can't build vibed:tls project | ||||
---|---|---|---|---|
| ||||
Posted in reply to Suliman | On Monday, 28 January 2019 at 20:08:31 UTC, Suliman wrote:
> If I am specifying (sic! TLS):
> dependency "vibe-d:tls" version="0.8.4" in my dub.sdl I am getting error when building simple project:
>
> module `vibe` is in file 'vibe\vibe.d' which cannot be read
>
> But I need to get vibed build with OpenSSL support
I assume your code looks like this:
import vibe.vibe;
...
the module vibe.vibe that imports nearly all of vibe.d comes with the vibe-d root package (not :tls)
vibe-d:tls gives you vibe.stream.tls (and some other vibe.stream stuff) and depends on vibe-core which gives you vibe.core with networking, logging, fibers and some other stuff
If you want to make a http server you either need to depend on vibe-d:http or just depend on vibe-d as a whole (which then you get the vibe.vibe module)
|
Copyright © 1999-2021 by the D Language Foundation