I did a ¡°dub upgrade¡± and it worked. Thank you for your help!

From: ¬®¬Ú¬ç¬Ñ¬Ú¬Ý ¬³¬ä¬â¬Ñ¬ê¬å¬ß <public@dicebot.lv>
Date: Monday 27 October 2014 21:26
To: Cristian Bidea <cristi@king.com>, Discuss the dmd beta releases for D <dmd-beta@puremagic.com>
Subject: Re: [dmd-beta] Problem compiling vibe.d with the latest dmd

Please try vibe.d version "0.7.21-rc.4" (http://code.dlang.org/packages/vibe-d[code.dlang.org])
0.7.20 is rather old and, unfortunately, vibe.d author did not have time to make necessary non-trivial changes to adjust it to more recent DMD release

On Mon, Oct 27, 2014 at 10:53 AM, Cristian Bidea via dmd-beta <dmd-beta@puremagic.com> wrote:
Hi

I©öm trying to use vibe.d with the latest dmd but it fails to compile.

$ dub
Building vibe-d 0.7.20 configuration "libevent", build type debug.
Running dmd...
../../.dub/packages/openssl-master/deimos/openssl/ossl_typ.d(209): Error:
undefined identifier ssl_ctx_st
../../.dub/packages/openssl-master/deimos/openssl/ssl.d(435): Error:
ExternC!(extern (C) c_long function(SSL_CTX* ctx, int cmd, c_long larg,
void* parg)) had previous errors
../../.dub/packages/openssl-master/deimos/openssl/ssl.d(447): Error:
ExternC!(extern (C) c_long function(SSL_CTX* s, int cb_id, ExternC!(extern
(C) void function()) fp)) had previous errors
FAIL
../../.dub/packages/vibe-d-0.7.20/.dub/build/libevent-debug-posix.osx-x86_6
4-dmd_2067-1EF4C92940F058E654A032934ACB22B6/ vibe-d staticLibrary
Error executing command run: dmd failed with exit code 1.

$ dmd
DMD64 D Compiler v2.067.0-b1
Copyright (c) 1999-2014 by Digital Mars written by Walter Bright
Documentation: http://dlang.org/[dlang.org]

I©öve tried this with 2.066.1-rc2 and I get the same errors.

Do you know what©ös the latest version of dmd that works with vibe.d?

Cheers!
Cristi



_______________________________________________
dmd-beta mailing list
dmd-beta@puremagic.com
http://lists.puremagic.com/mailman/listinfo/dmd-beta[lists.puremagic.com]