Getting started with vibe.d

Craig Dillabaugh via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jun 3 10:59:56 PDT 2014


On Tuesday, 3 June 2014 at 17:41:27 UTC, Chris Saunders wrote:
> Thanks, I somehow missed the vibe.d forums...
>
> I'd need an ldc solution in the end, but trying dmd is a good 
> idea. The result is some kind of link error to libevent?:
>
> """
>  dub build
> vibe-d: ["vibe-d", "libevent", "openssl"]
> test: ["test", "vibe-d", "libevent", "openssl"]
> Target is up to date. Using existing build in 
> /home/csaunders/.dub/packages/vibe-d-0.7.19/.dub/build/libevent-debug-linux.posix-x86_64-dmd-AB0707232CA963B5DA23C2232BBED51B/. 
> Use --force to force a rebuild.
> Building test configuration "application", build type debug.
> Compiling...
> Linking...
> .dub/build/application-debug-linux.posix-x86_64-dmd-6EEB0831D66A347BFD0076DC383B442F/test.o:(.data._D162TypeInfo_S3std8typecons130__T5TupleTS3std9container54__T5ArrayTS4vibe4core7drivers9libevent212TimeoutEntryZ5ArrayVAyaa6_5f73746f7265TmVAyaa7_5f6c656e677468Z5Tuple6__initZ+0x60): 
> undefined reference to 
> `_D3std8typecons130__T5TupleTS3std9container54__T5ArrayTS4vibe4core7drivers9libevent212TimeoutEntryZ5ArrayVAyaa6_5f73746f7265TmVAyaa7_5f6c656e677468Z5Tuple15__fieldPostBlitMFZv'
> collect2: error: ld returned 1 exit status
> --- errorlevel 1
> FAIL 
> .dub/build/application-debug-linux.posix-x86_64-dmd-6EEB0831D66A347BFD0076DC383B442F 
> test executable
> Error executing command build: Link command failed with exit 
> code 1
> """

Just a guess, but do you have the dev libraries for libevent 
installed?




More information about the Digitalmars-d-learn mailing list