Am 16.01.2014 11:00, schrieb Stephan Dilly:

On Thu, 16 Jan 2014 08:30:20 GMT, Sönke Ludwig wrote:

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.

adding `"dflags": ["phobos.lib"]` does not change a thing ;(

If there is nothing obviously wrong with the DMD invocations, I'd
suspect a DMD issue. At least I had similar issues often in the past
when building my projects using VisualD - switching between single-file,
all-at-once and separate-compile-and-link modes fixed the issue most of
the time, but unfortunately I could never prepare a minimal test case.