Dub Packages not working with lastest DMD

Jolly James via Digitalmars-d-ide digitalmars-d-ide at puremagic.com
Sat Jun 17 07:36:49 PDT 2017


On Wednesday, 10 May 2017 at 00:43:32 UTC, Basile B. wrote:
> On Sunday, 7 May 2017 at 05:40:35 UTC, Jeremy DeHaan wrote:
>> On Saturday, 18 February 2017 at 19:20:29 UTC, Jolly James 
>> wrote:
>>> [...]
>>
>> I recently upgraded my version of DMD to 2.074 and experienced 
>> this, and then found this thread.
>>
>> Just wanted to say that in experimental_allocator-2.70.0-b1's 
>> package.d, on lines 252&253, change the std.typecons import to 
>> be static or remove it. This got everything except dscanner 
>> building, but that appears to be for reasons other than the 
>> experimental allocator.
>
> Another solution: when you fetch dfmt/dscanner do
>
> "dub fetch <package name> version=~master"
> or replaces "~master" with the latest tag (for example 
> "0.5.0-beta.5").
>
> One problem with DUB is that it fetches the latest *stable* 
> release.

Found a new way to successfully setup everything automatically: 
If git is installed, code-d will use it instead of dub.


More information about the Digitalmars-d-ide mailing list