Can't build vibed:tls project

WebFreak001 d.forum at webfreak.org
Wed Jan 30 11:01:12 UTC 2019


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)


More information about the Digitalmars-d-learn mailing list