On Friday, 14 October 2022 at 21:38:45 UTC, Yura wrote:
On Friday, 14 October 2022 at 18:37:00 UTC, Sergey wrote:
however, when I try to compile it (gdc el.d) it gives me the
following error message:
el.d:11:8: error: module ndslice is in file 'mir/ndslice.d'
which cannot be read
import mir.ndslice;
^
import path[0] = /usr/lib/gcc/x86_64-linux-gnu/8/include/d
What am I doing wrong? Should I specify the library upon
compilation?
I am sorry, I am feeling I am asking too basic question.
Thank you!
Did you try to use 'dub build'?
You should run it in the same folder where dub.sdl is located.
Also maybe you will have to specify compiler in dub:
```
dub build --compiler=gdc
```
Some details about DUB you could find here https://dub.pm/