www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Can't build vibed:tls project

reply Suliman <evermind live.ru> writes:
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
Jan 28
parent WebFreak001 <d.forum webfreak.org> writes:
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)
Jan 30