On Tue, 03 Jun 2014 19:03:20 GMT, Chris Saunders wrote:
Hello,
I'm trying to get started with vibe.d using the ldc compiler but having some trouble -- this post is copied over from d.learn:
I'm on Ubuntu 14.04/x86_64, using the latest stable dub (0.9.21).
DUB 0.9.21 still has quite limited support for GDC/LDC and in particular doesn't support building static libraries. There are currently two ways to work around this:
Use either the
--combined
, or the--rdmd
switch when invoking DUB. This will cause the application and vibe.d to be built in one step instead of building vibe.d as a static library.Or get the latest GIT master version of DUB, which includes support for building static libraries. There will also be a new beta version of DUB 0.9.22 in the coming days, but the existing beta 1 also doesn't include the support, yet.