On Wed, 15 Jan 2014 14:59:05 GMT, Stephan Dilly wrote:

On Wed, 15 Jan 2014 14:09:58 GMT, Sönke Ludwig wrote:

There is a third, and hopefully last, beta version for DUB 0.9.21. It contains four major new features:

  • New per-package build system (builds individual packages as static libraries), use --combined to build everything at once (almost) like before

well compiling my project with the good ol' "dub build" fails horrably now, but the new --combined flag fixes it. the question is why does the new default fail.. ?

It is all linker errors like:

OPTLINK (R) for Win32  Release 8.00.13
Copyright (C) Digital Mars 1989-2010  All rights reserved.
 Error 42: Symbol Undefined __d_arrayliteralTX

Looks like a DMD quirk... what happens if you add "dflags": "phobos.lib" to the main package.json? I needed to do something similar for some generated VisualD projects.

also the command line starts with the same message printed twice:

Checking dependencies in 'PATH/TO/PROJECT'
Checking dependencies in 'PATH/TO/PROJECT'

Will fix.