Re: Can't build vibed:tls project

2019-01-30 Thread WebFreak001 via Digitalmars-d-learn

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)


Can't build vibed:tls project

2019-01-28 Thread Suliman via Digitalmars-d-learn

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