Getting started with vibe.d

Craig Dillabaugh via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jun 3 09:53:24 PDT 2014


On Tuesday, 3 June 2014 at 16:16:10 UTC, Chris Saunders wrote:
> I've made my first attempt to use dub/vibe.d and I'm running 
> into some issues I can't find on the list.
>
> I'm on Ubuntu 14.04/x86_64, using the latest stable dub 
> (0.9.21). I can create a new dub project:
>
> “””
> $ dub init test vibe.d
> Successfully created an empty project in 
> '/home/csaunders/devel/csaunders/mongoSB/test'
> “””
>
> ...but then I'm having trouble building:
>
> “””
> $ cd test
> $ dub build --compiler=ldc2
> vibe-d: ["vibe-d", "libevent", "openssl"]
> test: ["test", "vibe-d", "libevent", "openssl"]
> Building vibe-d configuration "libevent", build type debug.
> FAIL 
> ../../../../.dub/packages/vibe-d-0.7.19/.dub/build/libevent-debug-linux.posix-x86_64-ldc2-0C180158569265198380A4CE65BB2C41 
> vibe-d staticLibrary
> Error executing command build: No LDC static libraries supported
> “””
>
> ...I've tried a few variations on this but haven't had any 
> luck. This is using the latest ldc:
>
> “””
> $ ldc2 --version
> LDC - the LLVM D compiler (0.12.1):
>   based on DMD v2.063.2 and LLVM 3.3.1
>   Default target: x86_64-unknown-linux-gnu
>   Host CPU: corei7
>   http://dlang.org - http://wiki.dlang.org/LDC
>
>   Registered Targets:
>     x86    - 32-bit X86: Pentium-Pro and above
>     x86-64 - 64-bit X86: EM64T and AMD64
> “””
>
> Any pointers?

Just curious, can you get it to work with DMD?

Also, you might consider posting on the Rejected Software forums 
(although this forum isn't a bad idea).

http://forum.rejectedsoftware.com/


More information about the Digitalmars-d-learn mailing list