How to use libmir --> mir-algorithm, numir, mir-random?

Shaleen Chhabra chhabrashaleen at gmail.com
Wed Sep 9 15:30:33 UTC 2020


On Wednesday, 9 September 2020 at 11:43:16 UTC, Fynn Schröder 
wrote:
> On Wednesday, 9 September 2020 at 11:36:56 UTC, Shaleen Chhabra 
> wrote:
>> but i am unable to configure the libraries, have dmd v2.076.1 
>> installed on my PC.
>
> DMD v2.076 is ancient (almost 2 years old!). Current is DMD 
> 2.093.1. I can only recommend to download and install an 
> up-to-date version of DMD or LDC. This should solve your issues 
> with using the mir libraries (and others). Then, try to get a 
> simple example from numir working with your installation.

Hi, I updated my dmd version to dmd-2.093.1
Now it throws a conflict error between

1. function mir.ndslice.topology.iota!(long, 1LU).iota at 
mir/ndslice/topology.d(630) conflicts with function 
std.range.iota!int.iota at 
/home/shaleen/.dvm/compilers/dmd-2.093.1/linux/bin/../../src/phobos/std/range/package.d

2. template mir.ndslice.topology.map(fun...) if (fun.length) at 
mir/ndslice/topology.d(2565) conflicts with template 
std.algorithm.iteration.map(fun...) if (fun.length >= 1) at 
/home/shaleen/.dvm/compilers/dmd-2.093.1/linux/bin/../../src/phobos/std/algorithm/iteration.d(482)





More information about the Digitalmars-d-learn mailing list