www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Mir library dependency cycle

reply Kirill <kirill.saidov mail.com> writes:
I created a new project with dub, added mir library and then 
tried to compile and run an example. But dub refuses:
```
Detected dependency cycle: mir->mir
```

How can I bypass this?
Aug 12 2021
parent reply 9il <ilyayaroshenko gmail.com> writes:
On Thursday, 12 August 2021 at 10:14:50 UTC, Kirill wrote:
 I created a new project with dub, added mir library and then 
 tried to compile and run an example. But dub refuses:
 ```
 Detected dependency cycle: mir->mir
 ```

 How can I bypass this?
Looks like a dub bug. Are you sure you need exactly mir package? Any reason not to use mir-algorithm?
Aug 12 2021
parent Kirill <kirill.saidov mail.com> writes:
On Thursday, 12 August 2021 at 10:32:58 UTC, 9il wrote:
 On Thursday, 12 August 2021 at 10:14:50 UTC, Kirill wrote:
 I created a new project with dub, added mir library and then 
 tried to compile and run an example. But dub refuses:
 ```
 Detected dependency cycle: mir->mir
 ```

 How can I bypass this?
Looks like a dub bug. Are you sure you need exactly mir package? Any reason not to use mir-algorithm?
Thanks, I tried to fetch individual package I need. It worked.
Aug 12 2021